powerpc: Enforce compiler barriers on hardware transactions
[glibc.git] / ChangeLog
blob515d173402b362629f19edaad0cca7806974896e
1 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5         barriers to their respective compiler built-ins.
6         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8         * sysdeps/powerpc/sysdep.h: Likewise.
9         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
15         * scripts/config.guess: Revert previous shebang change.
16         * scripts/config.sub: Likewise.
17         * scripts/mkinstalldirs: Likewise.
19 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22         PPC_FEATURE2_HAS_IEEE128.
23         * sysdeps/powerpc/dl-procinfo.c:
24         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
26 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
28         [BZ #19415]
29         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
30         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
31         (_dl_lookup_address): Rewrite using function resolver trampoline.
32         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
33         two bits in address.
35 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
37         * longlong.h: Change !__SHMEDIA__ to
38         (!defined (__SHMEDIA__) || !__SHMEDIA__).
39         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
41 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
42             Joseph Myers  <joseph@codesourcery.com>
43             Mark Shinwell  <shinwell@codesourcery.com>
44             Andrew Stubbs  <ams@codesourcery.com>
45             Rich Felker <dalias@libc.org>
47         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
49 2016-01-07  Richard Henderson  <rth@redhat.com>
51         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
53 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
55         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
56         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
57         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
61 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
62             Joseph Myers  <joseph@codesourcery.com>
64         * timezone/private.h: Update from tzcode 2015g.
65         * timezone/tzfile.h: Likewise.
66         * timezone/tzselect.ksh: Likewise.
67         * timezone/zdump.c: Likewise.
68         * timezone/zic.c: Likewise.
69         * timezone/ialloc.c: Remove file.
70         * timezone/scheck.c: Likewise.
71         * timezone/Makefile (extra-objs): Remove variable.
72         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
73         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
74         -Wno-maybe-uninitialized.
75         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
76         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
77         (CFLAGS-ialloc.c): Remove variable.
78         (CFLAGS-scheck.c): Likewise.
79         * timezone/README: Update list of files from tzcode.
81 2016-01-07  Khem Raj  <raj.khem@gmail.com>
83         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
84         instead of __fxprintf when _LIBC is undefined.
86 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
88         * catgets/test-gencat.sh: Remove space after shebang.
89         * conform/GlibcConform.pm: Likewise.
90         * conform/check-header-lists.sh: Likewise.
91         * conform/conformtest.pl: Likewise.
92         * conform/linknamespace.pl: Likewise.
93         * conform/list-header-symbols.pl: Likewise.
94         * debug/catchsegv.sh: Likewise.
95         * elf/genrtldtbl.awk: Likewise.
96         * elf/tst-pathopt.sh: Likewise.
97         * elf/tst-rtld-load-self.sh: Likewise.
98         * grp/tst_fgetgrent.sh: Likewise.
99         * iconvdata/gen-8bit-gap-1.sh: Likewise.
100         * iconvdata/gen-8bit-gap.sh: Likewise.
101         * iconvdata/gen-8bit.sh: Likewise.
102         * iconvdata/run-iconv-test.sh: Likewise.
103         * intl/tst-gettext.sh: Likewise.
104         * intl/tst-gettext2.sh: Likewise.
105         * intl/tst-gettext4.sh: Likewise.
106         * intl/tst-gettext6.sh: Likewise.
107         * intl/tst-translit.sh: Likewise.
108         * io/ftwtest-sh: Likewise.
109         * libio/test-freopen.sh: Likewise.
110         * locale/gen-translit.pl: Likewise.
111         * malloc/tst-mtrace.sh: Likewise.
112         * manual/check-safety.sh: Likewise.
113         * manual/libc-texinfo.sh: Likewise.
114         * manual/tsort.awk: Likewise.
115         * manual/xtract-typefun.awk: Likewise.
116         * nptl/tst-cancel-wrappers.sh: Likewise.
117         * nptl/tst-tls6.sh: Likewise.
118         * posix/globtest.sh: Likewise.
119         * posix/tst-getconf.sh: Likewise.
120         * posix/wordexp-tst.sh: Likewise.
121         * scripts/check-c++-types.sh: Likewise.
122         * scripts/check-local-headers.sh: Likewise.
123         * scripts/config.guess: Likewise.
124         * scripts/config.sub: Likewise.
125         * scripts/cpp: Likewise.
126         * scripts/cross-test-ssh.sh: Likewise.
127         * scripts/documented.sh: Likewise.
128         * scripts/evaluate-test.sh: Likewise.
129         * scripts/gen-libc-abis: Likewise.
130         * scripts/gen-sorted.awk: Likewise.
131         * scripts/list-fixed-bugs.py: Likewise.
132         * scripts/merge-test-results.sh: Likewise.
133         * scripts/mkinstalldirs: Likewise.
134         * scripts/rellns-sh: Likewise.
135         * scripts/test-installation.pl: Likewise.
136         * scripts/update-copyrights: Likewise.
137         * stdio-common/tst-printf.sh: Likewise.
138         * stdio-common/tst-unbputc.sh: Likewise.
139         * stdlib/tst-fmtmsg.sh: Likewise.
140         * stdlib/tst-setcontext3.sh: Likewise.
141         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
142         * sysdeps/unix/make-syscalls.sh: Likewise.
144 2016-01-06  John David Anglin  <dave.anglin@bell.net>
146         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
147         asm stw with atomic_exchange_rel.  Add explanatory comment.
148         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
149         Likewise.
151 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
153         [BZ #19122]
154         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
155         * sysdeps/generic/dl-unistd.h: New file.
156         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
158 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
160          [BZ #19122]
161          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
162          * sysdeps/generic/dl-mman.h: New file.
163          * sysdeps/mach/hurd/dl-mman.h: Likewise.
165 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
167         * manual/texinfo.tex: Update to version 2016-01-04.21 with
168         trailing whitespace removed.
169         * scripts/config.guess: Update to version 2016-01-01.
170         * scripts/config.sub: Update to version 2016-01-01.
171         * scripts/move-if-change: Update from gnulib.
173 2016-01-04  Anton Blanchard  <anton@samba.org>
175         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
176         for array indices.
177         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
179 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
181         * NEWS: Update copyright dates.
182         * catgets/gencat.c (print_version): Likewise.
183         * csu/version.c (banner): Likewise.
184         * debug/catchsegv.sh: Likewise.
185         * debug/pcprofiledump.c (print_version): Likewise.
186         * debug/xtrace.sh (do_version): Likewise.
187         * elf/ldconfig.c (print_version): Likewise.
188         * elf/ldd.bash.in: Likewise.
189         * elf/pldd.c (print_version): Likewise.
190         * elf/sotruss.sh: Likewise.
191         * elf/sprof.c (print_version): Likewise.
192         * iconv/iconv_prog.c (print_version): Likewise.
193         * iconv/iconvconfig.c (print_version): Likewise.
194         * locale/programs/locale.c (print_version): Likewise.
195         * locale/programs/localedef.c (print_version): Likewise.
196         * login/programs/pt_chown.c (print_version): Likewise.
197         * malloc/memusage.sh (do_version): Likewise.
198         * malloc/memusagestat.c (print_version): Likewise.
199         * malloc/mtrace.pl: Likewise.
200         * manual/libc.texinfo: Likewise.
201         * nptl/version.c (banner): Likewise.
202         * nscd/nscd.c (print_version): Likewise.
203         * nss/getent.c (print_version): Likewise.
204         * nss/makedb.c (print_version): Likewise.
205         * posix/getconf.c (main): Likewise.
206         * scripts/test-installation.pl: Likewise.
207         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
209         * All files with FSF copyright notices: Update copyright dates
210         using scripts/update-copyrights.
211         * intl/plural.c: Regenerated.
212         * locale/programs/charmap-kw.h: Likewise.
213         * locale/programs/locfile-kw.h: Likewise.
215 2016-01-02  Helge Deller  <deller@gmx.de>
217         [BZ #19285]
218         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
219         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
220         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
221         (MADV_xxK_PAGES): Remove.
223 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
225         [BZ #15421]
226         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
227         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
228         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
229         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
231 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
233         [BZ #19408]
234         * sysdeps/unix/sysv/linux/personality.c: New file.
235         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
236         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
237         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
238         (sysdep_routines): Add personality.
239         (tests): Add tst-personality.
240         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
242         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
243         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
244         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
245         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
246         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
247         Likewise.
248         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
249         Likewise.
250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
251         Likewise.
252         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
253         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
254         Likewise.
256 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
258         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
259         (PATH_ARM_SYSTYPE): Remove.
260         (PATH_CPUINFO): Likewise.
261         (IO_BASE_FOOTBRIDGE): Likewise.
262         (IO_SHIFT_FOOTBRIDGE): Likewise.
263         (struct platform): Likewise.
264         (init_iosys): Remove compatibility code for 2.4 kernels.
265         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
267 2015-12-29  Florian Weimer  <fweimer@redhat.com>
269         * malloc/tst-malloc-thread-fail.c: New file.
270         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
271         (tst-malloc-thread-fail): Link against libpthread.
273 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
275         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
276         (get_parser): New function.
277         (main): New function.
279 2015-12-29  Rob Wu  <rob@robwu.nl>
281         [BZ #19369]
282         * resolv/res_init.c (__res_vinit): Reset defdname before use.
284 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
286         [BZ #19270]
287         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
289 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
291         [BZ #15421]
292         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
294 2015-12-23  Torvald Riegel  <triegel@redhat.com>
296         [BZ #13690]
297         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
298         after releasing it.
299         (__lll_robust_unlock): Likewise.
300         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
301         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
302         (lll_robust_unlock): Likewise.
303         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
304         Prevent warnings in callers.
306 2015-12-23  Florian Weimer  <fweimer@redhat.com>
308         * malloc/arena.c (list_lock): Update comment.
310 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
312         * sysdeps/powerpc/hwcapinfo.c: Export symbol
313         __parse_hwcap_and_convert_at_platform to libc.a.
315 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
317         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
318         platform and feature support for POWER9.
319         * sysdeps/powerpc/dl-procinfo.h: Likewise.
320         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
321         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
322         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
323         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
324         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
325         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
326         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
328 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
330         Harmonize generic stdio-lock support with nptl
332         This fixes build when _IO_funlockfile is a macro, fixes build where
333         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
334         stack unwind.
336         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
337         _IO_release_lock ): Use cleanup attribute on new
338         _IO_acquire_lock_file variable instead of assuming that
339         _IO_release_lock will be called.
340         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
341         _IO_acquire_lock_needs_exceptions_enabled.
342         (_IO_acquire_lock_clear_flags2): New macro.
344 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
346         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
348 2015-12-21  Florian Weimer  <fweimer@redhat.com>
350         [BZ #19182]
351         * malloc/arena.c (list_lock): Document lock ordering requirements.
352         (free_list_lock): New lock.
353         (ptmalloc_lock_all): Comment on free_list_lock.
354         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
355         (detach_arena): Update comment.  free_list_lock is now needed.
356         (_int_new_arena): Use free_list_lock around detach_arena call.
357         Acquire arena lock after list_lock.  Add comment, including FIXME
358         about incorrect synchronization.
359         (get_free_list): Switch to free_list_lock.
360         (reused_arena): Acquire free_list_lock around detach_arena call
361         and attached threads counter update.  Add two FIXMEs about
362         incorrect synchronization.
363         (arena_thread_freeres): Switch to free_list_lock.
364         * malloc/malloc.c (struct malloc_state): Update comments to
365         mention free_list_lock.
367 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
369         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
370         Remove functions.
371         (sloww, sloww1): Accept argument to offset quadrant.
372         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
373         quadrant.
374         (__sin, __cos): Consolidate common code into new functions.
375         (reduce_sincos_1, do_sincos_1): New functions.
376         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
379         code to new functions.
380         (reduce_sincos_2, do_sincos_2): New functions.
381         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
384         common code for sincos.
385         (__cos) [!IN_SINCOS]: Likewise.
386         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
387         New function.
388         (__sincos): Use it.
390 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
392         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
393         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
394         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
396 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
398         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
401         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
403         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
404         index_Prefer_No_VZEROUPPER): New feature.
405         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
406         Prefer_No_VZEROUPPER for Knights Landing.
408 015-12-18  Torvald Riegel  <triegel@redhat.com>
410         * math/atest-exp2.c (mp_exp_m1): Remove.
412 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
414         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
415         syscalls.
416         (__SYSCALL0): New macro.
417         (__SYSCALL1): Likewise.
418         (__SYSCALL2): Likewise.
419         (__SYSCALL3): Likewise.
420         (__SYSCALL4): Likewise.
421         (__SYSCALL5): Likewise.
422         (__SYSCALL6): Likewise.
423         (__SYSCALL_CONCAT_X): Likewise.
424         (__SYSCALL_CONCAT): Likewise.
425         (__SYSCALL_DIST): Likewise.
426         (__SYSCALL_CALL): Likewise.
428 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
430         [BZ #19363]
431         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
433 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
435         [BZ #19375]
436         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
437         negative subnormals.
439 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
442         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
443         (INTERNAL_SYSCALL_NCS): Use it.
444         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
446 2015-12-16  Florian Weimer  <fweimer@redhat.com>
448         [BZ #19243]
449         * malloc/arena.c (get_free_list): Remove assert and adjust
450         reference count handling.  Add comment about reused_arena
451         interaction.
452         (reused_arena): Add comments abount get_free_list interaction.
453         * malloc/tst-malloc-thread-exit.c: New file.
454         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
455         (tst-malloc-thread-exit): Link against libpthread.
457 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
459         [BZ #19367]
460         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
461         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
462         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
463         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
464         (index_Prefer_MAP_32BIT_EXEC): Likewise.
466 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
468         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
469         Silvermont optimizations for Knights Landing.
471 2015-12-15  Andreas Schwab  <schwab@suse.de>
473         [BZ #17197]
474         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
475         immediately after emitting SI.
476         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
477         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
478         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
479         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
480         * iconvdata/bug-iconv10.c: New file.
481         * iconvdata/Makefile (tests): Add bug-iconv10.
482         ($(objpfx)bug-iconv10.out): New rule.
484 2015-12-15  Florian Weimer  <fweimer@redhat.com>
486         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
487         aliasing violation.
489 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
491         [BZ #18472]
492         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
493         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
494         conditionals for them.
495         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
496         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
498         sys/kdaemon.h.
499         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
500         compat-only syscall, obsoleted in glibc 2.23.
501         (create_module): Likewise.
502         (get_kernel_syms): Likewise.
503         (query_module): Likewise.
504         (uselib): Likewise.
505         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
507 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
509         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
510         <linux/version.h>.
511         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
512         conditional code.
513         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
514         and ioshift_name initialization.
516 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
519         Fix indentation.
521 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
523         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
525 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
527         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
529 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
530             Jakub Wilk  <jwilk@debian.org>
532         [BZ #19347]
533         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
534         to change the group of the device to the tty group.
536 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
538         Split large string section; add truncation advice
539         * manual/examples/strncat.c: Remove.
540         This example was misleading, as the code would have undefined
541         behavior if "hello" was longer than SIZE.  Anyway, the manual
542         shouldn't encourage strncpy+strncat for this sort of thing.
543         * manual/string.texi (Copying Strings and Arrays): Split into
544         three sections Copying Strings and Arrays, Concatenating Strings,
545         and Truncating Strings, as this section was way too long.  All
546         cross-referenced changed.  Add advice about string-truncation
547         functions.  Remove misleading strncat example.
549 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
551         * manual/nss.texi (NSS Modules Interface): Document
552         NSS_STATUS_NOTFOUND and SUCCESS.
554 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
556         [BZ 18568]
557         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
558         201505L, for Unicode 8.
560 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
562         * locale/C-translit.h: Regenerate.
564 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
566         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
567         and U+0153.
569 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
571         [BZ #19351]
572         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
573         expanding log(1+z), compare z rather than its square with epsilon
574         to determine when to avoid evaluating the expansion.
576         [BZ #19350]
577         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
578         Increase overflow threshold.
580         [BZ #19349]
581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
582         when small.
584         * sysdeps/unix/sysv/linux/i386/kernel-features.h
585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
586         New macro.
587         [__LINUX_KERNEL_VERSION >= 0x040300]
588         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
590         Likewise.
591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
592         Likewise.
593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
594         Likewise.
595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
596         Likewise.
597         [__LINUX_KERNEL_VERSION >= 0x040300]
598         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
599         [__LINUX_KERNEL_VERSION >= 0x040300]
600         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
601         [__LINUX_KERNEL_VERSION >= 0x040300]
602         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
603         [__LINUX_KERNEL_VERSION >= 0x040300]
604         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
605         [__LINUX_KERNEL_VERSION >= 0x040300]
606         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
608         Likewise.
609         [__LINUX_KERNEL_VERSION >= 0x040300]
610         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
612         Likewise.
613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
614         Likewise.
615         [__LINUX_KERNEL_VERSION >= 0x040300]
616         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
618         Likewise.
619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
620         Likewise.
621         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
622         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
623         Likewise.
624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
625         Likewise.
626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
627         Likewise.
628         [__LINUX_KERNEL_VERSION >= 0x040300]
629         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
631         Likewise.
632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
633         Likewise.
634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
635         Likewise.
636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
637         Likewise.
638         [__LINUX_KERNEL_VERSION >= 0x040300]
639         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
640         [__LINUX_KERNEL_VERSION >= 0x040300]
641         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
642         [__LINUX_KERNEL_VERSION >= 0x040300]
643         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
644         [__LINUX_KERNEL_VERSION >= 0x040300]
645         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
646         [__LINUX_KERNEL_VERSION >= 0x040300]
647         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
649         Likewise.
650         [__LINUX_KERNEL_VERSION >= 0x040300]
651         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
652         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
653         Likewise.
654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
655         Likewise.
656         [__LINUX_KERNEL_VERSION >= 0x040300]
657         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
659         Likewise.
660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
661         Likewise.
662         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
663         (__ASSUME_SOCKET_SYSCALL): Likewise.
664         (__ASSUME_BIND_SYSCALL): Likewise.
665         (__ASSUME_CONNECT_SYSCALL): Likewise.
666         (__ASSUME_LISTEN_SYSCALL): Likewise.
667         (__ASSUME_ACCEPT_SYSCALL): Likewise.
668         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
669         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
670         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
671         (__ASSUME_SEND_SYSCALL): Likewise.
672         (__ASSUME_SENDTO_SYSCALL): Likewise.
673         (__ASSUME_RECV_SYSCALL): Likewise.
674         (__ASSUME_RECVFROM_SYSCALL): Likewise.
675         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
676         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
677         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
678         (__ASSUME_SENDMSG_SYSCALL): Likewise.
679         (__ASSUME_RECVMSG_SYSCALL): Likewise.
680         * sysdeps/unix/sysv/linux/sh/kernel-features.h
681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
682         Likewise.
683         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
684         Likewise.
685         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
686         Likewise.
687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
688         Likewise.
689         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
690         Likewise.
691         [__LINUX_KERNEL_VERSION >= 0x020625]
692         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
693         [__LINUX_KERNEL_VERSION >= 0x020625]
694         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
695         [__LINUX_KERNEL_VERSION >= 0x020625]
696         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
697         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
698         Likewise.
699         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
700         Likewise.
701         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
702         Likewise.
703         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
704         Likewise.
705         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
706         Likewise.
707         [__LINUX_KERNEL_VERSION >= 0x020625]
708         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
709         [__LINUX_KERNEL_VERSION >= 0x020625]
710         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
711         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
712         Likewise.
713         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
714         Likewise.
716 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
718         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
719         record the current if the current ABI and CPU support the FP64
720         extension.
721         (has-modd-spreg): Define to record the current if the current ABI and
722         CPU support 32-bit floating point values in odd FPU registers.
723         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
724         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
725         $(has-modd-spreg) equals yes.
726         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
727         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
728         $(has-modd-spreg) equal yes.
730 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
732         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
733         basename.
735 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
737         * benchtests/Makefile (bench-math): Move ffs and ffsll...
738         (bench-string): ... here.
739         (bench): Add bench-string.
740         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
741         to *-benchset to reflect what they are.
742         (benchset): Adjust.
744         * benchtests/sincos-inputs: Add inputs from sin-inputs and
745         cos-inputs.
747 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
749         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
750         __attribute__ ((__simd__)) for vector math function declarations.
752 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
754         Fix typo in strncat, wcsncat manual entries
755         * manual/string.texi (Copying and Concatenation): Fix typos in
756         sample implementations of strncat and wcsncat, by having them use
757         the old value of the destination length, not the new one.
759 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
761         [BZ #16961]
762         [BZ #16962]
763         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
764         string on the stack for strtod.
765         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
766         a string on the stack for strtof.
767         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
768         constructing a string on the stack for strtold.
769         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
770         __strtold_nan to GLIBC_PRIVATE.
771         * math/test-nan-overflow.c: New file.
772         * math/test-nan-payload.c: Likewise.
773         * math/Makefile (tests): Add test-nan-overflow and
774         test-nan-payload.
776 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
778         Consistency about byte vs character in string.texi
779         * manual/string.texi (String and Array Utilities):
780         Distinguish more carefully among bytes, multibyte characters,
781         and wide characters.  Use "byte" when talking about C 'char',
782         to distinguish it more clearly from multibyte characters.
783         Say "wide character" or "multibyte character" instead of
784         "character", when a wide or multibyte character is intended.
785         Similarly for "multibyte string" versus "string".
786         Define these terms more carefully.
788 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
790         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
791         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
792         Likewise.
793         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
794         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
795         * sysdeps/sh/math_private.h: New file.
796         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
797         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
798         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
799         long double function name.
800         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
801         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
804         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
806         Remove __finitel, __isinfl, and __isnanl.
807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
808         Likewise.
809         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
811         Remove __finitel.
812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
813         Likewise.
814         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
816 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
818         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
819         installed libmvec_nonshared.a.
821 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
823         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
824         (sysdep_routines): Likewise.
825         (sysdep-rtld-routines): Likewise.
826         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
827         [$(subdir) = nptl](tests-static): test-get_hwcap-static
828         * sysdeps/powerpc/Versions: Added new
829         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
830         * sysdeps/powerpc/hwcapinfo.c: New file.
831         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
832         and parse hwcap, hwcap2 and platform number information.
833         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
834         to store HWCAP+HWCAP2 and platform number.
835         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
836         for HWCAP+HWCAP2 and platform number in the TCB.
837         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
838         the HWCAP, HWCAP2 and platform number in the TCB.
839         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
840         (TLS_INIT_TP): Included calls to add the hwcap and
841         at_platform values in the TCB in TP initialization.
842         (TLS_DEFINE_INIT_TP): Likewise.
843         (THREAD_GET_HWCAP): New macro.
844         (THREAD_SET_HWCAP): Likewise.
845         (THREAD_GET_AT_PLATFORM): Likewise.
846         (THREAD_SET_AT_PLATFORM): Likewise.
847         * sysdeps/powerpc/powerpc32/dl-machine.h:
848         (dl_platform_init): New function that calls
849         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
850         powerpc32.
851         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
852         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
853         this functionality, static linking case.
854         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
855         linking case.
856         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
857         __parse_hwcap_and_convert_at_platform for the static linking case.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
859         Included the new __parse_hwcap_and_convert_at_platform symbol in the
860         ABI list for GLIBC 2.23.
861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
862         Likewise.
863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
864         Likewise.
866 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
868         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
869         * configure: Regenerate.
870         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
871         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
873 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
875         * iconvdata/ibm930.c: Add comment explaining encoding uses.
876         * iconvdata/ibm933.c: Likewise.
877         * iconvdata/ibm935.c: Likewise.
878         * iconvdata/ibm937.c: Likewise.
879         * iconvdata/ibm939.c: Likewise.
881 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
883         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
884         pthread_join.
885         * nptl/tst-cancel21.c (tf): Likewise.
887 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
889         [BZ #19313]
890         * bits/typesizes.h (__CPU_MASK_TYPE): New.
891         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
892         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
893         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
894         Likewise.
895         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
896         Likewise.
897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
898         Likewise.
899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
900         Likewise.
901         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
902         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
903         unsigned long int with __CPU_MASK_TYPE.
905 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
907         * sysdeps/aarch64/libm-test-ulps: Regenerated.
909 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
911         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
912         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
913         t512.x.
914         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
916 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
918         [BZ #19214]
919         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
920         argument to return extended model.  Update family and model
921         with extended family and model when family == 0x0f.
922         (init_cpu_features): Updated.
924 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
926         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
927         signed off_t, so 32bit bigger than 2GiB values are fine actually.
929         * sysdeps/mach/hurd/mmap64.c: New file.
931 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
933         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
934         rights for its main user thread in NEWTASK.
936 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
938         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
939         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
941 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
943         [BZ #14259]
944         * Makeconfig: Rename localedir to complocaledir.
945         Rename inst_localedir to inst_complocaledir.
946         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
947         * config.make.in: Use complocaledir and libc_cv_complocaledir.
948         * configure.ac: Use libc_cv_complocaledir.
949         * configure: Regenerate.
950         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
951         -DCOMPLOCALEDIR.
952         * locale/findlocale.c: Use COMPLOCALEDIR.
953         * locale/loadarchive.c: Likewise.
954         * locale/programs/locale.c: Likewise.
955         * locale/programs/localedef.c: Likewise.
956         * locale/programs/locarchive.c: Likewise.
957         * localedata/Makefile: Use inst_complocaledir.
958         * sysdeps/gnu/configure: Regenerate.
959         * sysdeps/hppa/configure: Regenerate.
960         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
961         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
963         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
964         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
965         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
966         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
968 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
970         [BZ #19058]
971         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
972         AS_NEEDED.
973         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
974         workaround.
975         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
976         libmvec-static-only-routines): Added new file.
977         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
979 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
981         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
982         of interrupted RPC instead of restoring it.
984         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
985         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
986         libc_hidden_def.
987         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
988         into initialized data instead of common. Define rtld_hidden_data_def.
989         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
990         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
991         libc_hidden_def.
992         (if_freenameindex): Add libc_hidden_weak.
993         (if_nameindex): Add libc_hidden_weak.
994         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
995         __open64.
996         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
997         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
998         * sysdeps/mach/nanosleep.c: Include <time.h>
999         (__nanosleep): Rename to __libc_nanosleep.
1000         (__nanosleep): Add weak_alias.
1001         (nanosleep): Update alias.
1003 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1005         * stdlib/strtod_nan.c: New file.
1006         * stdlib/strtod_nan_double.h: Likewise.
1007         * stdlib/strtod_nan_float.h: Likewise.
1008         * stdlib/strtod_nan_main.c: Likewise.
1009         * stdlib/strtod_nan_narrow.h: Likewise.
1010         * stdlib/strtod_nan_wide.h: Likewise.
1011         * stdlib/strtof_nan.c: Likewise.
1012         * stdlib/strtold_nan.c: Likewise.
1013         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1014         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1015         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1016         * wcsmbs/wcstod_nan.c: Likewise.
1017         * wcsmbs/wcstof_nan.c: Likewise.
1018         * wcsmbs/wcstold_nan.c: Likewise.
1019         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1020         strtold_nan.
1021         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1022         wcstof_nan.
1023         * include/stdlib.h (__strtof_nan): Declare and use
1024         libc_hidden_proto.
1025         (__strtod_nan): Likewise.
1026         (__strtold_nan): Likewise.
1027         (__wcstof_nan): Likewise.
1028         (__wcstod_nan): Likewise.
1029         (__wcstold_nan): Likewise.
1030         * include/wchar.h (____wcstoull_l_internal): Declare.
1031         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1032         (____strtoull_l_internal): Remove declaration.
1033         (STRTOF_NAN): Define macro.
1034         (SET_MANTISSA): Remove macro.
1035         (STRTOULL): Likewise.
1036         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1037         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1038         (STRTOF_NAN): Define macro.
1039         (SET_MANTISSA): Remove macro.
1040         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1041         (SET_MANTISSA): Remove macro.
1042         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1043         macro.
1044         (SET_MANTISSA): Remove macro.
1045         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1046         macro.
1047         (SET_MANTISSA): Remove macro.
1048         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1049         (SET_MANTISSA): Remove macro.
1050         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1051         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1052         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1054         [BZ #19266]
1055         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1056         upper case and lower case letters inside NAN(), not using TOLOWER.
1057         * stdlib/tst-strtod-nan-locale-main.c: New file.
1058         * stdlib/tst-strtod-nan-locale.c: Likewise.
1059         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1060         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1061         Depend on $(gen-locales).
1062         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1063         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1064         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1065         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1066         Depend on $(gen-locales).
1067         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1069 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1071         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1073         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1075         __finitel, __isinfl, and __isnanl.
1076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1080         __finitel.
1081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1082         Likewise.
1083         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1085 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1087         * malloc/memusage.c (me): Remove redundant getenv call.
1089 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1091         [BZ #19143]
1092         [BZ #19164]
1093         * nptl/check-cpuset.h: Remove.
1094         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1095         Remove CPU set size check.
1096         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1097         Likewise.
1098         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1099         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1100         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1101         (__pthread_setaffinity_new): Remove CPU set size check.
1102         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1103         (__kernel_cpumask_size): Remove.
1104         (__sched_setaffinity_new): Remove CPU set size check.
1105         * manual/threads.texi (Default Thread Attributes): Remove stale
1106         reference to check_cpuset_attr, determine_cpumask_size in comment.
1107         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1108         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1109         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1110         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1111         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1112         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1113         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1114         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1115         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1116         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1117         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1118         skeleton test file.
1119         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1120         tst-affinity-pid.
1122 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1124         * scripts/update-abilist.sh: New file.
1125         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1126         * Makerules (update-all-abi-%, update-all-abi)
1127         (subdir_update-all-abi): New targets.
1128         * elf/Makefile (update-all-abi): New target.
1130 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1132         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1133         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1134         (__libc_lock_define_initialized): Use it.
1135         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1136         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1137         * malloc/malloc.c (main_arena): Likewise.
1138         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1139         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1141 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1143         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1144         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1145         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1146         (PTRACE_O_MASK): Update value.
1147         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1148         New value in enum __ptrace_setoptions.
1149         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1150         (PTRACE_O_MASK): Update value.
1151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1152         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1153         (PTRACE_O_MASK): Update value.
1154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1155         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1156         (PTRACE_O_MASK): Update value.
1157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1158         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1159         (PTRACE_O_MASK): Update value.
1160         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1161         New value in enum __ptrace_setoptions.
1162         (PTRACE_O_MASK): Update value.
1163         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1164         New value in enum __ptrace_setoptions.
1165         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1166         (PTRACE_O_MASK): Update value.
1168         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1169         New macro.
1170         (PACKET_AUXDATA): Likewise.
1171         (PACKET_ORIGDEV): Likewise.
1172         (PACKET_VERSION): Likewise.
1173         (PACKET_HDRLEN): Likewise.
1174         (PACKET_RESERVE): Likewise.
1175         (PACKET_TX_RING): Likewise.
1176         (PACKET_LOSS): Likewise.
1177         (PACKET_VNET_HDR): Likewise.
1178         (PACKET_TX_TIMESTAMP): Likewise.
1179         (PACKET_TIMESTAMP): Likewise.
1180         (PACKET_FANOUT): Likewise.
1181         (PACKET_TX_HAS_OFF): Likewise.
1182         (PACKET_QDISC_BYPASS): Likewise.
1183         (PACKET_ROLLOVER_STATS): Likewise.
1184         (PACKET_FANOUT_DATA): Likewise.
1185         (PACKET_MR_UNICAST): Likewise.
1187         [BZ #19242]
1188         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1189         (TOUPPER): Likewise.
1190         * stdlib/tst-strtol-locale-main.c: New file.
1191         * stdlib/tst-strtol-locale.c: Likewise.
1192         * stdlib/Makefile (tests): Add tst-strtol-locale.
1193         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1194         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1195         Depend on $(gen-locales).
1196         * wcsmbs/tst-wcstol-locale.c: New file.
1197         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1198         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1199         tr_TR.ISO-8859-9.
1200         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1201         Depend on $(gen-locales).
1203 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1205         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1206         __glibc_likely instead of __builtin_expect.  After falling back to
1207         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1208         system interface to register the code pages as occupied.
1210 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1212         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1213         [!ARM_MATH_PRIVATE_H].
1214         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1215         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1216         [!HPPA_MATH_PRIVATE_H].
1217         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1218         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1219         to [!I386_MATH_PRIVATE_H].
1220         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1221         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1222         Change guard to [!M68K_MATH_PRIVATE_H].
1223         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1224         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1225         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1226         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1227         macro.
1228         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1229         [!MIPS_MATH_PRIVATE_H].
1230         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1231         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1232         [!NIO2_MATH_PRIVATE_H].
1233         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1234         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1235         [!TILE_MATH_PRIVATE_H].
1236         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1238         [BZ #15421]
1239         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1240         initialize with 0 and define as weak alias of __signgam.
1241         * include/math.h [!_ISOMAC] (__signgam): Declare.
1242         * math/Makefile (libm-calls): Add w_lgamma_compat.
1243         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1244         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1245         test-signgam-ullong-init.
1246         (tests-static): Add test-signgam-uchar-static,
1247         test-signgam-uchar-init-static, test-signgam-uint-static,
1248         test-signgam-uint-init-static, test-signgam-ullong-static and
1249         test-signgam-ullong-init-static.
1250         (CFLAGS-test-signgam-uchar.c): New variable.
1251         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1252         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1253         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1254         (CFLAGS-test-signgam-uint.c): Likewise.
1255         (CFLAGS-test-signgam-uint-init.c): Likewise.
1256         (CFLAGS-test-signgam-uint-static.c): Likewise.
1257         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1258         (CFLAGS-test-signgam-ullong.c): Likewise.
1259         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1260         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1261         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1262         * math/Versions (libm): Add GLIBC_2.23.
1263         * math/lgamma-compat.h: New file.
1264         * math/test-signgam-main.c: Likewise.
1265         * math/test-signgam-uchar-init-static.c: Likewise.
1266         * math/test-signgam-uchar-init.c: Likewise.
1267         * math/test-signgam-uchar-static.c: Likewise.
1268         * math/test-signgam-uchar.c: Likewise.
1269         * math/test-signgam-uint-init-static.c: Likewise.
1270         * math/test-signgam-uint-init.c: Likewise.
1271         * math/test-signgam-uint-static.c: Likewise.
1272         * math/test-signgam-uint.c: Likewise.
1273         * math/test-signgam-ullong-init-static.c: Likewise.
1274         * math/test-signgam-ullong-init.c: Likewise.
1275         * math/test-signgam-ullong-static.c: Likewise.
1276         * math/test-signgam-ullong.c: Likewise.
1277         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1278         wrapper of w_lgamma_main.c.
1279         * math/w_lgamma_compat.c: New file.
1280         * math/w_lgamma_compatf.c: Likewise.
1281         * math/w_lgamma_compatl.c: Likewise.
1282         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1283         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1284         defining compatibility symbols.
1285         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1286         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1287         wrapper of w_lgammaf_main.c.
1288         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1289         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1290         defining compatibility symbols.
1291         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1292         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1293         wrapper of w_lgammal_main.c.
1294         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1295         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1296         defining compatibility symbols.
1297         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1298         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1299         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1300         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1301         <lgamma-compat.h>.
1302         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1303         (__ieee754_gamma): Define as alias.
1304         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1305         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1306         <lgamma-compat.h>.
1307         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1308         (__ieee754_gammaf): Define as alias.
1309         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1310         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1311         <lgamma-compat.h>.
1312         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1313         (__ieee754_gammal): Define as alias.
1314         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1315         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1316         <math/w_lgamma_compat.c>.
1317         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1318         Define as alias of __lgamma_compat and use in defining lgammal.
1319         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1320         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1321         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1322         (USE_AS_COMPAT): New macro.
1323         (LGAMMA_OLD_VER): Undefine and redefine.
1324         (lgammal): Do not define here.
1325         (gammal): Only define here if [GAMMA_ALIAS].
1326         * conform/linknamespace.pl (@whitelist): Remove signgam.
1327         * sysdeps/nacl/libm.abilist: Update.
1328         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1341         Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1356         Likewise.
1357         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1361 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1363         [BZ #16364]
1364         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1365         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1367 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1369         * sysdeps/s390/fpu/bits/mathinline.h:
1370         Use __asm__ [__volatile__] instead of asm [volatile].
1371         * sysdeps/s390/abort-instr.h: Likewise.
1372         * sysdeps/s390/atomic-machine.h: Likewise.
1373         * sysdeps/s390/bits/string.h: Likewise.
1374         * sysdeps/s390/dl-tls.h: Likewise.
1375         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1376         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1377         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1378         * sysdeps/s390/fpu/fesetround.c: Likewise.
1379         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1380         * sysdeps/s390/fpu/s_fma.c: Likewise.
1381         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1382         * sysdeps/s390/memusage.h: Likewise.
1383         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1384         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1385         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1386         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1387         * sysdeps/s390/nptl/tls.h: Likewise.
1388         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1389         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1390         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1391         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1392         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1393         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1394         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1395         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1396         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1397         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1398         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1399         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1400         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1401         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1402         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1403         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1404         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1405         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1406         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1408         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1410         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1412 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1413             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1415         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1416         Add lwarx hint, and use macro for acquire instruction.
1417         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1418         Likewise.
1419         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1420         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1421         update to use new atomic macros.
1423 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1425         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1426         (__lll_trylock_elision): Fix setting of adapt_count.
1427         * sysdeps/unix/sysv/linux/powerpc/htm.h
1428         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1429         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1430         (_ABORT_SYSCALL): Renumber, and clarify definition.
1431         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1433 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1435         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1436         after system headers to prevent MIN/MAX redefinition.  Define
1437         HAVE_ALLOCA to preserve builtin alloca usage.
1439 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1442         static and don't set or restore rounding.
1443         (__cos)[IN_SINCOS]: Likewise.
1444         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1445         (__sincos): Set and restore rounding mode.  Remove check for infinite
1446         or NaN input.
1448         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1450         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1451         as used.
1453 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1455         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1457 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1459         * config.make.in (have-glob-dat-reloc): New.
1460         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1461         target supports GLOB_DAT relocaton. AC_SUBST.
1462         * configure: Regenerated.
1463         * elf/Makefile (tests): Add tst-prelink.
1464         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1465         (tst-prelink-ENV): New.
1466         ($(objpfx)tst-prelink-conflict.out): Likewise.
1467         ($(objpfx)tst-prelink-cmp.out): Likewise.
1468         * sysdeps/x86/tst-prelink.c: Moved to ...
1469         * elf/tst-prelink.c: Here.
1470         * sysdeps/x86/tst-prelink.exp: Moved to ...
1471         * elf/tst-prelink.exp: Here.
1472         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1473         (tst-prelink-ENV): Removed.
1474         ($(objpfx)tst-prelink-conflict.out): Likewise.
1475         ($(objpfx)tst-prelink-cmp.out): Likewise.
1476         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1478 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1480         [BZ #14551]
1481         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1482         (__mpn_construct_long_double): If high part overflows to infinity,
1483         set errno and recompute overflowed result of the correct sign.
1484         * sysdeps/ieee754/ldbl-128ibm/Makefile
1485         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1486         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1487         $(libm).
1488         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1490 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1492         [BZ #15479]
1493         [BZ #19238]
1494         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1495         floating-point state after first operation on input.  Restore full
1496         state rather than just rounding mode.
1497         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1498         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1499         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1501         [BZ #19235]
1502         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1503         add 0.5 to integer arguments.
1504         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1505         Likewise.
1506         (.LC2): New object.
1508 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1510         * scripts/pylintrc (reports): Set to no.
1512 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1514         * elf/dl-load.c (open_verify): Take new argument FD.
1515         Skip __open call if passed FD is not -1.
1516         (_dl_map_object, open_path): Update callers.
1517         * elf/dl-sysdep-open.h: New file.
1518         * elf/dl-load.c: Include it.
1519         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1520         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1521         * sysdeps/nacl/dl-sysdep-open.h: New file.
1522         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1523         from libc to rtld.
1525 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1527         [BZ #19228]
1528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1529         and restore full floating-point state.
1530         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1531         Likewise.
1532         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1533         Likewise.
1534         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1535         Likewise.
1536         * math/test-nearbyint-except-2.c: New file.
1537         * math/Makefile (tests): Add test-nearbyint-except-2.
1539 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1541         [BZ #19178]
1542         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1543         (tst-prelink-ENV): New.
1544         ($(objpfx)tst-prelink-conflict.out): Likewise.
1545         ($(objpfx)tst-prelink-cmp.out): Likewise.
1546         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1547         * sysdeps/x86/tst-prelink.c: New file.
1548         * sysdeps/x86/tst-prelink.exp: Likewise.
1550 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1552         * math/auto-libm-test-in: Add another test of pow.
1553         * math/auto-libm-test-out: Regenerated.
1554         * math/libm-test.inc (pow_test_data): Add another test.
1556 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1558         [BZ #19219]
1559         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1560         weak_alias to nearbyintl.
1562 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1564         * sysdeps/aarch64/bits/string.h: New file.
1565         (_STRING_ARCH_unaligned): Define.
1567 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1569         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1570         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1571         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1572         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1575 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1577         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1578         for original name of the DSO.  Add it to the name list of the DSO
1579         if it is actually given.
1580         (_dl_map_object): Keep track of whether an audit module rewrote
1581         the file name.  If yes, pass the original name to
1582         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1583         debugging is enabled, log the change of the file name.
1584         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1585         _dl_map_object_from_fd.
1586         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1587         * elf/tst-audit11.c: New file
1588         * elf/tst-auditmod11.c: New file.
1589         * elf/tst-audit11mod1.c: New file.
1590         * elf/tst-audit11mod2.c: New file.
1591         * elf/tst-audit11mod2.map: New file.
1592         * elf/tst-audit12.c: New file
1593         * elf/tst-auditmod12.c: New file.
1594         * elf/tst-audit12mod1.c: New file.
1595         * elf/tst-audit12mod2.c: New file.
1596         * elf/tst-audit12mod2.map: New file.
1597         * elf/tst-audit12mod3.c: New file.
1599 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1601         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1602         Don't create weak aliases,
1603         because versioned symbols are created later.
1604         * sysdeps/s390/s390-32/setjmp.S
1605         (setjmp, _setjmp): Remove weak and rename to an unique name
1606         in SHARED case due to existing versioned symbols.
1607         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1608         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1609         (getcontext): Create weak alias only in non SHARED case.
1610         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1612 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1614         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1615         (__ASSUME_*_SYSCALL) Define new macros.
1616         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1617         Remove socketcall syscalls.
1618         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1619         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1620         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1621         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1622         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1623         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1625 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1627         [BZ #12926]
1628         Terminate process on invalid netlink response.
1629         * sysdeps/unix/sysv/linux/netlinkaccess.h
1630         (__netlink_assert_response): Declare.
1631         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1632         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1633         (sysdep_routines): Add netlink_assert_response.
1634         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1635         __netlink_assert_response.
1636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1637         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1638         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1639         __netlink_assert_response.
1641 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1643         [BZ #19178]
1644         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1645         (RTYPE_CLASS_PLT): Likewise.
1646         (RTYPE_CLASS_COPY): Likewise.
1647         (RTYPE_CLASS_TLS): Likewise.
1648         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1649         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1650         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1651         DL_DEBUG_PRELINK.
1653 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1655         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1656         calls with argument -0.5.
1657         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1659         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1660         (libc_cv_z_nodlopen): Likewise.
1661         (libc_cv_z_initfirst): Likewise.
1662         * configure: Regenerated.
1664 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1666         Simplify abilist format to be line-based.
1667         * scripts/abilist.awk: Collect descriptors in the descs variable.
1668         (emit): Write descs variable and sort it
1669         externally, with sort.
1670         * sysdeps/**/*.abilist: Convert to new format.
1672 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1674         [BZ #11460]
1675         * io/Makefile (routines): Add fts64.
1676         (tests): Add tst-fts and tst-fts-lfs.
1677         (CFLAGS-fts64.c): New.
1678         * io/Versions (GLIBC_2.23): New.
1679         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1680         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1681         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1682         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1683         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1684         (FTSENT64): Likewise.
1685         (fts64_children): Likewise.
1686         (fts64_close): Likewise.
1687         (fts64_open): Likewise.
1688         (fts64_read): Likewise.
1689         (fts64_set): Likewise.
1690         * io/fts64.c: New file.
1691         * io/tst-fts.c: New test.
1692         * io/tst-fts-lfs.c: Likewise.
1693         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1694         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1695         fts64_set.
1696         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1699         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1707         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1708         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1710         Likewise.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1716         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1717         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1718         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1722         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1723         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1724         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1725         * sysdeps/wordsize-64/fts.c: New file.
1726         * sysdeps/wordsize-64/fts64.c: Likewise.
1727         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1728         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1730         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1732 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1734         * math/libm-test.inc (NON_FINITE): New macro.
1735         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1736         * math/gen-libm-test.pl (show_exceptions): Add argument
1737         $non_finite.
1738         (parse_args): Update call to show_exceptions.
1739         * math/test-math-finite.h: New file.
1740         * math/test-math-no-finite.h: Likewise.
1741         * math/test-double-finite.c: Likewise.
1742         * math/test-float-finite.c: Likewise.
1743         * math/test-ldouble-finite.c: Likewise.
1744         * math/test-double.c: Include "test-math-no-finite.h".
1745         * math/test-float.c: Include "test-math-no-finite.h".
1746         * math/test-ldouble.c: Include "test-math-no-finite.h".
1747         * math/test-math-inline.h (TEST_FINITE): New macro.
1748         * math/test-math-vector.h (TEST_FINITE): Likewise.
1749         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1750         (libm-tests): Add test-float-finite and test-double-finite.
1751         ($(objpfx)test-float-finite.o): New dependency on
1752         $(objpfx)libm-test.stmp.
1753         ($(objpfx)test-double-finite.o): Likewise.
1754         ($(objpfx)test-ldouble-finite.o): Likewise.
1755         (libm-test-no-inline-cflags): New variable.
1756         (libm-test-finite-cflags): Likewise.
1757         (CFLAGS-test-float-finite.c): Likewise.
1758         (CFLAGS-test-double-finite.c): Likewise.
1759         (CFLAGS-test-ldouble-finite.c): Likewise.
1760         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1761         (CFLAGS-test-double.c): Likewise.
1762         (CFLAGS-test-ldouble.c): Likewise.
1764 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1766         * io/fcntl.c (__fcntl): Add ... to prototype.
1767         * misc/ioctl.c (__ioctl): Likewise.
1768         * misc/syscall.c (syscall): Likewise.
1770 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1772         * scripts/list-fixed-bugs.py: New file.
1774         [BZ #19213]
1775         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1776         returned for argument 1.
1777         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1778         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1779         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1780         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1781         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1782         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1784         [BZ #19211]
1785         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1786         __USE_XOPEN], not if [!__USE_ISOC99].
1787         (lgammaf): Likewise.
1788         (lgammal): Likewise.
1789         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1790         (gammaf): Likewise.
1791         (gammal): Likewise.
1792         * math/test-signgam-finite-c11.c: New file.
1793         * math/test-signgam-finite-c99.c: Likewise.
1794         * math/test-signgam-finite.c: Likewise.
1795         * math/Makefile (tests): Add test-signgam-finite,
1796         test-signgam-finite-c99 and test-signgam-finite-c11.
1797         (CFLAGS-test-signgam-finite.c): New variable.
1798         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1799         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1801         [BZ #19212]
1802         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1803         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1804         500].
1805         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1806         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1807         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1808         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1809         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1810         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1811         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1812         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1813         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1814         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1816         [BZ #19209]
1817         * math/bits/math-finite.h (ldexp): Remove declaration.
1818         (ldexpf): Likewise.
1819         (ldexpl): Likewise.
1821         [BZ #19205]
1822         * math/bits/math-finite.h (acosf): Condition declaration on
1823         [__USE_ISOC99].
1824         (acosl): Likewise.
1825         (acoshf): Likewise.
1826         (acoshl): Likewise.
1827         (asinf): Likewise.
1828         (asinl): Likewise.
1829         (atan2f): Likewise.
1830         (atan2l): Likewise.
1831         (atanhf): Likewise.
1832         (atanhl): Likewise.
1833         (coshf): Likewise.
1834         (coshl): Likewise.
1835         (expf): Likewise.
1836         (expl): Likewise.
1837         (fmodf): Likewise.
1838         (fmodl): Likewise.
1839         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1840         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1841         (j0l): Likewise.
1842         (y0f): Likewise.
1843         (y0l): Likewise.
1844         (j1f): Likewise.
1845         (j1l): Likewise.
1846         (y1f): Likewise.
1847         (y1l): Likewise.
1848         (jnf): Likewise.
1849         (jnl): Likewise.
1850         (ynf): Likewise.
1851         (ynl): Likewise.
1852         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1853         (lgammal_r): Likewise.
1854         (__lgamma_r_finite): New declaration.
1855         (__lgammaf_r_finite): Likewise.
1856         (__lgammal_r_finite): Likewise.
1857         (lgamma): Use __lgamma_r_finite.
1858         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1859         __lgammaf_r_finite.
1860         (lgammal): Condition definition on [__USE_ISOC99].  Use
1861         __lgammal_r_finite.
1862         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1863         __lgamma_r_finite.
1864         (gammaf): Condition definition on [__USE_ISOC99].  Use
1865         __lgammaf_r_finite.
1866         (gammal): Condition definition on [__USE_ISOC99].  Use
1867         __lgammal_r_finite.
1868         (logf): Condition declaration on [__USE_ISOC99].
1869         (logl): Likewise.
1870         (log10f): Likewise.
1871         (log10l): Likewise.
1872         (ldexpf): Likewise.
1873         (ldexpl): Likewise.
1874         (powf): Likewise.
1875         (powl): Likewise.
1876         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1877         __USE_ISOC99].
1878         (remainderf): Condition declaration on [__USE_ISOC99].
1879         (remainderl): Likewise.
1880         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1881         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1882         (scalbl): Likewise.
1883         (sinhf): Condition declaration on [__USE_ISOC99].
1884         (sinhl): Likewise.
1885         (sqrtf): Likewise.
1886         (sqrtl): Likewise.
1888 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1890         * sysdeps/arm/atomic-machine.h
1891         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1892         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1893         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1894         Remove conditional code.
1895         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1896         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1897         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1898         Change conditional to [__ASSEMBLER__].
1899         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1900         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1901         [!__ASSEMBLER__].
1902         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1903         code.
1904         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1905         conditional macro definitions.
1906         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1907         (__arch_compare_and_exchange_val_16_acq): Likewise.
1908         (__arch_compare_and_exchange_val_32_acq): Likewise.
1909         (atomic_exchange_and_add): Likewise.
1910         (atomic_add): Likewise.
1911         (atomic_add_negative): Likewise.
1912         (atomic_add_zero): Likewise.
1913         (atomic_bit_set): Likewise.
1914         (atomic_bit_test_set): Likewise.
1915         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1916         code unconditional.
1917         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1919         * math/test-math-errno.h: New file.
1920         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1921         empty.
1922         (TEST_ERRNO): New macro.
1923         (TEST_EXCEPTIONS): Likewise.
1924         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1925         (TEST_EXCEPTIONS): Likewise.
1926         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1927         * math/test-double.c: Include "test-math-errno.h".
1928         * math/test-float.c: Likewise.
1929         * math/test-ldouble.c: Likewise.
1930         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1931         code unconditional.
1932         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1933         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1934         unconditional.
1935         (test_errno): Only run code if TEST_ERRNO.
1936         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1938 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1940         * nptl/tst-once5.cc: Remove attribution.
1942 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1944         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1945         sqrt, tan, tanh, y0, y1 and yn.
1946         * math/auto-libm-test-out: Regenerated.
1947         * math/libm-test.inc (scalb_test_data): Add more tests.
1948         (scalbn_test_data): Likewise.
1949         (scalbln_test_data): Likewise.
1950         (signbit_test_data): Likewise.
1951         (sin_test_data): Likewise.
1952         (sincos_test_data): Likewise.
1953         (sinh_test_data): Likewise.
1954         (sqrt_test_data): Likewise.
1955         (tan_test_data): Likewise.
1956         (tanh_test_data): Likewise.
1957         (tgamma_test_data): Likewise.
1958         (y0_test_data): Likewise.
1959         (y1_test_data): Likewise.
1960         (yn_test_data): Likewise.
1961         (significand_test_data): Likewise.
1962         * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 2015-11-03  David Kastrup  <dak@gnu.org>
1966         [BZ #18604]
1967         * assert/assert.h (assert): Don't macro-expand failed assertion
1968         expression in error message.
1969         * malloc/malloc.c (assert): Likewise.
1971 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1973         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1974         test.
1975         * configure: Regenerated.
1977 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1979         * math/libm-test.inc (modf_test_data): Add more tests.
1980         (nearbyint_test_data): Likewise.
1981         (nextafter_test_data): Likewise.
1982         (nexttoward_test_data): Likewise.
1983         (pow_test_data): Likewise.
1984         (remainder_test_data): Likewise.
1985         (remquo_test_data): Likewise.
1986         (rint_test_data): Likewise.
1988         [BZ #19201]
1989         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1990         Check for zero remainder in case of large exponents and ensure
1991         correct sign of result in that case.
1992         * math/libm-test.inc (remainder_test_data): Add more tests.
1994         [BZ #6799]
1995         * math/s_nextafter.c: Include <errno.h>.
1996         (__nextafter): Set errno on overflow and underflow.
1997         * math/s_nexttowardf.c: Include <errno.h>.
1998         (__nexttowardf): Set errno on overflow and underflow.
1999         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2000         (__nextafterl): Set errno on overflow and underflow.
2001         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2002         (__nexttoward): Set errno on overflow and underflow.
2003         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2004         (__nexttowardf): Set errno on overflow and underflow.
2005         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2006         (__nextafterf): Set errno on overflow and underflow.
2007         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2008         (__nextafterl): Set errno on overflow and underflow.
2009         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2010         (__nexttoward): Set errno on overflow and underflow.
2011         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2012         (__nexttowardf): Set errno on overflow and underflow.
2013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2014         (__nextafterl): Set errno on overflow and underflow.
2015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2016         (__nexttoward): Set errno on overflow and underflow.
2017         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2018         (__nexttowardf): Set errno on overflow and underflow.
2019         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2020         (__nexttoward): Set errno on overflow and underflow.
2021         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2022         (__nexttowardf): Set errno on overflow and underflow.
2023         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2024         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2025         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2026         (__nextafterl): Set errno on overflow and underflow.
2027         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2028         setting to be missing on overflow.  Add more tests.
2029         (nexttoward_test_data): Likewise.
2031         * configure.ac (libc_cv_initfini_array): Remove configure test.
2032         * configure: Regenerated.
2034 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2036         [BZ #19189]
2037         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2038         non-finite argument handle arguments with negative sign.
2040         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2041         result from infinite argument.
2042         (j1_test_data): Likewise.
2043         (jn_test_data): Likewise.
2044         (y0_test_data): Likewise.
2045         (y1_test_data): Likewise.
2046         (yn_test_data): Likewise.
2048         [BZ #16171]
2049         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2050         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2051         * math/w_remainderf.c (dremf): Define as weak alias of
2052         __remainderf.
2053         * math/w_remainderl.c (dreml): Define as weak alias of
2054         __remainderl.
2055         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2056         __remainder.
2057         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2058         __remainderf.
2059         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2060         __remainderl.
2061         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2062         weak alias of remainderl.
2063         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2064         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2065         alias of __remainder.
2066         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2067         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2068         strong alias of __remainderl.
2069         (dreml): Use long_double_symbol.
2070         * math/Makefile (libm-calls): Remove w_drem.
2071         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2072         (CFLAGS-nldbl-drem.c): Remove variable.
2073         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2074         * math/w_drem.c: Remove file.
2075         * math/w_dremf.c: Likewise.
2076         * math/w_dreml.c: Likewise.
2077         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2078         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2079         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2081         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2082         * sysdeps/i386/configure: Regenerated.
2083         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2084         * sysdeps/x86_64/configure: Regenerated.
2086         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2087         test.
2088         (libc_cv_visibility_attribute): Likewise.
2089         (libc_cv_protected_data): Test unconditionally.
2090         (libc_cv_broken_visibility_attribute): Remove configure test.
2091         (libc_cv_have_sdata_section): Test unconditionally.
2092         * configure: Regenerated.
2094         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2095         * include/scratch_buffer.h: Include <stddef.h> instead of
2096         <libc-internal.h>.
2097         (struct scratch_buffer): Use max_align_t instead of
2098         libc_max_align_t.
2100 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2102         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2103         instead of extend_alloca.  Change control flow to avoid a goto.
2104         Remove assert which is trivially always true.
2106 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2108         [BZ #16068]
2109         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2110         (FE_ALL_EXCEPT_X86): New macro.
2111         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2112         FE_ALL_EXCEPT.  Ensure precision control is included in
2113         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2114         handle "denormal operand exception" and clear FZ and DAZ bits.
2115         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2116         (FE_ALL_EXCEPT_X86): New macro.
2117         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2118         FE_ALL_EXCEPT.  Ensure precision control is included in
2119         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2120         handle "denormal operand exception" and clear FZ and DAZ bits.
2121         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2122         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2123         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2124         test-fenv-x87 and test-fenv-sse-2.
2125         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2127         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2128         * math/test-double.h (BUILD_COMPLEX): New macro.
2129         * math/test-float.h (BUILD_COMPLEX): Likewise.
2130         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2132         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2133         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2134         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2136         instead of DBL_DENORM_MIN in comment.
2137         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2138         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2140         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2142         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2144 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2146         [BZ# 19048]
2147         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2148         attached_threads member.
2149         (main_arena): Initialize attached_threads.
2150         * malloc/arena.c (list_lock): Update comment.
2151         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2152         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2153         (deattach_arena): New function.
2154         (_int_new_arena): Initialize arena reference count and deattach
2155         replaced arena.
2156         (get_free_list, reused_arena): Update reference count and deattach
2157         replaced arena.
2158         (arena_thread_freeres): Update arena reference count and only put
2159         unreferenced arenas on the free list.
2161 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2163         [BZ #19181]
2164         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2165         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2166         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2167         * math/test-fenv-clear-main.c: New file.
2168         * math/test-fenv-clear.c: Likewise.
2169         * math/Makefile (tests): Add test-fenv-clear.
2170         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2171         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2172         test-fenv-clear-sse.
2173         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2175         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2176         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2177         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2179 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2181         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2182         static libc.
2184 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2186         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2187         test.
2188         * sysdeps/i386/configure: Regenerated.
2189         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2190         test.
2191         * sysdeps/x86_64/configure: Regenerated.
2192         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2194         memset-avx2 unconditionally instead of conditionally on
2195         [$(config-cflags-avx2) = yes].
2196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2197         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2198         unconditional.
2199         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2200         * sysdeps/x86_64/multiarch/memset_chk.S
2201         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2202         to [IS_IN (libc) && SHARED].
2204 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2206         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2207         configure test.
2208         * sysdeps/arm/configure: Regenerated.
2209         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2210         Define variable if not already defined.
2212         [BZ #17404]
2213         * sysdeps/mips/atomic-machine.h
2214         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2215         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2216         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2218         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2219         unconditional.
2220         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2221         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2222         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2223         unconditional.
2224         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2225         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2226         unconditional.
2227         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2228         * stdlib/setenv.c
2229         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2230         code unconditional.
2231         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2232         Remove conditional code.
2233         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2234         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2235         unconditional.
2236         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2237         code.
2238         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2239         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2240         unconditional.
2241         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2242         code.
2243         * sysdeps/ieee754/ldbl-128/k_tanl.c
2244         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2245         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2246         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2247         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2248         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2249         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2250         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2251         unconditional.
2252         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2253         code.
2254         * sysdeps/ieee754/ldbl-96/k_tanl.c
2255         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2256         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2258         * nptl/tst-initializers1-c11.c: New file.
2259         * nptl/tst-initializers1-gnu11.c: Likewise.
2260         * nptl/Makefile (tests): Add these new tests.
2261         (CFLAGS-tst-initializers1-c11.c): New variable.
2262         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2264         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2265         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2266         instead of -std=gnu99.
2267         * configure.ac (systemtap): Test with -std=gnu11 instead of
2268         -std=gnu99.
2269         * configure: Regenerated.
2270         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2271         in compilation command in comment.
2273         * sysdeps/nptl/configure.ac: Remove file.
2274         * sysdeps/nptl/configure: Remove generated file.
2275         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2276         * configure: Regenerated.
2277         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2278         * config.make.in (have-forced-unwind): Remove variable.
2279         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2280         unconditional.
2281         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2282         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2283         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2284         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2285         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2286         unconditional.
2288 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2290         [BZ #19174]
2291         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2292         .skip_lock_out_of_tbegin_retries.
2293         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2294         (__lll_lock_elision): Likewise, and respect a value of
2295         try_tbegin <= 0.
2297 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2299         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2300         statement.
2302 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2304         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2305         variable.
2306         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2307         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2309         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2310         of -std=c1x -D_ISOC11_SOURCE.
2312         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2313         * configure: Regenerated.
2314         * manual/install.texi (Tools for Compilation): Document
2315         requirement for GCC 4.7 or later.
2316         * INSTALL: Regenerated.
2318 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2320         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2321         on CNT to a conditional jump to 'puntdata'.
2323 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2325         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2326         (libc_cv_gcc_tls_model_attr): Likewise.
2327         * configure: Regenerated.
2329         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2330         * configure: Regenerated.
2331         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2333 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2335         * configure.ac (old_glibc_headers): Remove configure test.
2336         * configure: Regenerated.
2337         * config.make.in (old-glibc-headers): Remove variable.
2338         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2339         (install): Remove dependency on remove-old-headers.
2340         (headers2_0): Remove variable.
2341         (remove-old-headers): Remove rule.
2343         * configure.ac (libc_cv_dot_text): Remove configure test.
2344         (libc_cv_asm_set_directive): Use .text instead of
2345         ${libc_cv_dot_text} in configure test.
2346         * configure: Regenerated.
2348 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2350         [BZ #19168]
2351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2353 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2355         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2356         not support static linking.
2357         * configure: Regenerate.
2359 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2361         * math/libm-test.inc (check_float_internal): Do not special-case
2362         errors up to 0.5 ulp.
2364         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2365         log2.
2366         * math/auto-libm-test-out: Regenerated.
2367         * math/libm-test.inc (MAX_EXP): New macro.
2368         (ilogb_test_data): Add more tests.
2369         (isfinite_test_data): Likewise.
2370         (isgreater_test_data): Likewise.
2371         (isgreaterequal_test_data): Likewise.
2372         (isinf_test_data): Likewise.
2373         (isless_test_data): Likewise.
2374         (islessequal_test_data): Likewise.
2375         (islessgreater_test_data): Likewise.
2376         (isnan_test_data): Likewise.
2377         (isnormal_test_data): Likewise.
2378         (issignaling_test_data): Likewise.
2379         (isunordered_test_data): Likewise.
2380         (j0_test_data): Likewise.
2381         (j1_test_data): Likewise.
2382         (jn_test_data): Likewise.
2383         (lgamma_test_data): Likewise.
2384         (log_test_data): Likewise.
2385         (log10_test_data): Likewise.
2386         (log1p_test_data): Likewise.
2387         (log2_test_data): Likewise.
2388         (logb_test_data): Likewise.
2389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2391         [BZ #18611]
2392         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2393         avoid excess range and precision on underflow.
2394         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2395         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2396         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2397         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2398         underflow.
2399         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2401         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2403         * math/auto-libm-test-in: Do not allow missing errno setting for
2404         tests of j1 and jn.
2405         * math/auto-libm-test-out: Regenerated.
2407 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2409         [BZ #15491]
2410         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2411         floating-point environment instead of clearing all exceptions.
2412         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2413         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2414         merging in "invalid" exceptions from frndint.
2415         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2416         * math/test-nearbyint-except.c: New file.
2417         * math/Makefile (tests): Add test-nearbyint-except.
2419 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2421         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2423         * sysdeps/tile/libm-test-ulps: Regenerated.
2425 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2428         (__NR_sync_file_range2): Assume it is always defined.
2429         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2430         (__NR_sync_file_range): Assume it is always defined.
2432 2015-10-22  Andreas Schwab  <schwab@suse.de>
2434         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2435         INTERNAL_SYSCALL_ERRNO.
2436         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2437         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2439         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2440         Likewise.
2441         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2443 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2445         * io/tst-fcntl.c (fd): New static variable.
2446         (do_prepare): Open temporary file here....
2447         (do_test): ...not here.
2449         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2451 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2453         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2454         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2455         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2456         Moved before "#ifdef __ASSEMBLER__".
2458 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2460         [BZ #19156]
2461         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2462         arguments very close to 0.
2464 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2466         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2467         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2469 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2471         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2472         New.  Defined for GCC 5 and above when not compiling for
2473         profiling.
2474         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2476         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2477         Renamed to ...
2478         (CFLAGS-epoll_pwait.o): This.
2479         (CFLAGS-mmap.c): Renamed to ...
2480         (CFLAGS-mmap.o): This.
2481         (CFLAGS-mmap64.c): Renamed to ...
2482         (CFLAGS-mmap64.o): This.
2483         (CFLAGS-epoll_pwait.os): New.
2484         (CFLAGS-mmap.os): Likewise.
2485         (CFLAGS-mmap64.os): Likewise.
2486         (CFLAGS-semtimedop.os): Likewise.
2487         (CFLAGS-semtimedop.c): Renamed to ...
2488         (CFLAGS-semtimedop.o): This.
2490 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2492         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2493         warning message.
2495 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2497         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2498         * Makefile ($(objpfx)c++-types-check.out): Filter out
2499         $(+gccwarn-c) instead of -Wstrict-prototypes.
2501         * io/fts.c (fts_open): Convert to prototype-style function
2502         definition.
2503         * malloc/mcheck.c (mcheck): Likewise.
2504         (mcheck_pedantic): Likewise.
2505         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2506         internal_function.
2507         (re_search_internal): Likewise.
2508         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2509         prototype-style function definition.
2510         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2511         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2512         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2513         (xdr_utmpptr): Likewise.
2514         (xdr_utmparr): Likewise.
2515         (xdr_utmpidle): Likewise.
2516         (xdr_utmpidleptr): Likewise.
2517         (xdr_utmpidlearr): Likewise.
2519         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2520         log, log10 and log2.
2521         * math/auto-libm-test-out: Regenerated.
2522         * math/libm-test.inc (fmod_test_data): Add more tests.
2523         (fpclassify_test_data): Likewise.
2524         (frexp_test_data): Likewise.
2525         (hypot_test_data): Likewise.
2526         (ilogb_test_data): Likewise.
2528 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2530         * debug/fortify_fail.c (__fortify_fail): Convert to
2531         prototype-style function definition.  Use internal_function.
2532         * libio/genops.c (save_for_backup): Convert to prototype-style
2533         function definition.
2534         * libio/wgenops.c (save_for_wbackup): Likewise.
2535         * login/grantpt.c (grantpt): Likewise.
2536         * login/ptsname.c (ptsname): Likewise.
2537         (__ptsname_r): Likewise.
2538         * login/unlockpt.c (unlockpt): Likewise.
2539         * mach/msgserver.c (__mach_msg_server): Likewise.
2540         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2541         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2542         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2543         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2544         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2545         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2546         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2547         Likewise.
2548         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2549         internal_function.
2550         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2551         prototype-style function definition.
2552         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2553         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2554         (__pthread_create_2_0): Likewise.
2555         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2556         * nptl/register-atfork.c (__register_atfork): Likewise.
2557         * posix/glob.c (glob): Likewise.
2558         * posix/regcomp.c (re_comp): Likewise.
2559         * posix/regexec.c (re_exec): Likewise.
2560         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2561         [!__STDC__]: Remove conditional code.
2562         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2563         [!__STDC__]: Remove conditional code.
2564         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2565         [!__STDC__]: Remove conditional code.
2566         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2567         [!__STDC__]: Remove conditional code.
2568         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2569         [!__STDC__]: Remove conditional code.
2570         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2571         [!__STDC__]: Remove conditional code.
2572         * stdlib/mul.c [__STDC__]: Make code unconditional.
2573         [!__STDC__]: Remove conditional code.
2574         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2575         [!__STDC__]: Remove conditional code.
2576         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2577         [!__STDC__]: Remove conditional code.
2578         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2579         function definition.
2580         (STRTOF): Likewise.
2581         * stdlib/strtod_l.c (__STRTOF): Likewise.
2582         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2583         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2584         (__strtol_l): Likewise.
2585         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2586         [!__STDC__]: Remove conditional code.
2587         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2588         definition.
2589         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2590         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2591         type.
2592         (__strcasecmp): Convert to prototype-style function definition.
2593         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2594         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2595         type.
2596         (__strncasecmp): Convert to prototype-style function definition.
2597         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2598         * sunrpc/xdr.c (xdr_union): Likewise.
2599         * sunrpc/xdr_array.c (xdr_array): Likewise.
2600         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2601         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2602         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2603         Likewise.
2604         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2605         Likewise.
2606         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2607         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2608         Likewise.
2609         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2610         (LOCALE_PARAM_PROTO): Likewise.
2611         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2612         argument type.
2613         (ut_argument_spec): Remove macro.
2614         (ut_argument_spec_iso): Rename to ut_argument_spec.
2615         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2616         prototype-style function definition.
2617         (memcpy_uppcase): Likewise.
2618         (__strftime_internal): Likewise.
2619         (my_strftime): Likewise.
2620         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2621         (LOCALE_PARAM_DECL): Likewise.
2622         [_LIBC] (LOCALE_PARAM): Include argument type.
2623         (__strptime_internal): Convert to prototype-style function
2624         definition.
2625         (strptime): Likewise.
2626         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2627         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2628         type.
2629         (__wcscasecmp): Convert to prototype-style function definition.
2630         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2631         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2632         type.
2633         (__wcsncasecmp): Convert to prototype-style function definition.
2635         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2636         function definition.
2637         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2638         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2639         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2640         * elf/dl-minimal.c (_itoa): Likewise.
2641         * hurd/hurdmalloc.c (malloc): Likewise.
2642         (free): Likewise.
2643         (realloc): Likewise.
2644         * inet/inet6_option.c (inet6_option_space): Likewise.
2645         (inet6_option_init): Likewise.
2646         (inet6_option_append): Likewise.
2647         (inet6_option_alloc): Likewise.
2648         (inet6_option_next): Likewise.
2649         (inet6_option_find): Likewise.
2650         * io/ftw.c (FTW_NAME): Likewise.
2651         (NFTW_NAME): Likewise.
2652         (NFTW_NEW_NAME): Likewise.
2653         (NFTW_OLD_NAME): Likewise.
2654         * libio/iofwide.c (_IO_fwide): Likewise.
2655         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2656         (_IO_str_init_static): Likewise.
2657         (_IO_str_init_readonly): Likewise.
2658         (_IO_str_overflow): Likewise.
2659         (_IO_str_underflow): Likewise.
2660         (_IO_str_count): Likewise.
2661         (_IO_str_seekoff): Likewise.
2662         (_IO_str_pbackfail): Likewise.
2663         (_IO_str_finish): Likewise.
2664         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2665         (_IO_wstr_overflow): Likewise.
2666         (_IO_wstr_underflow): Likewise.
2667         (_IO_wstr_count): Likewise.
2668         (_IO_wstr_seekoff): Likewise.
2669         (_IO_wstr_pbackfail): Likewise.
2670         (_IO_wstr_finish): Likewise.
2671         * locale/programs/localedef.c (normalize_codeset): Likewise.
2672         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2673         (add_locales_to_archive): Likewise.
2674         (delete_locales_from_archive): Likewise.
2675         * malloc/malloc.c (__libc_mallinfo): Likewise.
2676         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2677         * misc/tsearch.c (__tfind): Likewise.
2678         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2679         * nptl/pthread_attr_getdetachstate.c
2680         (__pthread_attr_getdetachstate): Likewise.
2681         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2682         Likewise.
2683         * nptl/pthread_attr_getinheritsched.c
2684         (__pthread_attr_getinheritsched): Likewise.
2685         * nptl/pthread_attr_getschedparam.c
2686         (__pthread_attr_getschedparam): Likewise.
2687         * nptl/pthread_attr_getschedpolicy.c
2688         (__pthread_attr_getschedpolicy): Likewise.
2689         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2690         Likewise.
2691         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2692         Likewise.
2693         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2694         Likewise.
2695         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2696         Likewise.
2697         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2698         (__pthread_attr_init_2_0): Likewise.
2699         * nptl/pthread_attr_setdetachstate.c
2700         (__pthread_attr_setdetachstate): Likewise.
2701         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2702         Likewise.
2703         * nptl/pthread_attr_setinheritsched.c
2704         (__pthread_attr_setinheritsched): Likewise.
2705         * nptl/pthread_attr_setschedparam.c
2706         (__pthread_attr_setschedparam): Likewise.
2707         * nptl/pthread_attr_setschedpolicy.c
2708         (__pthread_attr_setschedpolicy): Likewise.
2709         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2710         Likewise.
2711         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2712         Likewise.
2713         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2714         Likewise.
2715         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2716         Likewise.
2717         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2718         Likewise.
2719         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2720         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2721         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2722         use internal_function.
2723         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2724         prototype-style function definition.
2725         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2726         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2727         internal_function.
2728         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2729         Convert to prototype-style function definition.
2730         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2731         Likewise.
2732         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2733         Likewise.
2734         (__pthread_mutex_unlock): Likewise.
2735         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2736         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2737         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2738         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2739         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2740         * nss/makedb.c (process_input): Likewise.
2741         * posix/fnmatch.c (__strchrnul): Likewise.
2742         (__wcschrnul): Likewise.
2743         (fnmatch): Likewise.
2744         * posix/fnmatch_loop.c (FCT): Likewise.
2745         * posix/glob.c (globfree): Likewise.
2746         (__glob_pattern_type): Likewise.
2747         (__glob_pattern_p): Likewise.
2748         * posix/regcomp.c (re_compile_pattern): Likewise.
2749         (re_set_syntax): Likewise.
2750         (re_compile_fastmap): Likewise.
2751         (regcomp): Likewise.
2752         (regerror): Likewise.
2753         (regfree): Likewise.
2754         * posix/regexec.c (regexec): Likewise.
2755         (re_match): Likewise.
2756         (re_search): Likewise.
2757         (re_match_2): Likewise.
2758         (re_search_2): Likewise.
2759         (re_search_stub): Likewise.  Use internal_function
2760         (re_copy_regs): Likewise.
2761         (re_set_registers): Convert to prototype-style function
2762         definition.
2763         (prune_impossible_nodes): Likewise.  Use internal_function.
2764         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2765         prototype-style function definition.
2766         (inet_net_pton_ipv4): Likewise.
2767         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2768         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2769         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2770         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2771         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2772         Make variadic.
2773         * time/strptime_l.c (localtime_r): Convert to prototype-style
2774         function definition.
2775         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2776         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2777         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2778         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2780         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2781         definition.
2782         (_ufc_doit_r): Likewise.
2783         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2784         (_ufc_output_conversion_r): Likewise.
2785         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2786         * inet/rcmd.c (rcmd_af): Likewise.
2787         (rcmd): Likewise.
2788         (ruserok_af): Likewise.
2789         (ruserok): Likewise.
2790         (ruserok2_sa): Likewise.
2791         (ruserok_sa): Likewise.
2792         (iruserok_af): Likewise.
2793         (iruserok): Likewise.
2794         (__ivaliduser): Likewise.
2795         (__validuser2_sa): Likewise.
2796         * inet/rexec.c (rexec_af): Likewise.
2797         (rexec): Likewise.
2798         * inet/ruserpass.c (ruserpass): Likewise.
2799         * locale/programs/xmalloc.c (xcalloc): Likewise.
2800         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2801         * math/w_drem.c (__drem): Likewise.
2802         * math/w_dremf.c (__dremf): Likewise.
2803         * math/w_dreml.c (__dreml): Likewise.
2804         * misc/daemon.c (daemon): Likewise.
2805         * resolv/res_debug.c (p_fqnname): Likewise.
2806         * stdlib/div.c (div): Likewise.
2807         * string/memcmp.c (memcmp_bytes): Likewise.
2808         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2809         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2811         * crypt/cert.c (main): Convert to prototype-style function
2812         definition.
2813         * io/pipe.c (__pipe): Likewise.
2814         * io/pipe2.c (__pipe2): Likewise.
2815         * misc/futimesat.c (futimesat): Likewise.
2816         * misc/utimes.c (__utimes): Likewise.
2817         * posix/execve.c (__execve): Likewise.
2818         * posix/execvp.c (execvp): Likewise.
2819         * posix/execvpe.c (__execvpe): Likewise.
2820         * posix/fexecve.c (fexecve): Likewise.
2821         * socket/socketpair.c (socketpair): Likewise.
2822         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2823         * stdlib/erand48.c (erand48): Likewise.
2824         * stdlib/erand48_r.c (__erand48_r): Likewise.
2825         * stdlib/jrand48.c (jrand48): Likewise.
2826         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2827         * stdlib/lcong48.c (lcong48): Likewise.
2828         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2829         * stdlib/nrand48.c (nrand48): Likewise.
2830         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2831         * stdlib/seed48.c (seed48): Likewise.
2832         * stdlib/seed48_r.c (__seed48_r): Likewise.
2833         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2834         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2835         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2837 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2839         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2840         * configure: Regenerated.
2841         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2842         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2843         unconditional.
2844         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2845         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2846         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2847         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2848         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2849         unconditional.
2850         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2852         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2853         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2855         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2856         function definition.
2857         * crypt/crypt_util.c (__encrypt_r): Likewise.
2858         * libio/genops.c (_IO_no_init): Likewise.
2859         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2860         (_IO_old_fopencookie): Likewise.
2861         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2862         * libio/iogetline.c (_IO_getline): Likewise.
2863         (_IO_getline_info): Likewise.
2864         * libio/iogetwline.c (_IO_getwline): Likewise.
2865         (_IO_getwline_info): Likewise.
2866         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2867         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2868         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2869         (find_entry): Likewise.
2870         (iterate_table): Likewise.
2871         (lookup): Likewise.
2872         * login/forkpty.c (forkpty): Likewise.
2873         * misc/hsearch_r.c (__hsearch_r): Likewise.
2874         * misc/select.c (__select): Likewise.
2875         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2876         Likewise.
2877         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2878         Likewise.
2879         * nptl/old_pthread_cond_timedwait.c
2880         (__pthread_cond_timedwait_2_0): Likewise.
2881         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2882         * nptl/pthread_barrierattr_getpshared.c
2883         (pthread_barrierattr_getpshared): Likewise.
2884         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2885         Likewise.
2886         * nptl/pthread_mutex_setprioceiling.c
2887         (pthread_mutex_setprioceiling): Likewise.
2888         * nptl/pthread_mutexattr_getprioceiling.c
2889         (pthread_mutexattr_getprioceiling): Likewise.
2890         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2891         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2892         Likewise.
2893         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2894         Likewise.
2895         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2896         Likewise.
2897         * socket/recvfrom.c (__recvfrom): Likewise.
2898         * socket/sendto.c (__sendto): Likewise.
2899         * socket/setsockopt.c (__setsockopt): Likewise.
2900         * stdio-common/_itoa.c (_itoa): Likewise.
2901         * stdio-common/_itowa.c (_itowa): Likewise.
2902         * stdio-common/reg-printf.c (__register_printf_specifier):
2903         Likewise.
2904         (__register_printf_function): Likewise.
2905         * stdio-common/tempname.c (__path_search): Likewise.
2906         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2907         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2908         * stdlib/random_r.c (__initstate_r): Likewise.
2909         * stdlib/setenv.c (__add_to_environ): Likewise.
2910         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2911         * streams/getpmsg.c (getpmsg): Likewise.
2912         * streams/putmsg.c (putmsg): Likewise.
2913         * streams/putpmsg.c (putpmsg): Likewise.
2914         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2915         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2916         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2917         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2918         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2919         * sunrpc/svc_udp.c (cache_get): Likewise.
2920         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2921         * sysdeps/mach/hurd/getcwd.c
2922         (__canonicalize_directory_name_internal): Likewise.
2923         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2924         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2925         * sysdeps/mach/hurd/select.c (__select): Likewise.
2926         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2927         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2928         * sysdeps/sparc/nptl/pthread_barrier_init.c
2929         (__pthread_barrier_init): Likewise.
2930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2931         (__pthread_cond_timedwait): Likewise.
2932         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2933         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2934         Likewise.
2935         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2936         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2937         Likewise.
2938         * sysvipc/semtimedop.c (semtimedop): Likewise.
2939         * time/setitimer.c (__setitimer): Likewise.
2940         * time/strftime_l.c (emacs_strftime): Likewise.
2942 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2944         * config.make.in (have-ssp): Delete.
2945         (stack-protector): New variable.
2946         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2947         cache test for -fstack-protector-strong.  Export stack_protector to
2948         the best ssp flag.
2949         * configure: Regenerated.
2950         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2951         * nscd/Makefile (CFLAGS-nscd): Likewise.
2952         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2954 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2956         [BZ #19122]
2957         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2958         attribute_hidden.
2960 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2962         [BZ #18743]
2963         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2964         code to...
2965         (ELIDE_LOCK): ...here.
2966         (__get_new_count): New function with part of the code from
2967         __elide_lock that updates the value of adapt_count after a
2968         transaction abort.
2969         (__elided_trylock): Moved this code to...
2970         (ELIDE_TRYLOCK): ...here.
2972 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2974         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2975         * configure: Regenerate.
2976         * INSTALL: Regenerate.
2977         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2978         and tweak grammar.
2980 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2982         * login/programs/pt_chown.c: Include signal.h
2983         (main): Clear any signal mask from the parent process.
2985 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2987         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2988         * configure: Regenerated.
2989         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2990         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2991         $(gnu89-inline-CFLAGS).
2993         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2994         test.
2995         (libc_cv_asm_weakext_directive): Likewise.
2996         * configure: Regenerated.
2997         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2998         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2999         * include/libc-symbols.h
3000         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3001         #error.
3002         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3003         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3005         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3006         prototype-style function definition.
3007         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3008         * sysdeps/i386/ffs.c (__ffs): Likewise.
3009         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3010         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3011         Likewise.
3012         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3013         Likewise.
3014         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3015         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3016         Likewise.
3017         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3018         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3019         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3020         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3021         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3022         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3023         * sysdeps/mach/hurd/access.c (__access): Likewise.
3024         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3025         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3026         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3027         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3028         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3029         (cthread_getspecific): Likewise.
3030         (cthread_setspecific): Likewise.
3031         (__libc_getspecific): Likewise.
3032         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3033         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3034         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3035         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3036         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3037         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3038         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3039         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3040         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3041         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3042         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3043         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3044         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3045         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3046         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3047         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3048         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3049         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3050         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3051         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3052         * sysdeps/mach/hurd/link.c (__link): Likewise.
3053         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3054         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3055         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3056         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3057         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3058         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3059         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3060         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3061         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3062         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3063         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3064         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3065         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3066         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3067         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3068         * sysdeps/mach/hurd/send.c (__send): Likewise.
3069         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3070         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3071         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3072         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3073         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3074         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3075         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3076         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3077         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3078         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3079         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3080         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3081         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3082         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3083         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3084         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3085         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3086         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3087         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3088         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3089         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3090         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3091         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3092         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3093         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3094         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3095         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3096         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3097         * sysdeps/posix/alarm.c (alarm): Likewise.
3098         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3099         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3100         * sysdeps/posix/dup.c (__dup): Likewise.
3101         * sysdeps/posix/dup2.c (__dup2): Likewise.
3102         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3103         (main): Likewise.
3104         * sysdeps/posix/flock.c (__flock): Likewise.
3105         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3106         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3107         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3108         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3109         * sysdeps/posix/isatty.c (__isatty): Likewise.
3110         * sysdeps/posix/killpg.c (killpg): Likewise.
3111         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3112         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3113         * sysdeps/posix/raise.c (raise): Likewise.
3114         * sysdeps/posix/remove.c (remove): Likewise.
3115         * sysdeps/posix/rename.c (rename): Likewise.
3116         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3117         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3118         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3119         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3120         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3121         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3122         * sysdeps/posix/sigset.c (sigset): Likewise.
3123         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3124         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3125         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3126         * sysdeps/posix/time.c (time): Likewise.
3127         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3128         (ttyname): Likewise.
3129         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3130         * sysdeps/posix/utime.c (utime): Likewise.
3131         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3132         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3133         Likewise.
3134         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3135         (pthread_spin_trylock): Likewise.
3136         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3137         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3138         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3139         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3140         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3141         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3142         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3143         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3144         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3145         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3146         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3147         * sysdeps/s390/ffs.c (__ffs): Likewise.
3148         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3149         Likewise.
3150         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3151         Likewise.
3152         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3153         Likewise.
3154         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3155         (pthread_barrier_destroy): Likewise.
3156         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3157         (__pthread_barrier_wait): Likewise.
3158         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3159         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3160         (__pthread_barrier_wait): Likewise.
3161         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3162         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3163         (memcmp_not_common_alignment): Likewise.
3164         (MEMCMP): Likewise.
3165         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3166         (_wordcopy_fwd_dest_aligned): Likewise.
3167         (_wordcopy_bwd_aligned): Likewise.
3168         (_wordcopy_bwd_dest_aligned): Likewise.
3169         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3170         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3171         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3172         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3173         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3174         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3175         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3176         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3177         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3178         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3179         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3180         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3181         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3182         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3183         * sysdeps/unix/stime.c (stime): Likewise.
3184         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3185         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3186         Likewise.  Use internal_function.
3187         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3188         Convert to prototype-style function definition.
3189         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3190         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3191         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3192         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3193         Likewise.  Use internal_function.
3194         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3195         prototype-style function definition
3196         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3197         Likewise.
3198         (__getlogin_r): Likewise.
3199         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3201         (__pthread_cond_broadcast): Likewise.
3202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3203         (__pthread_cond_destroy): Likewise.
3204         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3205         (__pthread_cond_init): Likewise.
3206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3207         (__pthread_cond_signal): Likewise.
3208         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3209         (__pthread_cond_wait): Likewise.
3210         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3211         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3212         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3213         Likewise.
3214         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3215         Likewise.
3216         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3217         Likewise.
3218         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3219         Likewise.
3220         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3222         (__ftruncate64): Likewise.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3224         (truncate64): Likewise.
3225         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3226         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3227         (pthread_getcpuclockid): Likewise.
3228         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3229         Likewise.
3230         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3231         Likewise.
3232         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3233         Likewise.
3234         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3235         Likewise.
3236         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3237         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3238         (__libc_sigaction): Likewise.
3239         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3240         Likewise.
3241         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3242         (__sigprocmask): Likewise.
3243         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3244         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3245         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3246         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3247         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3248         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3249         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3250         Likewise.
3251         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3252         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3253         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3254         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3255         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3256         Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3258         (__sigprocmask): Likewise.
3259         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3260         (cfgetispeed): Likewise.
3261         (cfsetospeed): Likewise.
3262         (cfsetispeed): Likewise.
3263         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3264         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3265         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3266         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3267         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3268         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3269         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3270         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3271         Likewise.
3272         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3273         Likewise.
3274         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3277         Likewise.
3278         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3280 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3282         sunrpc: Rewrite with explicit TLS access using __thread.
3283         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3284         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3285         directly.
3286         (__rpc_thread_variables): Access thread_rpc_vars directly.
3287         Eliminate redundant assignment of the tvp variable.
3289 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3291         malloc: Rewrite with explicit TLS access using __thread.
3292         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3293         (tsd_setspecific, tsd_getspecific): Remove.
3294         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3295         (tsd_setspecific, tsd_getspecific): Likewise.
3296         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3297         (tsd_setspecific, tsd_getspecific): Likewise.
3298         * malloc/arena.c (thread_arena): New TLS variable.
3299         (arena_key): Remove variable.
3300         (arena_get): Use thread_arena.
3301         (arena_lookup): Remove macro.
3302         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3303         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3304         (_int_new_arena, get_free_list, reused_arena)
3305         (arena_thread_freeres): Use thread_arena.
3306         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3307         tsd_getspecific, tsd_setspecific from safety annotations.
3308         (Allocating Cleared Space): Remove arena_lookup from safety
3309         annotations.
3311 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3313         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3314         struct scratch_buffer instead of extend_alloca.
3316 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3318         * sysdeps/unix/sysv/linux/kernel-features.h
3319         (__ASSUME_SOCK_CLOEXEC): Remove.
3320         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3321         (__have_paccept): Remove unused macro.
3322         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3323         * misc/syslog.c (openlog_internal): Remove fallback code for
3324         !__ASSUME_SOCK_CLOEXEC.
3325         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3326         missing SOCK_CLOEXEC.
3327         * nscd/connections.c (have_sock_cloexec): Remove definition.
3328         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3329         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3330         !__ASSUME_SOCK_CLOEXEC.
3331         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3332         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3333         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3334         definition.
3335         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3336         code for !__ASSUME_SOCK_CLOEXEC.
3338 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3340         [BZ #18982]
3341         * manual/stdio.texi (Variable Arguments Output): Add portability
3342         note, explaining that vfprintf clobbers the va_list pointer.
3344 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3346         * math/libm-test.inc (fabs_test_data): Add more tests.
3347         (fdim_test_data): Likewise.
3348         (fma_test_data): Likewise.
3349         (fmax_test_data): Likewise.
3350         (fmin_test_data): Likewise.
3351         (fmod_test_data): Likewise.
3353 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3355         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3356         data.
3358 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3360         * math/libm-test.inc (ceil_test_data): Add more tests and more
3361         expectations for "inexact".
3362         (floor_test_data): Add more tests.
3363         (round_test_data): Likewise.
3364         (trunc_test_data): Likewise.
3366         * crypt/cert.c (good_bye): Convert to prototype-style function
3367         definition.
3368         (get8): Likewise.
3369         (put8): Likewise.
3370         * crypt/crypt-entry.c (crypt): Likewise.
3371         (__fcrypt): Likewise.
3372         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3373         (_ufc_set_bits): Likewise.
3374         (_ufc_clearmem): Likewise.
3375         (__init_des_r): Likewise.
3376         (shuffle_sb): Likewise.
3377         (shuffle_sb): Likewise.
3378         (_ufc_setup_salt_r): Likewise.
3379         (_ufc_mk_keytab_r): Likewise.
3380         (_ufc_dofinalperm_r): Likewise.
3381         (encrypt): Likewise.
3382         (__setkey_r): Likewise.
3383         (setkey): Likewise.
3384         * crypt/md5.c (md5_init_ctx): Likewise.
3385         (md5_read_ctx): Likewise.
3386         (md5_finish_ctx): Likewise.
3387         (md5_stream): Likewise.
3388         (md5_buffer): Likewise.
3389         (md5_process_bytes): Likewise.
3390         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3391         (__sha256_finish_ctx): Likewise.
3392         (__sha256_process_bytes): Likewise.
3393         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3394         (__sha512_finish_ctx): Likewise.
3395         (__sha512_process_bytes): Likewise.
3396         * ctype/isctype.c (__isctype): Likewise.
3397         * debug/backtrace.c (__backtrace): Likewise.
3398         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3399         * debug/fgets_chk.c (__fgets_chk): Likewise.
3400         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3401         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3402         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3403         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3404         * debug/memset_chk.c (__memset_chk): Likewise.
3405         * debug/strcat_chk.c (__strcat_chk): Likewise.
3406         * debug/strncat_chk.c (__strncat_chk): Likewise.
3407         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3408         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3409         * dirent/dirfd.c (dirfd): Likewise.
3410         * dirent/getdents.c (__getdirentries): Likewise.
3411         * dirent/getdents64.c (getdirentries64): Likewise.
3412         * dirent/rewinddir.c (__rewinddir): Likewise.
3413         * dirent/seekdir.c (seekdir): Likewise.
3414         * dirent/telldir.c (telldir): Likewise.
3415         * elf/sln.c (makesymlinks): Likewise.
3416         (makesymlink): Likewise.
3417         * gmon/gmon.c (__moncontrol): Likewise.
3418         (__monstartup): Likewise.
3419         (write_hist): Likewise.
3420         (write_call_graph): Likewise.
3421         (write_bb_counts): Likewise.
3422         * grp/setgroups.c (setgroups): Likewise.
3423         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3424         * inet/inet_net.c (inet_network): Likewise.
3425         * inet/inet_netof.c (inet_netof): Likewise.
3426         * inet/rcmd.c (rresvport_af): Likewise.
3427         (rresvport): Likewise.
3428         * io/access.c (__access): Likewise.
3429         * io/chdir.c (__chdir): Likewise.
3430         * io/chmod.c (__chmod): Likewise.
3431         * io/chown.c (__chown): Likewise.
3432         * io/close.c (__close): Likewise.
3433         * io/creat.c (creat): Likewise.
3434         * io/creat64.c (creat64): Likewise.
3435         * io/dup.c (__dup): Likewise.
3436         * io/dup2.c (__dup2): Likewise.
3437         * io/dup3.c (__dup3): Likewise.
3438         * io/euidaccess.c (__euidaccess): Likewise.
3439         * io/faccessat.c (faccessat): Likewise.
3440         * io/fchmod.c (__fchmod): Likewise.
3441         * io/fchmodat.c (fchmodat): Likewise.
3442         * io/fchown.c (__fchown): Likewise.
3443         * io/fchownat.c (fchownat): Likewise.
3444         * io/fcntl.c (__fcntl): Likewise.
3445         * io/flock.c (__flock): Likewise.
3446         * io/fts.c (fts_load): Likewise.
3447         (fts_close): Likewise.
3448         (fts_read): Likewise.
3449         (fts_set): Likewise.
3450         (fts_children): Likewise.
3451         (fts_build): Likewise.
3452         (fts_stat): Likewise.
3453         (fts_sort): Likewise.
3454         (fts_alloc): Likewise.
3455         (fts_lfree): Likewise.
3456         (fts_palloc): Likewise.
3457         (fts_padjust): Likewise.
3458         (fts_maxarglen): Likewise.
3459         (fts_safe_changedir): Likewise.
3460         * io/getwd.c (getwd): Likewise.
3461         * io/isatty.c (__isatty): Likewise.
3462         * io/lchown.c (__lchown): Likewise.
3463         * io/link.c (__link): Likewise.
3464         * io/linkat.c (linkat): Likewise.
3465         * io/lseek.c (__libc_lseek): Likewise.
3466         * io/mkdir.c (__mkdir): Likewise.
3467         * io/mkdirat.c (mkdirat): Likewise.
3468         * io/mkfifo.c (mkfifo): Likewise.
3469         * io/mkfifoat.c (mkfifoat): Likewise.
3470         * io/open.c (__libc_open): Likewise.
3471         * io/open64.c (__libc_open64): Likewise.
3472         * io/readlink.c (__readlink): Likewise.
3473         * io/readlinkat.c (readlinkat): Likewise.
3474         * io/rmdir.c (__rmdir): Likewise.
3475         * io/symlink.c (__symlink): Likewise.
3476         * io/symlinkat.c (symlinkat): Likewise.
3477         * io/ttyname.c (ttyname): Likewise.
3478         * io/ttyname_r.c (__ttyname_r): Likewise.
3479         * io/umask.c (__umask): Likewise.
3480         * io/unlink.c (__unlink): Likewise.
3481         * io/unlinkat.c (unlinkat): Likewise.
3482         * io/utime.c (utime): Likewise.
3483         * libio/clearerr.c (clearerr): Likewise.
3484         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3485         * libio/feof.c (_IO_feof): Likewise.
3486         * libio/feof_u.c (feof_unlocked): Likewise.
3487         * libio/ferror.c (_IO_ferror): Likewise.
3488         * libio/ferror_u.c (ferror_unlocked): Likewise.
3489         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3490         * libio/fileno.c (__fileno): Likewise.
3491         * libio/fputc.c (fputc): Likewise.
3492         * libio/fputc_u.c (fputc_unlocked): Likewise.
3493         * libio/fputwc.c (fputwc): Likewise.
3494         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3495         * libio/freopen.c (freopen): Likewise.
3496         * libio/freopen64.c (freopen64): Likewise.
3497         * libio/fseek.c (fseek): Likewise.
3498         * libio/fseeko.c (fseeko): Likewise.
3499         * libio/fseeko64.c (fseeko64): Likewise.
3500         * libio/ftello.c (__ftello): Likewise.
3501         * libio/ftello64.c (ftello64): Likewise.
3502         * libio/fwide.c (fwide): Likewise.
3503         * libio/genops.c (_IO_un_link): Likewise.
3504         (_IO_link_in): Likewise.
3505         (_IO_least_marker): Likewise.
3506         (_IO_switch_to_main_get_area): Likewise.
3507         (_IO_switch_to_backup_area): Likewise.
3508         (_IO_switch_to_get_mode): Likewise.
3509         (_IO_free_backup_area): Likewise.
3510         (_IO_switch_to_put_mode): Likewise.
3511         (__overflow): Likewise.
3512         (__underflow): Likewise.
3513         (__uflow): Likewise.
3514         (_IO_setb): Likewise.
3515         (_IO_doallocbuf): Likewise.
3516         (_IO_default_underflow): Likewise.
3517         (_IO_default_uflow): Likewise.
3518         (_IO_default_xsputn): Likewise.
3519         (_IO_sgetn): Likewise.
3520         (_IO_default_xsgetn): Likewise.
3521         (_IO_sync): Likewise.
3522         (_IO_default_setbuf): Likewise.
3523         (_IO_default_seekpos): Likewise.
3524         (_IO_default_doallocate): Likewise.
3525         (_IO_init): Likewise.
3526         (_IO_old_init): Likewise.
3527         (_IO_default_sync): Likewise.
3528         (_IO_default_finish): Likewise.
3529         (_IO_default_seekoff): Likewise.
3530         (_IO_sputbackc): Likewise.
3531         (_IO_sungetc): Likewise.
3532         (_IO_set_column): Likewise.
3533         (_IO_set_column): Likewise.
3534         (_IO_adjust_column): Likewise.
3535         (_IO_get_column): Likewise.
3536         (_IO_init_marker): Likewise.
3537         (_IO_remove_marker): Likewise.
3538         (_IO_marker_difference): Likewise.
3539         (_IO_marker_delta): Likewise.
3540         (_IO_seekmark): Likewise.
3541         (_IO_unsave_markers): Likewise.
3542         (_IO_nobackup_pbackfail): Likewise.
3543         (_IO_default_pbackfail): Likewise.
3544         (_IO_default_seek): Likewise.
3545         (_IO_default_stat): Likewise.
3546         (_IO_default_read): Likewise.
3547         (_IO_default_write): Likewise.
3548         (_IO_default_showmanyc): Likewise.
3549         (_IO_default_imbue): Likewise.
3550         (_IO_iter_next): Likewise.
3551         (_IO_iter_file): Likewise.
3552         * libio/getc.c (_IO_getc): Likewise.
3553         * libio/getwc.c (_IO_getwc): Likewise.
3554         * libio/iofclose.c (_IO_new_fclose): Likewise.
3555         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3556         * libio/iofflush.c (_IO_fflush): Likewise.
3557         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3558         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3559         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3560         * libio/iofgets.c (_IO_fgets): Likewise.
3561         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3562         * libio/iofgetws.c (fgetws): Likewise.
3563         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3564         * libio/iofopen64.c (_IO_fopen64): Likewise.
3565         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3566         (_IO_cookie_write): Likewise.
3567         (_IO_cookie_seek): Likewise.
3568         (_IO_cookie_close): Likewise.
3569         (_IO_cookie_seekoff): Likewise.
3570         (_IO_old_cookie_seek): Likewise.
3571         * libio/iofputs.c (_IO_fputs): Likewise.
3572         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3573         * libio/iofputws.c (fputws): Likewise.
3574         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3575         * libio/iofread.c (_IO_fread): Likewise.
3576         * libio/iofread_u.c (__fread_unlocked): Likewise.
3577         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3578         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3579         * libio/ioftell.c (_IO_ftell): Likewise.
3580         * libio/iofwrite.c (_IO_fwrite): Likewise.
3581         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3582         * libio/iogets.c (_IO_gets): Likewise.
3583         * libio/iopadn.c (_IO_padn): Likewise.
3584         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3585         (_IO_new_popen): Likewise.
3586         (_IO_new_proc_close): Likewise.
3587         * libio/ioputs.c (_IO_puts): Likewise.
3588         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3589         (_IO_seekoff): Likewise.
3590         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3591         (_IO_seekpos): Likewise.
3592         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3593         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3594         * libio/ioungetc.c (_IO_ungetc): Likewise.
3595         * libio/ioungetwc.c (ungetwc): Likewise.
3596         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3597         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3598         * libio/iowpadn.c (_IO_wpadn): Likewise.
3599         * libio/libc_fatal.c (__libc_fatal): Likewise.
3600         * libio/memstream.c (__open_memstream): Likewise.
3601         (_IO_mem_sync): Likewise.
3602         (_IO_mem_finish): Likewise.
3603         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3604         (_IO_old_file_close_it): Likewise.
3605         (_IO_old_file_finish): Likewise.
3606         (_IO_old_file_fopen): Likewise.
3607         (_IO_old_file_attach): Likewise.
3608         (_IO_old_file_setbuf): Likewise.
3609         (_IO_old_do_write): Likewise.
3610         (old_do_write): Likewise.
3611         (_IO_old_file_underflow): Likewise.
3612         (_IO_old_file_overflow): Likewise.
3613         (_IO_old_file_sync): Likewise.
3614         (_IO_old_file_seekoff): Likewise.
3615         (_IO_old_file_write): Likewise.
3616         (_IO_old_file_xsputn): Likewise.
3617         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3618         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3619         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3620         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3621         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3622         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3623         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3624         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3625         (_IO_old_popen): Likewise.
3626         (_IO_old_proc_close): Likewise.
3627         * libio/oldpclose.c (__old_pclose): Likewise.
3628         * libio/pclose.c (__new_pclose): Likewise.
3629         * libio/peekc.c (_IO_peekc_locked): Likewise.
3630         * libio/putc.c (_IO_putc): Likewise.
3631         * libio/putc_u.c (putc_unlocked): Likewise.
3632         * libio/putchar.c (putchar): Likewise.
3633         * libio/putchar_u.c (putchar_unlocked): Likewise.
3634         * libio/putwc.c (putwc): Likewise.
3635         * libio/putwc_u.c (putwc_unlocked): Likewise.
3636         * libio/putwchar.c (putwchar): Likewise.
3637         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3638         * libio/rewind.c (rewind): Likewise.
3639         * libio/setbuf.c (setbuf): Likewise.
3640         * libio/setlinebuf.c (setlinebuf): Likewise.
3641         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3642         * libio/vscanf.c (_IO_vscanf): Likewise.
3643         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3644         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3645         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3646         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3647         (_IO_switch_to_main_wget_area): Likewise.
3648         (_IO_switch_to_wbackup_area): Likewise.
3649         (_IO_wsetb): Likewise.
3650         (_IO_wdefault_pbackfail): Likewise.
3651         (_IO_wdefault_finish): Likewise.
3652         (_IO_wdefault_uflow): Likewise.
3653         (__woverflow): Likewise.
3654         (__wuflow): Likewise.
3655         (__wunderflow): Likewise.
3656         (_IO_wdefault_xsputn): Likewise.
3657         (_IO_wdefault_xsgetn): Likewise.
3658         (_IO_wdoallocbuf): Likewise.
3659         (_IO_wdefault_doallocate): Likewise.
3660         (_IO_switch_to_wget_mode): Likewise.
3661         (_IO_free_wbackup_area): Likewise.
3662         (_IO_switch_to_wput_mode): Likewise.
3663         (_IO_sputbackwc): Likewise.
3664         (_IO_sungetwc): Likewise.
3665         (_IO_adjust_wcolumn): Likewise.
3666         (_IO_init_wmarker): Likewise.
3667         (_IO_wmarker_delta): Likewise.
3668         (_IO_seekwmark): Likewise.
3669         (_IO_unsave_wmarkers): Likewise.
3670         * libio/wmemstream.c (open_wmemstream): Likewise.
3671         (_IO_wmem_sync): Likewise.
3672         (_IO_wmem_finish): Likewise.
3673         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3674         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3675         * locale/programs/simple-hash.c (init_hash): Likewise.
3676         (delete_hash): Likewise.
3677         (insert_entry): Likewise.
3678         (set_entry): Likewise.
3679         (next_prime): Likewise.
3680         (is_prime): Likewise.
3681         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3682         (xmalloc): Likewise.
3683         (xrealloc): Likewise.
3684         * locale/programs/xstrdup.c (xstrdup): Likewise.
3685         * localedata/collate-test.c (xstrcoll): Likewise.
3686         * localedata/xfrm-test.c (xstrcmp): Likewise.
3687         * login/getlogin_r.c (__getlogin_r): Likewise.
3688         * login/getpt.c (__posix_openpt): Likewise.
3689         * login/login_tty.c (login_tty): Likewise.
3690         * login/setlogin.c (setlogin): Likewise.
3691         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3692         (mach_msg_destroy_port): Likewise.
3693         (mach_msg_destroy_memory): Likewise.
3694         * malloc/mcheck.c (flood): Likewise.
3695         * misc/acct.c (acct): Likewise.
3696         * misc/brk.c (__brk): Likewise.
3697         * misc/chflags.c (chflags): Likewise.
3698         * misc/chroot.c (chroot): Likewise.
3699         * misc/fchflags.c (fchflags): Likewise.
3700         * misc/fstab.c (getfsspec): Likewise.
3701         (getfsfile): Likewise.
3702         * misc/fsync.c (fsync): Likewise.
3703         * misc/ftruncate.c (__ftruncate): Likewise.
3704         * misc/ftruncate64.c (__ftruncate64): Likewise.
3705         * misc/getdomain.c (getdomainname): Likewise.
3706         (getdomainname): Likewise.
3707         * misc/gethostname.c (__gethostname): Likewise.
3708         * misc/getpass.c (getpass): Likewise.
3709         * misc/getttyent.c (skip): Likewise.
3710         (value): Likewise.
3711         * misc/gtty.c (gtty): Likewise.
3712         * misc/hsearch.c (hsearch): Likewise.
3713         (hcreate): Likewise.
3714         * misc/hsearch_r.c (__hcreate_r): Likewise.
3715         (__hdestroy_r): Likewise.
3716         * misc/ioctl.c (__ioctl): Likewise.
3717         * misc/mkdtemp.c (mkdtemp): Likewise.
3718         * misc/mkostemp.c (mkostemp): Likewise.
3719         * misc/mkostemp64.c (mkostemp64): Likewise.
3720         * misc/mkostemps.c (mkostemps): Likewise.
3721         * misc/mkostemps64.c (mkostemps64): Likewise.
3722         * misc/mkstemp.c (mkstemp): Likewise.
3723         * misc/mkstemp64.c (mkstemp64): Likewise.
3724         * misc/mkstemps.c (mkstemps): Likewise.
3725         * misc/mkstemps64.c (mkstemps64): Likewise.
3726         * misc/mktemp.c (__mktemp): Likewise.
3727         * misc/preadv.c (preadv): Likewise.
3728         * misc/preadv64.c (preadv64): Likewise.
3729         * misc/pwritev.c (pwritev): Likewise.
3730         * misc/pwritev64.c (pwritev64): Likewise.
3731         * misc/readv.c (__readv): Likewise.
3732         * misc/revoke.c (revoke): Likewise.
3733         * misc/setdomain.c (setdomainname): Likewise.
3734         * misc/setegid.c (setegid): Likewise.
3735         * misc/seteuid.c (seteuid): Likewise.
3736         * misc/sethostid.c (sethostid): Likewise.
3737         * misc/sethostname.c (sethostname): Likewise.
3738         * misc/setregid.c (__setregid): Likewise.
3739         * misc/setreuid.c (__setreuid): Likewise.
3740         * misc/sstk.c (sstk): Likewise.
3741         * misc/stty.c (stty): Likewise.
3742         * misc/syscall.c (syscall): Likewise.
3743         * misc/syslog.c (setlogmask): Likewise.
3744         * misc/truncate.c (__truncate): Likewise.
3745         * misc/truncate64.c (truncate64): Likewise.
3746         * misc/ualarm.c (ualarm): Likewise.
3747         * misc/usleep.c (usleep): Likewise.
3748         * misc/ustat.c (ustat): Likewise.
3749         * misc/writev.c (__writev): Likewise.
3750         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3751         * nptl/old_pthread_cond_broadcast.c
3752         (__pthread_cond_broadcast_2_0): Likewise.
3753         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3754         Likewise.
3755         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3756         Likewise.
3757         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3758         Likewise.
3759         * nptl/pt-raise.c (raise): Likewise.
3760         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3761         Likewise.
3762         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3763         * nptl/pthread_barrierattr_destroy.c
3764         (pthread_barrierattr_destroy): Likewise.
3765         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3766         Likewise.
3767         * nptl/pthread_barrierattr_setpshared.c
3768         (pthread_barrierattr_setpshared): Likewise.
3769         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3770         Likewise.
3771         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3772         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3773         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3774         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3775         Likewise.
3776         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3777         Likewise.
3778         * nptl/pthread_condattr_getpshared.c
3779         (pthread_condattr_getpshared): Likewise.
3780         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3781         Likewise.
3782         * nptl/pthread_condattr_setpshared.c
3783         (pthread_condattr_setpshared): Likewise.
3784         * nptl/pthread_detach.c (pthread_detach): Likewise.
3785         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3786         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3787         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3788         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3789         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3790         Likewise.
3791         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3792         Likewise.
3793         * nptl/pthread_mutex_getprioceiling.c
3794         (pthread_mutex_getprioceiling): Likewise.
3795         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3796         Likewise.
3797         * nptl/pthread_mutexattr_getprotocol.c
3798         (pthread_mutexattr_getprotocol): Likewise.
3799         * nptl/pthread_mutexattr_getpshared.c
3800         (pthread_mutexattr_getpshared): Likewise.
3801         * nptl/pthread_mutexattr_getrobust.c
3802         (pthread_mutexattr_getrobust): Likewise.
3803         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3804         Likewise.
3805         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3806         Likewise.
3807         * nptl/pthread_mutexattr_setprioceiling.c
3808         (pthread_mutexattr_setprioceiling): Likewise.
3809         * nptl/pthread_mutexattr_setprotocol.c
3810         (pthread_mutexattr_setprotocol): Likewise.
3811         * nptl/pthread_mutexattr_setpshared.c
3812         (pthread_mutexattr_setpshared): Likewise.
3813         * nptl/pthread_mutexattr_setrobust.c
3814         (pthread_mutexattr_setrobust): Likewise.
3815         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3816         Likewise.
3817         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3818         Likewise.
3819         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3820         Likewise.
3821         * nptl/pthread_rwlockattr_getkind_np.c
3822         (pthread_rwlockattr_getkind_np): Likewise.
3823         * nptl/pthread_rwlockattr_getpshared.c
3824         (pthread_rwlockattr_getpshared): Likewise.
3825         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3826         Likewise.
3827         * nptl/pthread_rwlockattr_setkind_np.c
3828         (pthread_rwlockattr_setkind_np): Likewise.
3829         * nptl/pthread_rwlockattr_setpshared.c
3830         (pthread_rwlockattr_setpshared): Likewise.
3831         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3832         Likewise.
3833         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3834         Likewise.
3835         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3836         Likewise.
3837         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3838         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3839         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3840         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3841         * nptl/sem_close.c (sem_close): Likewise.
3842         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3843         * nptl/sem_init.c (__old_sem_init): Likewise.
3844         * nptl/sigaction.c (__sigaction): Likewise.
3845         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3846         * posix/_exit.c (_exit): Likewise.
3847         * posix/alarm.c (alarm): Likewise.
3848         * posix/confstr.c (confstr): Likewise.
3849         * posix/fpathconf.c (__fpathconf): Likewise.
3850         * posix/getgroups.c (__getgroups): Likewise.
3851         * posix/getpgid.c (__getpgid): Likewise.
3852         * posix/group_member.c (__group_member): Likewise.
3853         * posix/pathconf.c (__pathconf): Likewise.
3854         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3855         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3856         * posix/setgid.c (__setgid): Likewise.
3857         * posix/setpgid.c (__setpgid): Likewise.
3858         * posix/setuid.c (__setuid): Likewise.
3859         * posix/sleep.c (__sleep): Likewise.
3860         * posix/sysconf.c (__sysconf): Likewise.
3861         * posix/times.c (__times): Likewise.
3862         * posix/uname.c (__uname): Likewise.
3863         * posix/waitid.c (__waitid): Likewise.
3864         * pwd/getpw.c (__getpw): Likewise.
3865         * resolv/base64.c (b64_pton): Likewise.
3866         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3867         * resolv/gethnamaddr.c (Dprintf): Likewise.
3868         (gethostbyname): Likewise.
3869         (gethostbyname2): Likewise.
3870         (gethostbyaddr): Likewise.
3871         (_sethtent): Likewise.
3872         (_gethtbyname): Likewise.
3873         (_gethtbyname2): Likewise.
3874         (_gethtbyaddr): Likewise.
3875         (map_v4v6_address): Likewise.
3876         (map_v4v6_hostent): Likewise.
3877         (addrsort): Likewise.
3878         (ht_sethostent): Likewise.
3879         (ht_gethostbyname): Likewise.
3880         (ht_gethostbyaddr): Likewise.
3881         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3882         (inet_net_ntop_ipv4): Likewise.
3883         * resolv/inet_neta.c (inet_neta): Likewise.
3884         * resolv/inet_ntop.c (inet_ntop): Likewise.
3885         (inet_ntop4): Likewise.
3886         (inet_ntop6): Likewise.
3887         * resolv/inet_pton.c (__inet_pton): Likewise.
3888         (inet_pton4): Likewise.
3889         (inet_pton6): Likewise.
3890         * resolv/res_debug.c (loc_aton): Likewise.
3891         (loc_ntoa): Likewise.
3892         * resource/getpriority.c (__getpriority): Likewise.
3893         * resource/getrusage.c (__getrusage): Likewise.
3894         * resource/nice.c (nice): Likewise.
3895         * resource/setpriority.c (__setpriority): Likewise.
3896         * resource/setrlimit64.c (setrlimit64): Likewise.
3897         * resource/vlimit.c (vlimit): Likewise.
3898         * resource/vtimes.c (vtimes): Likewise.
3899         * rt/aio_error.c (aio_error): Likewise.
3900         * rt/aio_return.c (aio_return): Likewise.
3901         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3902         * signal/kill.c (__kill): Likewise.
3903         * signal/killpg.c (killpg): Likewise.
3904         * signal/raise.c (raise): Likewise.
3905         * signal/sigaction.c (__sigaction): Likewise.
3906         * signal/sigaddset.c (sigaddset): Likewise.
3907         * signal/sigaltstack.c (sigaltstack): Likewise.
3908         * signal/sigandset.c (sigandset): Likewise.
3909         * signal/sigblock.c (__sigblock): Likewise.
3910         * signal/sigdelset.c (sigdelset): Likewise.
3911         * signal/sigempty.c (sigemptyset): Likewise.
3912         * signal/sigfillset.c (sigfillset): Likewise.
3913         * signal/sighold.c (sighold): Likewise.
3914         * signal/sigignore.c (sigignore): Likewise.
3915         * signal/sigintr.c (siginterrupt): Likewise.
3916         * signal/sigisempty.c (sigisemptyset): Likewise.
3917         * signal/sigismem.c (sigismember): Likewise.
3918         * signal/signal.c (signal): Likewise.
3919         * signal/sigorset.c (sigorset): Likewise.
3920         * signal/sigpause.c (__sigpause): Likewise.
3921         * signal/sigpending.c (sigpending): Likewise.
3922         * signal/sigprocmask.c (__sigprocmask): Likewise.
3923         * signal/sigrelse.c (sigrelse): Likewise.
3924         * signal/sigreturn.c (__sigreturn): Likewise.
3925         * signal/sigset.c (sigset): Likewise.
3926         * signal/sigsetmask.c (__sigsetmask): Likewise.
3927         * signal/sigstack.c (sigstack): Likewise.
3928         * signal/sigsuspend.c (__sigsuspend): Likewise.
3929         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3930         * signal/sysv_signal.c (__sysv_signal): Likewise.
3931         * socket/accept.c (accept): Likewise.
3932         * socket/accept4.c (__libc_accept4): Likewise.
3933         * socket/bind.c (__bind): Likewise.
3934         * socket/connect.c (__connect): Likewise.
3935         * socket/getpeername.c (getpeername): Likewise.
3936         * socket/getsockname.c (__getsockname): Likewise.
3937         * socket/getsockopt.c (getsockopt): Likewise.
3938         * socket/listen.c (__listen): Likewise.
3939         * socket/recv.c (__recv): Likewise.
3940         * socket/recvmsg.c (__recvmsg): Likewise.
3941         * socket/send.c (__send): Likewise.
3942         * socket/sendmsg.c (__sendmsg): Likewise.
3943         * socket/shutdown.c (shutdown): Likewise.
3944         * socket/sockatmark.c (sockatmark): Likewise.
3945         * socket/socket.c (__socket): Likewise.
3946         * stdio-common/ctermid.c (ctermid): Likewise.
3947         * stdio-common/cuserid.c (cuserid): Likewise.
3948         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3949         * stdio-common/remove.c (remove): Likewise.
3950         * stdio-common/rename.c (rename): Likewise.
3951         * stdio-common/renameat.c (renameat): Likewise.
3952         * stdio-common/tempname.c (__gen_tempname): Likewise.
3953         * stdio-common/xbug.c (InitBuffer): Likewise.
3954         (AppendToBuffer): Likewise.
3955         (ReadFile): Likewise.
3956         * stdlib/a64l.c (a64l): Likewise.
3957         * stdlib/drand48_r.c (drand48_r): Likewise.
3958         * stdlib/getcontext.c (getcontext): Likewise.
3959         * stdlib/getenv.c (getenv): Likewise.
3960         * stdlib/l64a.c (l64a): Likewise.
3961         * stdlib/llabs.c (llabs): Likewise.
3962         * stdlib/lldiv.c (lldiv): Likewise.
3963         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3964         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3965         * stdlib/putenv.c (putenv): Likewise.
3966         * stdlib/random.c (__srandom): Likewise.
3967         (__initstate): Likewise.
3968         (__setstate): Likewise.
3969         * stdlib/random_r.c (__srandom_r): Likewise.
3970         (__setstate_r): Likewise.
3971         (__random_r): Likewise.
3972         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3973         * stdlib/setcontext.c (setcontext): Likewise.
3974         * stdlib/setenv.c (setenv): Likewise.
3975         (unsetenv): Likewise.
3976         * stdlib/srand48.c (srand48): Likewise.
3977         * stdlib/srand48_r.c (__srand48_r): Likewise.
3978         * stdlib/swapcontext.c (swapcontext): Likewise.
3979         * stdlib/system.c (__libc_system): Likewise.
3980         * stdlib/tst-strtod.c (expand): Likewise.
3981         * stdlib/tst-strtol.c (expand): Likewise.
3982         * stdlib/tst-strtoll.c (expand): Likewise.
3983         * streams/fattach.c (fattach): Likewise.
3984         * streams/fdetach.c (fdetach): Likewise.
3985         * streams/getmsg.c (getmsg): Likewise.
3986         * streams/isastream.c (isastream): Likewise.
3987         * string/ffs.c (__ffs): Likewise.
3988         * string/ffsll.c (ffsll): Likewise.
3989         * string/memcmp.c (memcmp_common_alignment): Likewise.
3990         (memcmp_not_common_alignment): Likewise.
3991         (MEMCMP): Likewise.
3992         * string/memcpy.c (memcpy): Likewise.
3993         * string/memmove.c (MEMMOVE): Likewise.
3994         * string/memset.c (memset): Likewise.
3995         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3996         * string/strchrnul.c (STRCHRNUL): Likewise.
3997         * string/strerror.c (strerror): Likewise.
3998         * string/strndup.c (__strndup): Likewise.
3999         * string/strverscmp.c (__strverscmp): Likewise.
4000         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4001         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4002         (clnttcp_freeres): Likewise.
4003         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4004         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4005         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4006         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4007         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4008         (xdr_callhdr): Likewise.
4009         * sunrpc/rpcinfo.c (udpping): Likewise.
4010         (tcpping): Likewise.
4011         (pstatus): Likewise.
4012         (pmapdump): Likewise.
4013         (brdcst): Likewise.
4014         (deletereg): Likewise.
4015         (getprognum): Likewise.
4016         (getvers): Likewise.
4017         (get_inet_address): Likewise.
4018         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4019         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4020         (svcudp_stat): Likewise.
4021         (svcudp_recv): Likewise.
4022         (svcudp_reply): Likewise.
4023         (svcudp_getargs): Likewise.
4024         (svcudp_freeargs): Likewise.
4025         (svcudp_destroy): Likewise.
4026         * sunrpc/xdr.c (xdr_bytes): Likewise.
4027         (xdr_netobj): Likewise.
4028         (xdr_string): Likewise.
4029         (xdr_wrapstring): Likewise.
4030         * sunrpc/xdr_float.c (xdr_float): Likewise.
4031         (xdr_double): Likewise.
4032         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4033         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4034         * sysvipc/ftok.c (ftok): Likewise.
4035         * sysvipc/msgctl.c (msgctl): Likewise.
4036         * sysvipc/msgget.c (msgget): Likewise.
4037         * sysvipc/msgrcv.c (msgrcv): Likewise.
4038         * sysvipc/msgsnd.c (msgsnd): Likewise.
4039         * sysvipc/semget.c (semget): Likewise.
4040         * sysvipc/semop.c (semop): Likewise.
4041         * sysvipc/shmat.c (shmat): Likewise.
4042         * sysvipc/shmctl.c (shmctl): Likewise.
4043         * sysvipc/shmdt.c (shmdt): Likewise.
4044         * sysvipc/shmget.c (shmget): Likewise.
4045         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4046         * termios/speed.c (cfgetospeed): Likewise.
4047         (cfgetispeed): Likewise.
4048         (cfsetospeed): Likewise.
4049         (cfsetispeed): Likewise.
4050         * termios/tcflow.c (tcflow): Likewise.
4051         * termios/tcflush.c (tcflush): Likewise.
4052         * termios/tcgetattr.c (__tcgetattr): Likewise.
4053         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4054         * termios/tcgetsid.c (tcgetsid): Likewise.
4055         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4056         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4057         * time/adjtime.c (__adjtime): Likewise.
4058         * time/dysize.c (dysize): Likewise.
4059         * time/ftime.c (ftime): Likewise.
4060         * time/getitimer.c (__getitimer): Likewise.
4061         * time/gettimeofday.c (__gettimeofday): Likewise.
4062         * time/gmtime.c (__gmtime_r): Likewise.
4063         (gmtime): Likewise.
4064         * time/localtime.c (__localtime_r): Likewise.
4065         (localtime): Likewise.
4066         * time/offtime.c (__offtime): Likewise.
4067         * time/settimeofday.c (__settimeofday): Likewise.
4068         * time/stime.c (stime): Likewise.
4069         * time/strftime_l.c (tm_diff): Likewise.
4070         (iso_week_days): Likewise.
4071         * time/strptime.c (strptime): Likewise.
4072         * time/time.c (time): Likewise.
4073         * time/timespec_get.c (timespec_get): Likewise.
4074         * time/tzset.c (tzset_internal): Likewise.
4075         (compute_change): Likewise.
4076         (__tz_compute): Likewise.
4077         * wcsmbs/btowc.c (__btowc): Likewise.
4078         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4079         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4080         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4081         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4082         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4083         * wcsmbs/wcscat.c (__wcscat): Likewise.
4084         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4085         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4086         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4087         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4088         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4089         * wcsmbs/wcslen.c (__wcslen): Likewise.
4090         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4091         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4092         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4093         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4094         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4095         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4096         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4097         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4098         * wcsmbs/wcstok.c (wcstok): Likewise.
4099         * wcsmbs/wctob.c (wctob): Likewise.
4100         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4101         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4102         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4103         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4104         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4105         * wcsmbs/wmemset.c (__wmemset): Likewise.
4106         * wctype/wcfuncs.c (__towlower): Likewise.
4107         (__towupper): Likewise.
4109         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4110         (lll_unlock_elision): Add adapt_count parameter.
4112 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4114         * sysdeps/nptl/configure.ac: Do not give errors based on the
4115         results of top-level configure tests.
4116         * sysdeps/nptl/configure: Regenerated.
4118         * configure.ac (libc_cv_Bgroup): Remove configure test.
4119         * configure: Regenerated.
4120         * config.make.in (have-Bgroup): Remove variable.
4122         * configure.ac (sizeof_long_double): Remove configure test.
4123         * configure: Regenerated.
4124         * config.make.in (sizeof-long-double): Remove variable.
4126         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4127         * configure: Regenerated.
4128         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4129         variable.
4130         (exceptions): Likewise.
4131         * sysdeps/arm/configure: Regenerated.
4132         * config.make.in (exceptions): Remove variable.
4133         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4134         $(exceptions).
4135         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4136         (CFLAGS-vdprintf_chk.c): Likewise.
4137         (CFLAGS-printf_chk.c): Likewise.
4138         (CFLAGS-fprintf_chk.c): Likewise.
4139         (CFLAGS-vprintf_chk.c): Likewise.
4140         (CFLAGS-vfprintf_chk.c): Likewise.
4141         (CFLAGS-gets_chk.c): Likewise.
4142         (CFLAGS-fgets_chk.c): Likewise.
4143         (CFLAGS-fgets_u_chk.c): Likewise.
4144         (CFLAGS-fread_chk.c): Likewise.
4145         (CFLAGS-fread_u_chk.c): Likewise.
4146         (CFLAGS-wprintf_chk.c): Likewise.
4147         (CFLAGS-fwprintf_chk.c): Likewise.
4148         (CFLAGS-vwprintf_chk.c): Likewise.
4149         (CFLAGS-vfwprintf_chk.c): Likewise.
4150         (CFLAGS-fgetws_chk.c): Likewise.
4151         (CFLAGS-fgetws_u_chk.c): Likewise.
4152         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4153         (CFLAGS-fputc.c): Likewise.
4154         (CFLAGS-fputwc.c): Likewise.
4155         (CFLAGS-freopen64.c): Likewise.
4156         (CFLAGS-freopen.c): Likewise.
4157         (CFLAGS-fseek.c): Likewise.
4158         (CFLAGS-fseeko64.c): Likewise.
4159         (CFLAGS-fseeko.c): Likewise.
4160         (CFLAGS-ftello64.c): Likewise.
4161         (CFLAGS-ftello.c): Likewise.
4162         (CFLAGS-fwide.c): Likewise.
4163         (CFLAGS-genops.c): Likewise.
4164         (CFLAGS-getc.c): Likewise.
4165         (CFLAGS-getchar.c): Likewise.
4166         (CFLAGS-getwc.c): Likewise.
4167         (CFLAGS-getwchar.c): Likewise.
4168         (CFLAGS-iofclose.c): Likewise.
4169         (CFLAGS-iofflush.c): Likewise.
4170         (CFLAGS-iofgetpos64.c): Likewise.
4171         (CFLAGS-iofgetpos.c): Likewise.
4172         (CFLAGS-iofgets.c): Likewise.
4173         (CFLAGS-iofgetws.c): Likewise.
4174         (CFLAGS-iofputs.c): Likewise.
4175         (CFLAGS-iofputws.c): Likewise.
4176         (CFLAGS-iofread.c): Likewise.
4177         (CFLAGS-iofsetpos64.c): Likewise.
4178         (CFLAGS-iofsetpos.c): Likewise.
4179         (CFLAGS-ioftell.c): Likewise.
4180         (CFLAGS-iofwrite.c): Likewise.
4181         (CFLAGS-iogetdelim.c): Likewise.
4182         (CFLAGS-iogetline.c): Likewise.
4183         (CFLAGS-iogets.c): Likewise.
4184         (CFLAGS-iogetwline.c): Likewise.
4185         (CFLAGS-ioputs.c): Likewise.
4186         (CFLAGS-ioseekoff.c): Likewise.
4187         (CFLAGS-ioseekpos.c): Likewise.
4188         (CFLAGS-iosetbuffer.c): Likewise.
4189         (CFLAGS-iosetvbuf.c): Likewise.
4190         (CFLAGS-ioungetc.c): Likewise.
4191         (CFLAGS-ioungetwc.c): Likewise.
4192         (CFLAGS-oldfileops.c): Likewise.
4193         (CFLAGS-oldiofclose.c): Likewise.
4194         (CFLAGS-oldiofgetpos64.c): Likewise.
4195         (CFLAGS-oldiofgetpos.c): Likewise.
4196         (CFLAGS-oldiofsetpos64.c): Likewise.
4197         (CFLAGS-oldiofsetpos.c): Likewise.
4198         (CFLAGS-peekc.c): Likewise.
4199         (CFLAGS-putc.c): Likewise.
4200         (CFLAGS-putchar.c): Likewise.
4201         (CFLAGS-putwc.c): Likewise.
4202         (CFLAGS-putwchar.c): Likewise.
4203         (CFLAGS-rewind.c): Likewise.
4204         (CFLAGS-wfileops.c): Likewise.
4205         (CFLAGS-wgenops.c): Likewise.
4206         (CFLAGS-oldiofopen.c): Likewise.
4207         (CFLAGS-iofopen.c): Likewise.
4208         (CFLAGS-iofopen64.c): Likewise.
4209         (CFLAGS-oldtmpfile.c): Likewise.
4210         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4211         (CFLAGS-fprintf.c): Likewise.
4212         (CFLAGS-printf.c): Likewise.
4213         (CFLAGS-vfwprintf.c): Likewise.
4214         (CFLAGS-vfscanf.c): Likewise.
4215         (CFLAGS-vfwscanf.c): Likewise.
4216         (CFLAGS-fscanf.c): Likewise.
4217         (CFLAGS-scanf.c): Likewise.
4218         (CFLAGS-isoc99_vfscanf.c): Likewise.
4219         (CFLAGS-isoc99_vscanf.c): Likewise.
4220         (CFLAGS-isoc99_fscanf.c): Likewise.
4221         (CFLAGS-isoc99_scanf.c): Likewise.
4222         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4223         (CFLAGS-isoc99_fwscanf.c): Likewise.
4224         (CFLAGS-isoc99_vwscanf.c): Likewise.
4225         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4227         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4228         after mkstemp64.
4229         * login/tst-utmp.c (do_prepare): Likewise.
4230         * rt/tst-aio.c (do_prepare): Likewise.
4231         * rt/tst-aio64.c (do_prepare): Likewise.
4233 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4235         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4236         (__lll_lock_elision): Remove adapt_count decrement...
4237         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4238         (__lll_trylock_elision): Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4240         (__lll_unlock_elision): ... to here. And utilize
4241         new adapt_count parameter.
4242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4243         (__lll_unlock_elision): Update to include adapt_count
4244         parameter.
4245         (lll_unlock_elision): Pass pointer to adapt_count
4246         variable.
4248 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4250         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4251         Add elision adapt_count parameter to list of arguments.
4252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4253         (lll_unlock_elision): Update with new parameter list
4254         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4255         (lll_unlock_elision): Likewise
4256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4257         (lll_unlock_elision): Likewise
4259 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4261         [BZ #19122]
4262         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4263         attribute_hidden.
4265         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4266         attribute_hidden.
4267         [IS_IN (rtld)] (__strdup): Likewise.
4268         [IS_IN (rtld)] (__strerror_r): Likewise.
4269         [IS_IN (rtld)] (__strsep_g): Likewise.
4270         [IS_IN (rtld)] (memchr): Likewise.
4271         [IS_IN (rtld)] (memcmp): Likewise.
4272         [IS_IN (rtld)] (memcpy): Likewise.
4273         [IS_IN (rtld)] (memmove): Likewise.
4274         [IS_IN (rtld)] (memset): Likewise.
4275         [IS_IN (rtld)] (rawmemchr): Likewise.
4276         [IS_IN (rtld)] (stpcpy): Likewise.
4277         [IS_IN (rtld)] (strchr): Likewise.
4278         [IS_IN (rtld)] (strcmp): Likewise.
4279         [IS_IN (rtld)] (strlen): Likewise.
4280         [IS_IN (rtld)] (strnlen): Likewise.
4281         [IS_IN (rtld)] (strsep): Likewise.
4283         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4284         attribute_hidden.
4285         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4287         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4288         attribute_hidden.
4289         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4291         * include/setjmp.h (__longjmp): Add attribute_hidden.
4292         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4294         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4295         Add attribute_hidden.
4297         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4298         [IS_IN (rtld)] (__open): Likewise.
4299         [IS_IN (rtld)] (__fcntl): Likewise.
4301         * include/dirent.h (__opendirat): Add attribute_hidden.
4302         (__getdents): Likewise.
4303         (__getdents64): Likewise.
4304         (__alloc_dir): Likewise.
4305         [IS_IN (rtld)] (__closedir): Likewise.
4306         [IS_IN (rtld)] (__fdopendir): Likewise.
4307         [IS_IN (rtld)] (__readdir): Likewise.
4308         [IS_IN (rtld)] (__readdir64): Likewise.
4309         [IS_IN (rtld)] (__rewinddir): Likewise.
4311         * include/dlfcn.h (_dl_catch_error): Moved to ...
4312         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4313         attribute_hidden.
4315         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4316         (_itoa_word): Likewise.
4318         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4319         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4320         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4321         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4322         (_dl_higher_prime_number): Likewise.
4323         (_dl_debug_printf_c): Likewise.
4324         (_dl_signal_cerror): Likewise.
4325         (_dl_receive_error): Likewise.
4326         (_dl_reloc_bad_type): Likewise.
4327         (_dl_resolve_conflicts): Likewise.
4328         (_dl_check_all_versions): Likewise.
4329         (_dl_check_map_versions): Likewise.
4330         (_dl_sort_fini): Likewise.
4331         (_dl_debug_initialize): Likewise.
4332         (_dl_init_paths): Likewise.
4333         (_dl_show_auxv): Likewise.
4334         (_dl_next_ld_env_entry): Likewise.
4335         (_dl_important_hwcaps): Likewise.
4336         (_dl_load_cache_lookup): Likewise.
4337         (_dl_update_slotinfo): Likewise.
4338         (_dl_show_scope): Likewise.
4340         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4341         attribute_hidden.
4342         (_wordcopy_fwd_dest_aligned): Likewise.
4343         (_wordcopy_bwd_aligned): Likewise.
4344         (_wordcopy_bwd_dest_aligned): Likewise.
4346         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4347         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4348         Likewise.
4349         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4350         Likewise.
4351         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4353 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4356         GCC 5 requirement.
4358 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4360         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4361         test.
4362         * sysdeps/i386/configure: Regenerated.
4363         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4364         code unconditional.
4366         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4367         test.
4368         (libc_cv_asm_popsection_directive): Likewise.
4369         * configure: Regenerated.
4370         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4371         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4372         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4373         (__make_section_unallocated): Make definition unconditional.
4374         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4375         Remove conditional definition.
4376         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4377         (__make_section_unallocated): Likewise.
4379         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4380         * configure: Regenerated.
4381         * config.make.in (static-libgcc): Remove variable.
4382         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4383         $(static-libgcc).
4384         (build-module-helper): Likewise.
4386         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4387         * configure: Regenerated.
4389 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4391         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4392         (struct char_buffer): New type.
4393         (char_buffer_start, char_buffer_size, char_buffer_error)
4394         (char_buffer_rewind, char_buffer_add): New functions.
4395         (ADDW): Remove macro, replaced by the char_buffer_add function.
4396         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4397         of extend_alloca.  Make control flow more explicit.
4399 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4401         [BZ #19137]
4402         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4403         Add -fomit-frame-pointer.
4404         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4406 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4408         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4409         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4411         only if !__GNUC_PREREQ (5,0).
4412         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4413         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4414         (INTERNAL_SYSCALL_NCS): Likewise.
4415         (LOADREGS_0): New macro for GCC 5.
4416         (ASMARGS_0): Likewise.
4417         (LOADREGS_1): Likewise.
4418         (ASMARGS_1): Likewise.
4419         (LOADREGS_2): Likewise.
4420         (ASMARGS_2): Likewise.
4421         (LOADREGS_3): Likewise.
4422         (ASMARGS_3): Likewise.
4423         (LOADREGS_4): Likewise.
4424         (ASMARGS_4): Likewise.
4425         (LOADREGS_5): Likewise.
4426         (ASMARGS_5): Likewise.
4427         (LOADREGS_6): Likewise.
4428         (ASMARGS_6): Likewise.
4430 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4432         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4433         -fomit-frame-pointer.
4434         (CFLAGS-mmap64.c): Likewise.
4435         (CFLAGS-semtimedop.c): Likewise.
4436         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4437         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4438         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4439         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4441 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4443         [BZ #18928]
4444         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4445         _dl_pointer_guard member.
4446         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4447         initializer.
4448         (security_init): Always set up pointer guard.
4449         (process_envvars): Do not process LD_POINTER_GUARD.
4451 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4453         [BZ #19134]
4454         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4455         (.LC2): Likewise.
4456         (.LC3): Likewise.
4457         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4459 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4461         [BZ #19129]
4462         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4463         r0 and r1.
4465 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4467         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4469 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4471         * include/stap-probe.h: Fix macro definition formatting.
4473 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4475         [BZ #19074]
4476         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4477         load and store num_ifs.
4479 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4481         [BZ #18822]
4482         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4483         (__sched_getaffinity_new): Add libc_hidden_proto and
4484         libc_hidden_def.
4486 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4488         [BZ #19007]
4489         * scripts/localplt.awk: Also allow GOT references.
4490         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4491         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4492         with "+ REL R_386_GLOB_DAT".
4493         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4494         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4496 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4498         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4499         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4500         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4501         Likewise.
4502         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4503         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4504         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4505         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4506         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4507         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4508         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4509         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4510         Likewise.
4511         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4513 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #19125]
4516         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4517         <math_private.h> and <stdint.h>.
4518         (__llround): Avoid conversions to and from long long int, and
4519         subtractions, where those might raise spurious exceptions.
4520         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4521         <math_private.h> and <stdint.h>.
4522         (__llroundf): Avoid conversions to and from long long int, and
4523         subtractions, where those might raise spurious exceptions.
4525 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4527         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4528         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4529         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4530         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4531         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4532         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4533         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4534         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4535         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4536         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4537         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4538         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4539         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4540         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4541         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4542         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4543         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4544         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4545         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4546         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4547         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4548         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4549         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4550         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4551         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4552         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4553         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4554         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4555         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4556         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4557         (__xstat64_conv): Likewise.
4558         (__xstat32_conv): Likewise.
4560 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4562         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4563         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4564         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4565         <sysdeps/unix/sysv/linux/sysdep.h>.
4566         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4567         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4568         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4569         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4570         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4571         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4572         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4573         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4574         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4579         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4580         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4582         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4583         (sysdep-dl-routines): Add sysdep.
4584         [$(subdir) == nptl] (libpthread-routines): Likewise.
4585         [$(subdir) == rt] (librt-routines): Likewise.
4586         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4587         PIC when branching to SYSCALL_ERROR_LABEL.
4588         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4590         <sysdeps/unix/sysv/linux/sysdep.h>.
4591         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4592         (SYSCALL_ERROR_ERRNO): Removed.
4593         (SYSCALL_ERROR_HANDLER): Changed to empty.
4594         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4595         (__syscall_error): New prototype.
4596         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4597         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4599 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4601         [BZ #19124]
4602         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4603         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4604         _dl_runtime_resolve_avx.
4605         (_dl_runtime_profile_avx512): Make it a hidden alias of
4606         _dl_runtime_profile_avx.
4608 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4610         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4611         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4612         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4613         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4615         [BZ #16422]
4616         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4617         New configure test.
4618         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4619         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4620         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4621         <math_private.h> and <stdint.h>.
4622         (__llrint): Avoid conversions to long long int where those might
4623         raise spurious exceptions.
4624         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4625         <math_private.h> and <stdint.h>.
4626         (__llrintf): Avoid conversions to long long int where those might
4627         raise spurious exceptions.
4629 2015-10-12  Andreas Schwab  <schwab@suse.de>
4631         [BZ #18969]
4632         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4633         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4634         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4635         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4636         $(gen-locales).
4637         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4638         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4639         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4640         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4641         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4642         $(gen-locales).
4643         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4644         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4645         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4646         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4647         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4648         ($(objpfx)tst-ftell-active-handler.out)
4649         ($(objpfx)tst-ftell-append.out)
4650         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4651         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4652         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4653         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4654         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4655         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4656         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4657         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4658         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4659         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4660         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4661         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4662         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4663         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4664         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4665         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4666         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4667         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4668         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4669         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4670         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4671         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4672         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4673         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4674         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4675         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4676         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4677         $(gen-locales).
4678         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4679         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4680         $(gen-locales).
4681         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4682         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4683         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4684         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4685         $(gen-locales).
4686         * libio/tst_wprintf2.c (main): Use explicit locale.
4687         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4689 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4691         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4692         __msg_sig_post.
4693         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4695 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4697         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4698         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4700         * sysdeps/arm/libm-test-ulps: Regenerated.
4702         [BZ #15470]
4703         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4705         [BZ #16399]
4706         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4707         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4708         and <fix-fp-int-convert-overflow.h>.
4709         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4710         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4711         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4712         and <fix-fp-int-convert-overflow.h>.
4713         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4714         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4715         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4716         <fix-fp-int-convert-overflow.h>.
4717         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4718         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4719         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4720         <fix-fp-int-convert-overflow.h>.
4721         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4722         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4723         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4724         and <fix-fp-int-convert-overflow.h>.
4725         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4726         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4727         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4728         <limits.h> and <fix-fp-int-convert-overflow.h>.
4729         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4730         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4731         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4732         and <fix-fp-int-convert-overflow.h>.
4733         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4734         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4735         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4736         and <fix-fp-int-convert-overflow.h>.
4737         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4738         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4739         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4741 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4743         [BZ #18589]
4744         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4745         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4746         $(gen-locales).
4748 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4749             Phil Blundell <pb@pbcl.net>
4751         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4752         * nptl/tst-cancel26.c: New file.
4753         * nptl/tst-cancel27.c: Likewise.
4755 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4757         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4758         __ILP32__ isn't defined.
4759         (lrint): Likewise.
4760         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4761         (lrintf): Likewise.
4762         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4763         (lrintl): Likewise.
4764         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4765         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4766         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4768 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4773         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4774         file.
4775         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4776         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4778 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4780         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4781         configure test.
4782         * sysdeps/i386/configure: Regenerated.
4783         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4784         configure test.
4785         * sysdeps/x86_64/configure: Regenerated.
4786         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4787         Make code unconditional.
4789         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4790         test.
4791         * sysdeps/i386/configure: Regenerated.
4792         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4793         test.
4794         * sysdeps/x86_64/configure: Regenerated.
4795         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4796         Make code unconditional.
4797         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4798         Likewise.
4799         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4800         Likewise.
4801         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4802         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4803         code unconditional.
4804         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4805         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4806         code unconditional.
4807         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4808         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4809         code unconditional.
4810         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4811         code unconditional.
4812         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4813         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4814         code unconditional.
4815         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4816         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4817         code unconditional.
4818         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4819         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4820         code unconditional.
4821         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4822         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4823         code unconditional.
4824         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4825         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4827         [BZ #19095]
4828         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4829         mantissa to long int before shifting left.
4831 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4833         [BZ #19094]
4834         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4835         <limits.h>.
4836         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4837         when result overflows but exception would not result from cast.
4838         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4839         <limits.h>.
4840         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4841         when result overflows but exception would not result from cast.
4842         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4843         <limits.h>.
4844         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4845         when result overflows but exception would not result from cast.
4846         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4847         <limits.h>.
4848         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4849         when result overflows but exception would not result from cast.
4850         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4851         <limits.h>.
4852         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4853         when result overflows but exception would not result from cast.
4854         * math/libm-test.inc (lrint_test_data): Add more tests.
4855         (llrint_test_data): Likewise.
4857 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4859         [BZ #18872]
4860         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4861         Move out from under [$(run-built-tests) = yes] conditional.
4862         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4863         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4865 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4867         [BZ #18589]
4868         * string/Makefile (tests): Add bug-strcoll2.
4869         (LOCALES): Add cs_CZ.UTF-8.
4870         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4872         [BZ #18589]
4873         * string/bug-strcoll2.c: New file.
4874         * locale/categories.def: Revert commit
4875         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4876         * locale/langinfo.h: Likewise.
4877         * locale/localeinfo.h: Likewise.
4878         * locale/C-collate.c: Likewise.
4879         * locale/programs/ld-collate.c (collate_output): Likewise.
4880         * string/strcoll_l.c (STRDIFF): Likewise.
4881         (STRCOLL): Likewise.
4882         * wcsmbs/wcscoll_l.c: Likewise.
4884 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4886         * math/libm-test.inc (lround_test_data): Do not expect the absence
4887         of "inexact" for some tests with non-integer arguments.
4888         (llround_test_data): Likewise.
4890         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4891         test.
4892         (libc_cv_cc_sse2avx): Likewise.
4893         * sysdeps/i386/configure: Regenerated.
4894         * sysdeps/i386/i686/multiarch/Makefile
4895         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4896         [$(subdir) = math].
4897         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4898         code unconditional.
4899         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4900         Likewise.
4901         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4902         Likewise.
4903         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4904         Likewise.
4905         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4906         test.
4907         (libc_cv_cc_sse2avx): Likewise.
4908         * sysdeps/x86_64/configure: Regenerated.
4909         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4910         unconditional.
4911         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4912         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4913         unconditional.
4914         (_dl_runtime_profile)
4915         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4916         conditional code.
4917         * sysdeps/x86_64/fpu/multiarch/Makefile
4918         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4919         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4920         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4921         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4922         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4923         * sysdeps/x86_64/fpu/multiarch/e_log.c
4924         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4925         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4926         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4927         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4928         Likewise.
4929         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4930         Likewise.
4931         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4932         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4933         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4935         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4936         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4937         (HAVE_SSE2AVX_SUPPORT): Likewise.
4939 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4941         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4942         instead of #pragma optimize.
4944 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4946         [BZ #17195]
4947         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4948         as is similarly done in systrim and _int_free already.
4950 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4952         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4954 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4956         [BZ #19088]
4957         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4958         <limits.h>.
4959         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4960         overflows but exception would not result from cast.
4961         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4962         and <limits.h>.
4963         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4964         overflows but exception would not result from cast.
4965         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4966         <limits.h>.
4967         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4968         overflows but exception would not result from cast.
4969         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4970         <limits.h>.
4971         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4972         overflows but exception would not result from cast.
4973         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4974         <limits.h>.
4975         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4976         overflows but exception would not result from cast.
4977         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4978         <limits.h>.
4979         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4980         overflows but exception would not result from cast.
4981         * math/libm-test.inc (lround_test_data): Add more tests.
4982         (llround_test_data): Likewise.
4984 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4986         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4987         (CFLAGS-ialloc.c): Ditto.
4988         (CFLAGS-scheck.c): Ditto.
4990 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4992         [BZ #19086]
4993         * manual/filesys.texi (Storage Allocation): Fix argument order for
4994         posix_fallocate64.
4996 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4998         [BZ #19085]
4999         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5000         exponent below 48 inside case for non-overflowing exponent.
5001         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5003 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5005         * iconvdata/cp737.h (from_idx): Add const.
5006         * iconvdata/cp775.h (from_idx): Likewise.
5008 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5010         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5011         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5012         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5014         [BZ #19079]
5015         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5016         file, conditioned on [!_LP64].
5017         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5018         [!_LP64] (__lround): Do not define as function or alias.
5019         [!_LP64] (lround): Likewise.
5020         [!_LP64] (__lroundl): Likewise.
5021         [!_LP64] (lroundl): Likewise.
5022         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5023         macro.
5024         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5025         Likewise.
5027 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5029         * math/libm-test.inc (lrint_test_data): Add more tests.
5030         (llrint_test_data): Likewise.
5031         (lround_test_data): Likewise.
5032         (llround_test_data): Likewise.
5034         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5035         (llrint_test_data): Add tests used for lrint.
5037         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5038         test.
5039         * sysdeps/i386/configure: Regenerated.
5040         * sysdeps/i386/i686/multiarch/Makefile
5041         [$(config-cflags-sse4) = yes]: Make code unconditional.
5042         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5043         Likewise.
5044         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5045         Likewise.
5046         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5047         test.
5048         * sysdeps/x86_64/configure: Regenerated.
5049         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5050         Make code unconditional.
5051         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5052         Likewise.
5053         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5054         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5056         * scripts/rpm2dynsym.sh: Remove file.
5058 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5060         * configure.ac (libc_cv_cxx_thread_local): Define.
5061         * configure: Regenerate.
5062         * config.make.in (have-cxx-thread_local): Define.
5063         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5064         (LDLIBS-tst-thread_local1): Define.
5065         (tests): Add tst-thread_local1.
5066         [have-cxx-thread_local != yes] (tests-unsupported): Add
5067         tst-thread_local1.
5068         * nptl/tst-thread_local1.cc: New file.
5070 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5072         [BZ #19078]
5073         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5074         (u_thres): Likewise.
5075         (__expl): Determine whether to call __kernel_standard_l based on
5076         value of result, not argument.
5078         * math/libm-test.inc (scalb_test_data): Add more expectations for
5079         the "inexact" exception.
5081         [BZ #19077]
5082         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5083         0.0L for argument 1.0L.
5085         [BZ #19076]
5086         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5087         constant 0.0L when computing infinite result.
5089 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5091         [BZ #10432]
5092         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5093         malloc_usable_size.
5095 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5097         [BZ #19018]
5098         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5099         Mangle function pointer before storing it.
5100         (__call_tls_dtors): Demangle function pointer before calling it.
5102 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5104         [BZ #19012]
5105         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5106         Clean up on failure.
5108 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5110         [BZ #19071]
5111         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5112         long int variable to store possibly incremented high part of
5113         mantissa.
5114         * math/libm-test.inc (lround_test_data): Add tests used for
5115         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5116         for tests requiring 64-bit long.  Do not condition tests on
5117         [TEST_FLOAT] unnecessarily.
5118         (llround_test_data): Add tests used for lround.  Add another
5119         expectation for the "inexact" exception.  Do not condition tests
5120         on [TEST_FLOAT] unnecessarily.
5122         [BZ #887]
5123         [BZ #19049]
5124         [BZ #19050]
5125         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5126         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5127         <fix-int-fp-convert-zero.h>.
5128         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5129         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5130         <fix-int-fp-convert-zero.h>.
5131         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5132         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5133         <fix-int-fp-convert-zero.h>.
5134         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5135         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5136         <fix-int-fp-convert-zero.h>.
5137         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5138         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5139         <fix-int-fp-convert-zero.h>.
5140         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5141         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5142         <fix-int-fp-convert-zero.h>.
5143         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5144         * sysdeps/ieee754/flt-32/s_erff.c: Include
5145         <fix-int-fp-convert-zero.h>.
5146         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5147         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5148         <fix-int-fp-convert-zero.h>.
5149         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5151         <fix-int-fp-convert-zero.h>.
5152         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5154         <fix-int-fp-convert-zero.h>.
5155         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5156         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5157         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5158         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5159         file.
5160         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5162 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5166 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5168         [BZ #19059]
5169         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5170         overflowing computation.
5171         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5172         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5173         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5174         Likewise.
5175         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5176         Likewise.
5177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5178         Likewise.
5179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5180         Likewise.
5181         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5182         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5183         Likewise.
5184         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5185         Likewise.
5186         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5188         * nss/rewrite_field.c (__nss_rewrite_field): Use
5189         internal_function.
5190         * nss/valid_field.c (__nss_valid_field): Likewise.
5191         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5193 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5195         [BZ #18724]
5196         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5197         (__nss_invalid_field_characters, __nss_valid_field)
5198         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5199         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5200         tst-field.c: New file.
5201         * nss/Makefile (routines): Add valid_field, rewrite_field.
5202         (tests-static): Define unconditionally.
5203         (tests): Include tests-static.
5204         [build-static-nss] (tests-static): Use append.
5205         [build-static-nss] (tests): Remove modification.
5206         * nss/getent.c (print_group): Call putgrent.  Report error.
5207         (print_gshadow): Call putsgent.  Report error.
5208         (print_passwd): Call putpwent.  Report error.
5209         (print_shadow): Call putspent.  Report error.
5210         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5211         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5212         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5213         name, password, directory, shell fields for valid syntax.  Rewrite
5214         GECOS field to match syntax.
5215         * pwd/Makefile (tests): Add tst-putpwent.
5216         * pwd/tst-putpwent.c: New file.
5217         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5218         Check grName, grpasswd, gr_mem fields for valid syntax.
5219         Change loop variable i to size_t.
5220         * grp/Makefile (tests): Add tst-putgrent.
5221         * grp/tst-putgrent.c: New file.
5222         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5223         valid syntax.
5224         * shadow/Makefile (tests): Add tst-putspent.
5225         * shadow/tst-putspent.c: New file.
5226         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5227         sg_mem fields for valid syntax.
5228         * gshadow/Makefile (tests): Add tst-putsgent.
5229         * gshadow/tst-putsgent.c: New file.
5231 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5233         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5234         assembly instructions.
5236 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5238         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5239         prefix from operands.
5241 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #16347]
5244         [BZ #19046]
5245         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5246         <libc-internal.h>.
5247         (MAXLGM): Do not use diagnostic control macros.
5248         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5249         threshold for ldbl-128ibm.
5250         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5251         instead of multiplying by log then subtracting.
5252         * math/auto-libm-test-in: Add more tests of lgamma.
5253         * math/auto-libm-test-out: Regenerated.
5255         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5256         (TYPE_HEX_DIG): Likewise.
5257         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5258         precisions when printing floating-point numbers.
5259         (check_float_internal): Likewise.
5261 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5263         [BZ #16620]
5264         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5265         of log (10) rounded downward to 48 bits.
5266         (log10_low): Use corresponding low part of log (10).
5268         [BZ #19032]
5269         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5270         compute result as (x - x) / (x - x) not as 0 / 0.
5271         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5272         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5274         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5275         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5276         and expm1.
5277         * math/auto-libm-test-out: Regenerated.
5278         * math/libm-test.inc (acos_test_data): Add more tests.
5279         (asin_test_data): Likewise.
5280         (asinh_test_data): Likewise.
5281         (atan_test_data): Likewise.
5282         (atanh_test_data): Likewise.
5283         (atan2_test_data): Likewise.
5284         (cbrt_test_data): Likewise.
5285         (ceil_test_data): Likewise.
5286         (copysign_test_data): Likewise.
5287         (cos_test_data): Likewise.
5288         (cosh_test_data): Likewise.
5289         (erf_test_data): Likewise.
5290         (erfc_test_data): Likewise.
5291         (exp_test_data): Likewise.
5292         (exp10_test_data): Likewise.
5293         (exp2_test_data): Likewise.
5294         (expm1_test_data): Likewise.
5295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5297 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5299         [BZ #19006]
5300         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5301         to ...
5302         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5303         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5304         to ...
5305         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5306         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5307         to ...
5308         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5309         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5310         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5311         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5312         to ...
5313         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5314         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5315         Moved to ...
5316         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5317         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5318         Moved to ...
5319         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5320         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5321         to ...
5322         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5323         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5324         Moved to ...
5325         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5326         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5327         to ...
5328         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5329         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5330         Removed.
5331         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5336         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5337         Likewise.
5338         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5339         Likewise.
5340         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5341         Likewise.
5342         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5343         Likewise.
5344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5345         Likewise.
5346         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5349         Likewise.
5350         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5351         Likewise.
5352         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5355         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5356         Likewise.
5357         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5364         Likewise.
5365         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5366         Replace ../i486/pthread_cond_timedwait.S with
5367         ../pthread_cond_timedwait.S.
5369 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5371         * math/libm-test.inc (acos_test_data): Refine expectations for
5372         errno and "inexact" exceptions.
5373         (acosh_test_data): Likewise.
5374         (asin_test_data): Likewise.
5375         (asinh_test_data): Likewise.
5376         (atan_test_data): Likewise.
5377         (atanh_test_data): Likewise.
5378         (atan2_test_data): Likewise.
5379         (cbrt_test_data): Likewise.
5380         (ceil_test_data): Likewise.
5381         (copysign_test_data): Likewise.
5382         (cosh_test_data): Likewise.
5383         (erf_test_data): Likewise.
5384         (erfc_test_data): Likewise.
5385         (exp_test_data): Likewise.
5386         (exp10_test_data): Likewise.
5387         (exp2_test_data): Likewise.
5388         (expm1_test_data): Likewise.
5389         (fabs_test_data): Likewise.
5390         (floor_test_data): Likewise.
5391         (fma_test_data): Likewise.
5392         (fmax_test_data): Likewise.
5393         (fmin_test_data): Likewise.
5394         (fmod_test_data): Likewise.
5395         (fpclassify_test_data): Likewise.
5396         (frexp_test_data): Likewise.
5397         (hypot_test_data): Likewise.
5398         (ilogb_test_data): Likewise.
5399         (isgreater_test_data): Likewise.
5400         (isgreaterequal_test_data): Likewise.
5401         (isinf_test_data): Likewise.
5402         (isless_test_data): Likewise.
5403         (islessequal_test_data): Likewise.
5404         (islessgreater_test_data): Likewise.
5405         (isnan_test_data): Likewise.
5406         (isnormal_test_data): Likewise.
5407         (issignaling_test_data): Likewise.
5408         (isunordered_test_data): Likewise.
5409         (j0_test_data): Likewise.
5410         (j1_test_data): Likewise.
5411         (jn_test_data): Likewise.
5412         (lgamma_test_data): Likewise.
5413         (lrint_test_data): Likewise.
5414         (llrint_test_data): Likewise.
5415         (log_test_data): Likewise.
5416         (log10_test_data): Likewise.
5417         (log1p_test_data): Likewise.
5418         (log2_test_data): Likewise.
5419         (logb_test_data): Likewise.
5420         (lround_test_data): Likewise.
5421         (llround_test_data): Likewise.
5422         (modf_test_data): Likewise.
5423         (nearbyint_test_data): Likewise.
5424         (nextafter_test_data): Likewise.
5425         (nexttoward_test_data): Likewise.
5426         (pow_test_data): Likewise.
5427         (remainder_test_data): Likewise.
5428         (remquo_test_data): Likewise.
5429         (rint_test_data): Likewise.
5430         (round_test_data): Likewise.
5431         (signbit_test_data): Likewise.
5432         (sinh_test_data): Likewise.
5433         (sqrt_test_data): Likewise.
5434         (tanh_test_data): Likewise.
5435         (tgamma_test_data): Likewise.
5436         (trunc_test_data): Likewise.
5437         (y0_test_data): Likewise.
5438         (y1_test_data): Likewise.
5439         (yn_test_data): Likewise.
5440         (significand_test_data): Likewise.
5442 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5444         * manual/filesys.texi (Storage Allocation): Document that
5445         posix_fallocate emulation fails when fd is open with O_WRONLY.
5447 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5449         [BZ #19016]
5450         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5451         allow more cases with X^2 + Y^2 >= 0.5.
5452         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5453         normal element in sum instead of special-casing based on values of
5454         arguments.
5455         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5456         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5457         -1 as normal element in sum instead of special-casing based on
5458         values of arguments.
5459         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5460         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5461         (__x2y2m1): Update comment.
5462         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5463         as normal element in sum instead of special-casing based on values
5464         of arguments.
5465         * math/s_clog.c (__clog): Handle more cases using log1p without
5466         hypot.
5467         * math/s_clog10.c (__clog10): Likewise.
5468         * math/s_clog10f.c (__clog10f): Likewise.
5469         * math/s_clog10l.c (__clog10l): Likewise.
5470         * math/s_clogf.c (__clogf): Likewise.
5471         * math/s_clogl.c (__clogl): Likewise.
5472         * math/auto-libm-test-in: Add more tests of clog and clog10.
5473         * math/auto-libm-test-out: Regenerated.
5474         * sysdeps/i386/fpu/libm-test-ulps: Update.
5475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5477 2015-09-28  Martin Sebor  <msebor@redhat.com>
5479         [BZ #18969]
5480         * string/Makefile (LOCALES): Define.
5481         (gen-locales.mk): Include.
5482         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5483         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5484         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5485         on setlocale failure.
5487 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5489         [BZ #18985]
5490         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5491         (__strftime_internal): Likewise.
5492         * time/tst-strftime.c (do_bz18985): New test.
5493         (do_test): Call it.
5495 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5497         [BZ #18956]
5498         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5499         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5500         extracting high part.
5501         * math/auto-libm-test-in: Add another test of pow.
5502         * math/auto-libm-test-out: Regenerated.
5503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5505 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5507         [BZ #18825]
5508         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5509         New macro.
5510         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5511         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5512         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5513         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5514         DBL_NARROW_EVAL, reloading the PIC register as needed.
5515         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5516         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5517         FLT_NARROW_EVAL.  Use separate return path for case when first
5518         argument is NaN.
5519         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5520         DEFINE_LDBL_MIN.
5521         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5522         PIC register.
5523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5524         math_check_force_underflow_nonneg.
5525         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5526         underflow for subnormal result.
5527         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5529         math_check_force_underflow_nonneg.
5530         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5531         math_check_force_underflow.
5532         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5533         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5534         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5535         DEFINE_LDBL_MIN.
5536         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5537         * math/auto-libm-test-in: Add more tests of pow.
5538         * math/auto-libm-test-out: Regenerated.
5540 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5542         * nss/bug17079.c (init_test_items): Add diagnostic for
5543         inconsistent entries.
5544         (test_buffer_size): Skip inconsistent entries.
5546 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5548         [BZ #13304]
5549         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5550         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5551         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5553         [BZ #13304]
5554         * sysdeps/microblaze/s_fma.c: New file.
5555         * sysdeps/microblaze/s_fmaf.c: Likewise.
5556         * sysdeps/microblaze/sfp-machine.h: Likewise.
5558 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5560         [BZ #17250]
5561         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5562         member.
5564 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #18803]
5567         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5568         (MO): New macro.
5569         (__ieee754_hypot) [PIC]: Load PIC register.
5570         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5571         DBL_NARROW_EVAL.
5572         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5573         math_check_force_underflow_nonneg in case where result might be
5574         tiny.
5575         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5576         Likewise.
5577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5578         Likewise.
5579         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5580         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5581         * math/auto-libm-test-in: Add more tests of hypot.
5582         * math/auto-libm-test-out: Regenerated.
5584 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5586         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5588 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5590         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5591         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5592         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5593         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5594         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5595         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5596         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5598         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5599         LOAD_PIC_REG.
5601         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5602         (FLT_CHECK_FORCE_UFLOW): Likewise.
5603         (DBL_CHECK_FORCE_UFLOW): Likewise.
5604         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5605         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5606         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5607         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5608         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5609         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5610         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5611         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5612         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5613         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5614         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5615         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5616         (flt_min): Replace with use of DEFINE_FLT_MIN.
5617         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5618         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5620         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5621         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5622         (flt_min): Replace with use of DEFINE_FLT_MIN.
5623         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5624         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5626         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5627         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5628         (flt_min): Replace with use of DEFINE_FLT_MIN.
5629         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5630         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5631         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5632         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5633         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5634         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5635         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5636         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5638         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5639         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5640         (flt_min): Replace with use of DEFINE_FLT_MIN.
5641         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5642         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5643         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5644         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5645         main computation.
5646         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5647         (flt_min): Replace with use of DEFINE_FLT_MIN.
5648         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5649         main computation.
5650         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5651         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5652         (MO): New macro.
5653         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5654         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5655         (flt_min): Replace with use of DEFINE_FLT_MIN.
5656         (MO): New macro.
5657         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5658         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5659         (__log1pl): Use MO.
5661         [BZ #19003]
5662         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5663         $(config-cflags-nofma).
5665 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5667         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5669 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5671         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5672         (TWO127): Likewise.
5674         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5675         (min_of_type): Likewise.
5676         (math_check_force_underflow): Likewise.
5677         (math_check_force_underflow_nonneg): Likewise.
5678         (math_check_force_underflow_complex): Likewise.
5679         * math/e_exp2l.c (__ieee754_exp2l): Use
5680         math_check_force_underflow_nonneg.
5681         * math/k_casinh.c (__kernel_casinh): Likewise.
5682         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5683         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5684         * math/s_catan.c (__catan): Use
5685         math_check_force_underflow_complex.
5686         * math/s_catanf.c (__catanf): Likewise.
5687         * math/s_catanh.c (__catanh): Likewise.
5688         * math/s_catanhf.c (__catanhf): Likewise.
5689         * math/s_catanhl.c (__catanhl): Likewise.
5690         * math/s_catanl.c (__catanl): Likewise.
5691         * math/s_ccosh.c (__ccosh): Likewise.
5692         * math/s_ccoshf.c (__ccoshf): Likewise.
5693         * math/s_ccoshl.c (__ccoshl): Likewise.
5694         * math/s_cexp.c (__cexp): Likewise.
5695         * math/s_cexpf.c (__cexpf): Likewise.
5696         * math/s_cexpl.c (__cexpl): Likewise.
5697         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5698         * math/s_clog10.c (__clog10): Likewise.
5699         * math/s_clog10f.c (__clog10f): Likewise.
5700         * math/s_clog10l.c (__clog10l): Likewise.
5701         * math/s_clogf.c (__clogf): Likewise.
5702         * math/s_clogl.c (__clogl): Likewise.
5703         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5704         * math/s_csinf.c (__csinf): Likewise.
5705         * math/s_csinh.c (__csinh): Likewise.
5706         * math/s_csinhf.c (__csinhf): Likewise.
5707         * math/s_csinhl.c (__csinhl): Likewise.
5708         * math/s_csinl.c (__csinl): Likewise.
5709         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5710         * math/s_csqrtf.c (__csqrtf): Likewise.
5711         * math/s_csqrtl.c (__csqrtl): Likewise.
5712         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5713         * math/s_ctanf.c (__ctanf): Likewise.
5714         * math/s_ctanh.c (__ctanh): Likewise.
5715         * math/s_ctanhf.c (__ctanhf): Likewise.
5716         * math/s_ctanhl.c (__ctanhl): Likewise.
5717         * math/s_ctanl.c (__ctanl): Likewise.
5718         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5719         instead of volatile.
5720         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5721         math_check_force_underflow.
5722         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5723         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5724         volatile when forcing underflow.
5725         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5726         math_check_force_underflow_nonneg.
5727         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5728         Likewise.
5729         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5730         math_check_force_underflow.
5731         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5732         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5733         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5734         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5735         math_check_force_underflow_nonneg.
5736         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5737         math_check_force_underflow.
5738         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5740         instead of volatile.
5741         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5742         math_check_force_underflow.
5743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5744         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5745         math_check_force_underflow_nonneg.
5746         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5747         math_check_force_underflow.
5748         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5749         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5750         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5751         math_check_force_underflow_nonneg.
5752         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5753         Likewise.
5754         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5755         math_check_force_underflow.
5756         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5757         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5758         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5759         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5760         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5761         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5762         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5763         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5764         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5765         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5766         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5767         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5768         Likewise.
5769         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5770         math_check_force_underflow_nonneg.
5771         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5772         Likewise.
5773         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5774         math_check_force_underflow.
5775         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5776         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5777         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5778         Likewise.
5779         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5780         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5781         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5782         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5783         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5784         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5786         instead of volatile.
5787         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5788         math_check_force_underflow.
5789         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5791         math_check_force_underflow.
5792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5793         Likewise.
5794         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5795         Use math_check_force_underflow_nonneg.
5796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5797         math_check_force_underflow.
5798         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5799         Likewise.
5800         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5801         Likewise.
5802         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5803         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5804         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5805         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5806         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5807         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5808         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5809         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5810         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5811         math_check_force_underflow_nonneg.
5812         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5813         math_check_force_underflow.
5814         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5815         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5816         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5817         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5818         math_check_force_underflow_nonneg.
5819         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5820         math_check_force_underflow.
5821         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5822         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5823         instead of volatile.
5824         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5825         math_check_force_underflow.
5827         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5828         * stdlib/strtod_l.c: Include <math_private.h>.
5829         (overflow_value): Use math_narrow_eval.
5830         (underflow_value): Likewise.
5831         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5832         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5833         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5834         (__ieee754_gamma_r): Likewise.
5835         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5836         Likewise.
5837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5838         Likewise.
5839         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5840         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5841         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5842         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5843         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5844         (__ieee754_gammaf_r): Likewise.
5845         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5846         Likewise.
5847         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5848         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5849         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5850         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5851         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5852         volatile.
5853         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5854         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5855         math_narrow_eval.
5856         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5857         Likewise.
5858         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5859         Likewise.
5860         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5861         Likewise.
5862         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5863         volatile.
5864         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5865         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5866         math_narrow_eval.
5867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5868         Likewise.
5869         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5870         Likewise.
5872 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5874         * nptl/Versions: Remove ignored symbols.
5876 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5878         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5879         * nss/Makefile (tests): Update.
5881 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5883         * nss/bug18287.c: New file.
5884         * nss/Makefile (tests): Add bug18287.
5886 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5888         * mach/Versions (__mach_host_self_): Add symbol.
5890 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5892         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5893         vm_page_size.
5895 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5897         Really fix sysdeps/i386/fpu/s_scalbn.S build
5899         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5900         (libc: GLIBC_2_22): Remove unused version set.
5902 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5904         * config.make.in (enable-timezone-tools): New variable.
5905         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5906         (enable_timezone_tools): Export to generated files.
5907         * configure: Regenerate.
5908         * INSTALL: Regenerate.
5909         * manual/install.texi (--disable-timezone-tools): Document new flag.
5910         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5911         ifeq ($(enable-timezone-tools),yes) check.
5913 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5915         * timezone/Makefile: Revert previous change.
5917         [BZ #18980]
5918         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5919         (DEFINE_DBL_MIN): Likewise.
5920         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5921         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5922         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5923         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5924         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5925         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5926         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5927         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5928         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5929         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5930         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5931         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5932         (flt_min): Replace with use of DEFINE_FLT_MIN.
5933         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5934         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5935         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5936         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5937         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5938         (flt_min): Replace with use of DEFINE_FLT_MIN.
5939         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5940         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5941         (flt_min): Replace with use of DEFINE_FLT_MIN.
5942         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5943         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5944         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5945         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5946         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5947         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5948         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5949         (__ieee754_pow): Use DBL_NARROW_EVAL.
5950         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5951         (__ieee754_powf): Use FLT_NARROW_EVAL.
5952         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5953         (__ieee754_expf_sse2): Convert double-precision result to single
5954         precision.
5955         * sysdeps/i386/fpu/libm-test-ulps: Update.
5957 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5959         * timezone/Makefile: Ignore unused variable errors due to private.h
5960         (time_t_min) and (time_t_max).
5961         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5962         Likewise.
5964 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5966         [BZ #18981]
5967         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5968         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5969         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5970         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5971         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5972         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5973         (__scalbn): Use DBL_NARROW_EVAL.
5974         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5975         (__scalbnf): Use FLT_NARROW_EVAL.
5977 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5979         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5980         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5981         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5982         * stdio-common/printf_fp.c (___printf_fp):
5983         Use signbit to get the sign. Use isinf macro to allow inlining.
5984         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5985         * stdio-common/printf_size.c (__printf_size): Likewise.
5987 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5989         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5991 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5993         [BZ #18980]
5994         * sysdeps/generic/math_private.h: Include <float.h>.
5995         (math_narrow_eval): New macro.
5996         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5997         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5998         math_narrow_eval on overflowing return value.
5999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6000         Likewise.
6001         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6002         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6003         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6004         Likewise.
6005         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6007 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6009         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6010         * math/Makefile: Remove isinf_ns.c.
6011         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6012         * math/multc3.c (__multc3): Likewise.
6013         * math/s_casin.c (__casin): Likewise.
6014         * math/s_casinf.c (__casinf): Likewise.
6015         * math/s_casinl.c (__casinl): Likewise.
6016         * math/s_cproj.c (__cproj): Likewise.
6017         * math/s_cprojf.c (__cprojf): Likewise.
6018         * math/s_cprojl.c (__cprofl): Likewise.
6019         * math/s_ctan.c (__ctan): Likewise.
6020         * math/s_ctanf.c (__ctanf): Likewise.
6021         * math/s_ctanh.c (__ctanh): Likewise.
6022         * math/s_ctanhf.c (__ctanhf): Likewise.
6023         * math/s_ctanhl.c (__ctanhl): Likewise.
6024         * math/s_ctanl.c (__ctanl): Likewise.
6025         * math/w_fmod.c (__fmod): Likewise.
6026         * math/w_fmodf.c (__fmodf): Likewise.
6027         * math/w_fmodl.c (_fmodl): Likewise.
6028         * math/w_remainder.c (__remainder): Likewise.
6029         * math/w_remainderf.c (__remainderf): Likewise.
6030         * math/w_remainderl.c (__remainderl): Likewise.
6031         * math/w_scalb.c (__scalb): Likewise.
6032         * math/w_scalbf.c (__scalbf): Likewise.
6033         * math/w_scalbl.c (__scalbl): Likewise.
6034         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6035         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6036         with isinf.
6037         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6039         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6040         __isinf_nsf with isinf.
6041         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6042         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6043         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6044         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6045         with isinf.
6046         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6047         __isinf_nsl with isinf.
6048         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6049         with isinf.
6050         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6051         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6052         __isinf_nsl with isinf.
6053         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6054         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6055         with isinf.
6057 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6059         * resolv/base64.c (rcsid): Remove unused static.
6060         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6061         static.  (tqpi1): Likewise.
6062         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6063         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6064         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6065         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6067         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6068         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6069         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6070         Likewise.
6072 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6074         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6075         <nptl/pthreadP.h>.
6076         (_longjmp_unwind): Use __libc_ptf_call.
6077         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6079 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6081         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6082         * sysdeps/arm/__longjmp.S: Likewise
6084 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6086         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6087         Use __builtin_signbit.
6088         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6089         Use __builtin_signbitf.
6090         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6091         Use __builtin_signbitl.
6092         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6093         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6095 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6097         [BZ #15367]
6098         [BZ #17441]
6100         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6101         * math/math.h (fpclassify): Use __builtin_fpclassify when
6102         available.  (signbit): Use __builtin_signbit(f/l).
6103         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6104         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6105         (isinf): Use __builtin_isinf_sign.
6107 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6109         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6110         * benchtests/bench-math-inlines.c: New benchmark.
6111         * benchtests/bench-util.h: New file.
6112         * benchtests/bench-util.c: New file.
6113         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6115 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6117         * elf/tst-dlmopen1.c: Define TEST_SO.
6118         (do_test): Use TEST_SO.
6120         * elf/dl-load.c: Include libc-internal.h.
6121         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6123 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6125         [BZ #17887]
6126         * time/strptime_l.c (__strptime_internal): Make %z accept
6127         [+-]HH:MM time zones.
6129 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6131         [BZ #17886]
6132         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6133         valid time zone.
6135 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6137         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6138         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6139         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6140         (__ASSUME_FDATASYNC): Delete.
6142 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6144         * conform/linknamespace.pl: Require weak undefined symbols to be
6145         in the standard namespace.
6146         (%strong_syms): Rename to %seen_syms.
6147         (%strong_seen): Rename to %seen_where.
6149 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6151         [BZ #18970]
6152         * misc/error.c (error): Replace pthread_setcancelstate with
6153         __pthread_setcancelstate.
6154         (error_at_line): Likewise.
6155         * posix/wordexp.c (parse_comm): Likewise.
6156         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6157         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6158         (__pthread_setcancelstate): This.
6159         (pthread_setcancelstate): Add an alias.
6160         * nptl/nptl-init.c (pthread_functions): Replace
6161         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6162         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6163         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6164         hidden_proto.
6165         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6166         it with hidden_def.
6167         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6168         (pthread_setcancelstate): Renamed to ...
6169         (__pthread_setcancelstate): This.
6170         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6171         __libc_ptf_call with __pthread_setcancelstate.
6173 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6174             Andreas Schwab  <schwab@suse.de>
6176         [BZ #17118]
6177         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6178         result when imaginary part of argument is infinite using sine and
6179         cosine.
6180         * math/s_ctanf.c (__ctanf): Likewise.
6181         * math/s_ctanl.c (__ctanl): Likewise.
6182         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6183         of result when real part of argument is infinite using sine and
6184         cosine.
6185         * math/s_ctanhf.c (__ctanhf): Likewise.
6186         * math/s_ctanhl.c (__ctanhl): Likewise.
6187         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6188         (ctanh_test_data): Add more tests of ctanh.
6190 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6192         [BZ #15384]
6193         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6194         bit-mask as in subtraction.
6195         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6196         Likewise.
6197         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6198         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6199         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6201         [BZ #18951]
6202         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6203         underflow exception for small results.
6204         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6205         Likewise.
6206         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6207         Likewise.
6208         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6209         Likewise.
6210         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6211         Likewise.
6212         * math/auto-libm-test-in: Add more tests of tgamma.
6213         * math/auto-libm-test-out: Regenerated.
6215 2015-09-17  Andreas Schwab  <schwab@suse.de>
6217         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6219 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6221         [BZ #18977]
6222         * math/bits/mathcalls.h
6223         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6224         not declare.
6225         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6226         Likewise.
6227         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6228         Likewise.
6229         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6230         Likewise.
6231         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6232         Likewise.
6233         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6234         Likewise.
6235         * conform/data/math.h-data
6236         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6237         function.
6238         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6239         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6240         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6241         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6242         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6243         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6244         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6245         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6246         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6247         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6248         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6250         [BZ #6803]
6251         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6252         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6253         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6254         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6255         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6256         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6257         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6258         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6259         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6261         Likewise.
6262         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6263         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6264         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6265         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6266         long_double_symbol calls.
6267         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6268         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6269         strong alias of __ldexpl.
6270         (scalbnl): Define using long_double_symbol.
6271         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6272         Remove alias.
6273         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6274         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6275         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6276         (scalbln_test_data): Add more errno expectations.
6278 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6280         Cache the host port like we cache the task port.  This way we do not
6281         need to call the kernel just to get the port.  Furthermore, we no
6282         longer increase the reference count on every invocation of
6283         `mach_host_self'.
6285         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6286         Protect declarations against the macro expansion.
6287         * mach/mach_init.c (__mach_host_self_): New variable.
6288         (mach_init): Initialize `__mach_host_self_'.
6289         * mach/mach_init.h (__mach_host_self_): New declaration.
6290         (__mach_host_self, mach_host_self): New macros.
6291         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6292         Release reference.
6294 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #4404]
6297         * po/de.po: Update from Translation Project.
6299         [BZ #16415]
6300         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6301         (__expm1l): Remove code to handle positive infinity and overflow.
6302         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6303         variable.
6304         (__expm1l): Remove code to handle positive infinity and overflow.
6306 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6307             Paul Pluzhnikov  <ppluzhnikov@google.com>
6309         [BZ #18872]
6310         * stdio-common/Makefile (tst-printf-bz18872): New test.
6311         (tst-printf-bz18872-mem.out): Likewise.
6312         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6313         * stdio-common/vfprintf.c: Fix memory leaks.
6315 2015-09-16  Andreas Schwab  <schwab@suse.de>
6317         [BZ #17244]
6318         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6319         Remove extra va_start/va_end calls.
6321         [BZ #17243]
6322         * posix/execl.c (execl): Add missing va_end.
6323         * posix/execle.c (execle): Likewise.
6324         * posix/execlp.c (execlp): Likewise.
6326 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6328         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6329         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6331 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6333         [BZ #18967]
6334         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6335         undefine around includes of <bits/mathcalls.h>.
6336         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6337         not declare function.
6338         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6339         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6340         (scalb): Likewise.
6341         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6342         not define macro.
6343         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6344         variable.
6345         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6346         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6347         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6349         [BZ #18857]
6350         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6351         return non-finite argument without doing ordered comparisons on
6352         it.
6354         [BZ #16296]
6355         * math/fenv.h (fegetround): Use __attribute_pure__.
6356         * include/fenv.h (__fegetround): Likewise.
6358         [BZ #18595]
6359         * math/s_ctan.c (__ctan): Force underflow exception for results
6360         whose real or imaginary part has small absolute value.
6361         * math/s_ctanf.c (__ctanf): Likewise.
6362         * math/s_ctanh.c (__ctanh): Likewise.
6363         * math/s_ctanhf.c (__ctanhf): Likewise.
6364         * math/s_ctanhl.c (__ctanhl): Likewise.
6365         * math/s_ctanl.c (__ctanl): Likewise.
6366         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6367         and ctanh.  Add more tests of ctan and ctanh.
6369         [BZ #15918]
6370         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6371         handling of cases where one argument is an infinity.
6373         [BZ #18875]
6374         [BZ #18966]
6375         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6376         (MO): New macro.
6377         (__ieee754_exp10): For small results, force underflow exception
6378         and remove excess range and precision from return value.
6379         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6380         (MO): New macro.
6381         (__ieee754_exp10f): For small results, force underflow exception
6382         and remove excess range and precision from return value.
6383         * math/auto-libm-test-in: Add more tests of exp10.
6384         * math/auto-libm-test-out: Regenerated.
6386 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6388         [BZ #18875]
6389         [BZ #18961]
6390         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6391         (MO): New macro.
6392         (__ieee754_exp): For small results, force underflow exception and
6393         remove excess range and precision from return value.
6394         (__exp_finite): Likewise.
6395         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6396         (MO): New macro.
6397         (__ieee754_expf): For small results, force underflow exception and
6398         remove excess range and precision from return value.
6399         (__expf_finite): Likewise.
6400         * math/auto-libm-test-in: Add more tests of exp.
6401         * math/auto-libm-test-out: Regenerated.
6403         [BZ #16521]
6404         [BZ #18875]
6405         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6406         small results.
6407         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6408         (MO): New macro.
6409         (__ieee754_exp2): For small results, force underflow exception and
6410         remove excess range and precision from return value.
6411         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6412         (MO): New macro.
6413         (__ieee754_exp2f): For small results, force underflow exception
6414         and remove excess range and precision from return value.
6415         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6416         (MO): New macro.
6417         (__ieee754_exp2l): Force underflow exception for small results.
6418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6419         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6420         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6421         (MO): New macro.
6422         (__ieee754_exp2l): Force underflow exception for small results.
6423         * math/auto-libm-test-in: Add more tests or exp2.
6424         * math/auto-libm-test-out: Regenerated.
6426 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6428         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6430         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6431         /dev/null.
6433 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6435         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6436         io fs process)): Drop spurious backslash.
6438 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6441         Use sysinfo system call instead of parsing /proc/meminfo.
6442         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6443         Likewise.
6445 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6447         [BZ #16985]
6448         * programs/localedef.c (main): Display argv[remaining] when
6449         output_path is NULL.
6451 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6453         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6454         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6455         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6456         tanh.
6457         * math/auto-libm-test-out: Regenerated.
6458         * sysdeps/i386/fpu/libm-test-ulps: Update.
6459         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6460         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6463 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6465         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6466         Use 'override' keyword to freeze the value here, preventing
6467         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6469 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #14912]
6472         * sysdeps/aarch64/bits/atomic.h: Move to ...
6473         * sysdeps/aarch64/atomic-machine.h: ...here.
6474         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6475         _AARCH64_ATOMIC_MACHINE_H.
6476         * sysdeps/alpha/bits/atomic.h: Move to ...
6477         * sysdeps/alpha/atomic-machine.h: ...here.
6478         * sysdeps/arm/bits/atomic.h: Move to ...
6479         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6480         * bits/atomic.h: Move to ...
6481         * sysdeps/generic/atomic-machine.h: ...here.
6482         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6483         * sysdeps/i386/bits/atomic.h: Move to ...
6484         * sysdeps/i386/atomic-machine.h: ...here.
6485         * sysdeps/ia64/bits/atomic.h: Move to ...
6486         * sysdeps/ia64/atomic-machine.h: ...here.
6487         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6488         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6489         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6490         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6491         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6492         * sysdeps/microblaze/bits/atomic.h: Move to ...
6493         * sysdeps/microblaze/atomic-machine.h: ...here.
6494         * sysdeps/mips/bits/atomic.h: Move to ...
6495         * sysdeps/mips/atomic-machine.h: ...here.
6496         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6497         * sysdeps/powerpc/bits/atomic.h: Move to ...
6498         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6499         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6500         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6501         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6502         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6503         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6504         <atomic-machine.h> instead of <bits/atomic.h>.
6505         * sysdeps/s390/bits/atomic.h: Move to ...
6506         * sysdeps/s390/atomic-machine.h: ...here.
6507         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6508         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6509         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6510         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6511         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6512         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6513         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6514         * sysdeps/tile/bits/atomic.h: Move to ...
6515         * sysdeps/tile/atomic-machine.h: ...here.
6516         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6517         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6518         <sysdeps/tile/atomic-machine.h> instead of
6519         <sysdeps/tile/bits/atomic.h>.
6520         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6521         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6522         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6523         <sysdeps/tile/atomic-machine.h> instead of
6524         <sysdeps/tile/bits/atomic.h>.
6525         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6526         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6527         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6528         <sysdeps/arm/atomic-machine.h> instead of
6529         <sysdeps/arm/bits/atomic.h>.
6530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6531         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6532         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6533         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6534         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6535         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6536         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6537         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6538         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6540         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6541         * sysdeps/x86_64/bits/atomic.h: Move to ...
6542         * sysdeps/x86_64/atomic-machine.h: ...here.
6543         * include/atomic.h: Include <atomic-machine.h> instead of
6544         <bits/atomic.h>.
6546         * sysdeps/mips/mips32/libm-test-ulps: Update.
6547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6549         [BZ #18952]
6550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6551         not convert non-integer negative arguments to int to determine the
6552         value of signgam.
6553         * math/auto-libm-test-in: Add more tests of lgamma.
6554         * math/auto-libm-test-out: Regenerated.
6556         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6557         cosh, csqrt, erfc, expm1 and lgamma.
6558         * math/auto-libm-test-out: Regenerated.
6559         * sysdeps/i386/fpu/libm-test-ulps: Update.
6560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6562 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6564         [BZ #2542]
6565         [BZ #2543]
6566         [BZ #2558]
6567         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6568         __lgamma_neg for arguments from -28.0 to -2.0.
6569         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6570         __lgamma_negf for arguments from -15.0 to -2.0.
6571         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6572         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6573         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6574         Call __lgamma_negl for arguments from -33.0 to -2.0.
6575         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6576         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6577         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6578         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6579         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6580         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6581         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6582         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6583         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6584         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6585         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6586         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6587         (__lgamma_neg): Likewise.
6588         (__lgamma_negl): Likewise.
6589         (__lgamma_product): Likewise.
6590         (__lgamma_productl): Likewise.
6591         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6592         * math/auto-libm-test-in: Add more tests of lgamma.
6593         * math/auto-libm-test-out: Regenerated.
6594         * sysdeps/i386/fpu/libm-test-ulps: Update.
6595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6597 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6599         [BZ #18675]
6600         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6602 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6604         [BZ #14912]
6605         * bits/libc-lock.h: Move to ...
6606         * sysdeps/generic/libc-lock.h: ...here.
6607         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6608         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6609         * sysdeps/mach/hurd/libc-lock.h: ...here.
6610         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6611         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6612         * sysdeps/mach/bits/libc-lock.h: Move to ...
6613         * sysdeps/mach/libc-lock.h: ...here.
6614         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6615         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6616         * sysdeps/nptl/libc-lock.h: ...here.
6617         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6618         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6619         * sysdeps/nptl/libc-lockP.h: ...here.
6620         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6621         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6622         <bits/libc-lock.h>.
6623         * dirent/scandir-tail.c: Likewise.
6624         * dlfcn/dlerror.c: Likewise.
6625         * elf/dl-close.c: Likewise.
6626         * elf/dl-iteratephdr.c: Likewise.
6627         * elf/dl-lookup.c: Likewise.
6628         * elf/dl-open.c: Likewise.
6629         * elf/dl-support.c: Likewise.
6630         * elf/dl-writev.h: Likewise.
6631         * elf/rtld.c: Likewise.
6632         * grp/fgetgrent.c: Likewise.
6633         * gshadow/fgetsgent.c: Likewise.
6634         * gshadow/sgetsgent.c: Likewise.
6635         * iconv/gconv_conf.c: Likewise.
6636         * iconv/gconv_db.c: Likewise.
6637         * iconv/gconv_dl.c: Likewise.
6638         * iconv/gconv_int.h: Likewise.
6639         * iconv/gconv_trans.c: Likewise.
6640         * include/link.h: Likewise.
6641         * inet/getnameinfo.c: Likewise.
6642         * inet/getnetgrent.c: Likewise.
6643         * inet/getnetgrent_r.c: Likewise.
6644         * intl/bindtextdom.c: Likewise.
6645         * intl/dcigettext.c: Likewise.
6646         * intl/finddomain.c: Likewise.
6647         * intl/gettextP.h: Likewise.
6648         * intl/loadmsgcat.c: Likewise.
6649         * intl/localealias.c: Likewise.
6650         * intl/textdomain.c: Likewise.
6651         * libidn/idn-stub.c: Likewise.
6652         * libio/libioP.h: Likewise.
6653         * locale/duplocale.c: Likewise.
6654         * locale/freelocale.c: Likewise.
6655         * locale/newlocale.c: Likewise.
6656         * locale/setlocale.c: Likewise.
6657         * login/getutent_r.c: Likewise.
6658         * login/getutid_r.c: Likewise.
6659         * login/getutline_r.c: Likewise.
6660         * login/utmp-private.h: Likewise.
6661         * login/utmpname.c: Likewise.
6662         * malloc/mtrace.c: Likewise.
6663         * misc/efgcvt.c: Likewise.
6664         * misc/error.c: Likewise.
6665         * misc/fstab.c: Likewise.
6666         * misc/getpass.c: Likewise.
6667         * misc/mntent.c: Likewise.
6668         * misc/syslog.c: Likewise.
6669         * nis/nis_call.c: Likewise.
6670         * nis/nis_callback.c: Likewise.
6671         * nis/nss-default.c: Likewise.
6672         * nis/nss_compat/compat-grp.c: Likewise.
6673         * nis/nss_compat/compat-initgroups.c: Likewise.
6674         * nis/nss_compat/compat-pwd.c: Likewise.
6675         * nis/nss_compat/compat-spwd.c: Likewise.
6676         * nis/nss_nis/nis-alias.c: Likewise.
6677         * nis/nss_nis/nis-ethers.c: Likewise.
6678         * nis/nss_nis/nis-grp.c: Likewise.
6679         * nis/nss_nis/nis-hosts.c: Likewise.
6680         * nis/nss_nis/nis-network.c: Likewise.
6681         * nis/nss_nis/nis-proto.c: Likewise.
6682         * nis/nss_nis/nis-pwd.c: Likewise.
6683         * nis/nss_nis/nis-rpc.c: Likewise.
6684         * nis/nss_nis/nis-service.c: Likewise.
6685         * nis/nss_nis/nis-spwd.c: Likewise.
6686         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6687         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6688         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6689         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6690         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6691         * nis/nss_nisplus/nisplus-network.c: Likewise.
6692         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6693         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6694         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6695         * nis/nss_nisplus/nisplus-service.c: Likewise.
6696         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6697         * nis/ypclnt.c: Likewise.
6698         * nptl/libc_pthread_init.c: Likewise.
6699         * nss/getXXbyYY.c: Likewise.
6700         * nss/getXXent.c: Likewise.
6701         * nss/getXXent_r.c: Likewise.
6702         * nss/nss_db/db-XXX.c: Likewise.
6703         * nss/nss_db/db-netgrp.c: Likewise.
6704         * nss/nss_db/nss_db.h: Likewise.
6705         * nss/nss_files/files-XXX.c: Likewise.
6706         * nss/nss_files/files-alias.c: Likewise.
6707         * nss/nsswitch.c: Likewise.
6708         * posix/regex_internal.h: Likewise.
6709         * posix/wordexp.c: Likewise.
6710         * pwd/fgetpwent.c: Likewise.
6711         * resolv/res_hconf.c: Likewise.
6712         * resolv/res_libc.c: Likewise.
6713         * shadow/fgetspent.c: Likewise.
6714         * shadow/lckpwdf.c: Likewise.
6715         * shadow/sgetspent.c: Likewise.
6716         * socket/opensock.c: Likewise.
6717         * stdio-common/reg-modifier.c: Likewise.
6718         * stdio-common/reg-printf.c: Likewise.
6719         * stdio-common/reg-type.c: Likewise.
6720         * stdio-common/vfprintf.c: Likewise.
6721         * stdio-common/vfscanf.c: Likewise.
6722         * stdlib/abort.c: Likewise.
6723         * stdlib/cxa_atexit.c: Likewise.
6724         * stdlib/fmtmsg.c: Likewise.
6725         * stdlib/random.c: Likewise.
6726         * stdlib/setenv.c: Likewise.
6727         * string/strsignal.c: Likewise.
6728         * sunrpc/auth_none.c: Likewise.
6729         * sunrpc/bindrsvprt.c: Likewise.
6730         * sunrpc/create_xid.c: Likewise.
6731         * sunrpc/key_call.c: Likewise.
6732         * sunrpc/rpc_thread.c: Likewise.
6733         * sysdeps/arm/backtrace.c: Likewise.
6734         * sysdeps/generic/ldsodefs.h: Likewise.
6735         * sysdeps/generic/stdio-lock.h: Likewise.
6736         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6737         * sysdeps/i386/backtrace.c: Likewise.
6738         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6739         * sysdeps/m68k/backtrace.c: Likewise.
6740         * sysdeps/mach/hurd/cthreads.c: Likewise.
6741         * sysdeps/mach/hurd/dirstream.h: Likewise.
6742         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6743         * sysdeps/nptl/malloc-machine.h: Likewise.
6744         * sysdeps/nptl/stdio-lock.h: Likewise.
6745         * sysdeps/posix/dirstream.h: Likewise.
6746         * sysdeps/posix/getaddrinfo.c: Likewise.
6747         * sysdeps/posix/system.c: Likewise.
6748         * sysdeps/pthread/aio_suspend.c: Likewise.
6749         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6750         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6751         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6752         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6753         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6754         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6755         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6756         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6757         * sysdeps/unix/sysv/linux/system.c: Likewise.
6758         * sysdeps/x86_64/backtrace.c: Likewise.
6759         * time/alt_digit.c: Likewise.
6760         * time/era.c: Likewise.
6761         * time/tzset.c: Likewise.
6762         * wcsmbs/wcsmbsload.c: Likewise.
6763         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6764         instead of <bits/libc-lock.h> in comment.
6766 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6768         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6769         Only use .set mips2 if the current ISA is below mips2.
6770         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6771         Likewise.
6772         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6773         mips32r2 if the current ISA is below mips32r2.
6774         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6775         (TLS_IE): Updated to use the TLD_RDHWR macro.
6776         (TLS_LE): Likewise.
6777         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6778         __ASSEMBLER__ condition.
6780 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6782         Fix parallel build of before-compile targets.
6784         * sysdeps/mach/Makefile ($(patsubst
6785         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6786         mach-before-compile target.
6787         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6788         io fs process)): Move rule to dedicated hurd-before-compile target.
6790 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6792         Fix rules generating headers in hurd/ and mach/ when initial make call
6793         has subdir= explicitly set.
6795         * sysdeps/mach/Makefile ($(patsubst
6796         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6797         calling $(MAKE).
6798         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6799         io fs process)): Force subdir to hurd when calling $(MAKE).
6800         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6801         subdir to mach when calling $(MAKE).
6803 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6805         Check sysheaders when looking for Mach and Hurd headers
6807         * sysdeps/mach/configure.ac: Add sysheaders check.
6808         * sysdeps/mach/configure: Regenerate.
6809         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6810         * sysdeps/mach/hurd/configure: Regenerate.
6812 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6814         [BZ #18921]
6815         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6816         Fix inverted sense of test of 'o_directory_works' value.
6817         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6818         Bernhard Voelker <mail@bernhard-voelker.de>.
6820 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6822         [BZ #14912]
6823         * bits/linkmap.h: Move to ...
6824         * sysdeps/generic/linkmap.h: ...here.
6825         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6826         * sysdeps/aarch64/linkmap.h: ...here.
6827         * sysdeps/arm/bits/linkmap.h: Move to ...
6828         * sysdeps/arm/linkmap.h: ...here.
6829         * sysdeps/hppa/bits/linkmap.h: Move to ...
6830         * sysdeps/hppa/linkmap.h: ...here.
6831         * sysdeps/ia64/bits/linkmap.h: Move to ...
6832         * sysdeps/ia64/linkmap.h: ...here.
6833         * sysdeps/mips/bits/linkmap.h: Move to ...
6834         * sysdeps/mips/linkmap.h: ...here.
6835         * sysdeps/s390/bits/linkmap.h: Move to ...
6836         * sysdeps/s390/linkmap.h: ...here.
6837         * sysdeps/sh/bits/linkmap.h: Move to ...
6838         * sysdeps/sh/linkmap.h: ...here.
6839         * sysdeps/x86/bits/linkmap.h: Move to ...
6840         * sysdeps/x86/linkmap.h: ...here.
6841         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6843 2015-09-04  Andreas Schwab  <schwab@suse.de>
6845         [BZ #18635]
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6847         (__makecontext): Terminate FDE before return label.
6848         (__novec_makecontext): Likewise.
6850 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6852         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6853         first member of struct sv in syscall macro.
6855 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6857         [BZ #14912]
6858         * bits/stdio-lock.h: Move to ...
6859         * sysdeps/generic/stdio-lock.h: ...here.
6860         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6861         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6862         * sysdeps/nptl/stdio-lock.h: ...here.
6863         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6864         * include/libio.h: Include <stdio-lock.h> instead of
6865         <bits/stdio-lock.h>.
6866         * sysdeps/nptl/fork.c: Likewise.
6867         * sysdeps/pthread/flockfile.c: Likewise.
6868         * sysdeps/pthread/ftrylockfile.c: Likewise.
6869         * sysdeps/pthread/funlockfile.c: Likewise.
6871         [BZ #14912]
6872         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6873         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6874         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6875         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6876         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6877         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6878         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6880 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6882         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6883         (test-xfail-tst-protected1b): New variable.
6885 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6887         [BZ #14912]
6888         * bits/libc-tsd.h: Move to ...
6889         * sysdeps/generic/libc-tsd.h: ...here.
6890         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6891         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6892         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6893         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6894         * include/ctype.h: Include <libc-tsd.h> instead of
6895         <bits/libc-tsd.h>.
6896         * include/rpc/rpc.h: Likewise.
6897         * locale/localeinfo.h: Likewise.
6898         * sunrpc/rpc_thread.c: Likewise.
6899         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6900         * sysdeps/nptl/malloc-machine.h: Likewise.
6902         * Makefile (headers): Remove bits/libc-lock.h.
6903         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6905         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6906         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6907         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6908         <bits/stdio-lock.h>.
6909         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6910         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6912 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6914         [BZ #18757]
6915         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6916         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6917         BZ #18757.
6919 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6921         * malloc/mtrace.pl: Filter out NULL entries.
6923 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6925         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6926         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6927         macro.
6929         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6930         (TCP_CC_INFO): Likewise.
6931         (TCP_SAVE_SYN): Likewise.
6932         (TCP_SAVED_SYN): Likewise.
6934 2015-08-31  Brett Neumeier <brett@neumeier.us>
6936         [BZ #18870]
6937         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6939 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6941         [BZ #18873]
6942         Fix broken overflow check in posix_fallocate
6943         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6944         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6945         Fix parenthesization typo.
6947 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6949         [BZ #18887]
6950         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6951         tst-mntent-blank-passno.
6952         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6953         * misc/tst-mntent-blank-corrupt.c: New test.
6954         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6955         * misc/tst-mntent.c (do_test): ... here.
6957 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6959         [BZ #4404]
6960         * po/de.po: Fix SIGALRM typo.
6962 2015-08-28  James Perkins  <james@loowit.net>
6964         * time/tst-strptime2.c (tests): Replace short list of test
6965         strings for strptime %z specifier with code which exhaustively
6966         tests every combination of sign and 0 to 5 digits. Tests for
6967         rejection of invalid strings.
6969 2015-08-28  James Perkins  <james@loowit.net>
6971         [BZ #16141]
6972         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6973         calculation, removing incorrect decimal time rounding, so that
6974         all minute values result in a valid seconds value.
6975         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6976         offset range limits to UTC-99:59 through UTC+99:59 to parse
6977         current and historical use cases.
6978         * time/tst-strptime2.c (tests): Modify and add tests for the
6979         strptime %z input field descriptor, specifically conversion of
6980         minutes to seconds and validating an offset range of -9959 to
6981         +9959.
6983 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6984             Dmitry V. Levin  <ldv@altlinux.org>
6986         [BZ #18877]
6987         * posix/Makefile (tests): Add tst-mmap-offset.
6988         * posix/tst-mmap.c: New file.
6989         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6990         offset calculation for negative values.
6992 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6994         * sysdeps/i386/init-arch.h: New file.
6995         * sysdeps/i386/i586/init-arch.h: Likewise.
6996         * sysdeps/i386/i686/init-arch.h: Likewise.
6997         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6998         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6999         * sysdeps/x86/cpu-features.h (bit_I586): New.
7000         (bit_I686): Likewise.
7001         (bit_CX8): Likewise.
7002         (bit_CMOV): Likewise.
7003         (index_CX8): Likewise.
7004         (index_CMOV): Likewise.
7005         (index_I586): Likewise.
7006         (index_I686): Likewise.
7007         (reg_CX8): Likewise.
7008         (reg_CMOV): Likewise.
7009         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7010         available at compile-time.
7011         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7012         available at compile-time.
7013         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7014         (USE_I686): Likewise.
7016 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7018         * sysdeps/i386/bcopy.S: New file.
7019         * sysdeps/i386/bzero.S: Likewise.
7020         * sysdeps/i386/memcpy.S: Likewise.
7021         * sysdeps/i386/memmove.S: Likewise.
7022         * sysdeps/i386/mempcpy.S: Likewise.
7023         * sysdeps/i386/memset.S: Likewise.
7024         * sysdeps/i386/bzero.c: Removed.
7025         * sysdeps/i386/memset.c: Likewise.
7026         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7027         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7028         * sysdeps/i386/i586/memset_chk.S: Likewise.
7029         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7030         * sysdeps/i386/memcpy_chk.S: Here.
7031         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7032         * sysdeps/i386/memmove_chk.S: Here.
7033         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7034         * sysdeps/i386/mempcpy_chk.S: Likewise.
7035         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7036         * sysdeps/i386/memset_chk.S: Likewise.
7038 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7040         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7041         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7042         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7043         * soft-fp/fmadf4.c: Ditto.
7044         * soft-fp/fmatf4.c: Ditto.
7046 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7048         * sysdeps/i386/i586/Implies: Removed.
7049         * sysdeps/i386/i686/Implies: Likewise.
7051 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7053         * sysdeps/i386/i486/strlen.S: Moved to ...
7054         * sysdeps/i386/strlen.S: Here.
7056 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7058         * sysdeps/i386/i486/strcat.S: Moved to ...
7059         * sysdeps/i386/strcat.S: Here.
7061 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7063         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7064         * sysdeps/i386/pthread_spin_trylock.S: Here.
7065         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7066         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7070         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7071         * sysdeps/i386/string-inlines.c: Here.
7073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7075         * sysdeps/i386/i486/htonl.S: Moved ...
7076         * sysdeps/i386/htonl.S: here.
7078 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7080         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7081         * sysdeps/i386/bits/atomic.h: Here.
7083 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7085         * sysdeps/i386/i486/Versions: Removed.
7087 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7089         [BZ #2898]
7090         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7091         Based on patch by Aurelien Jarno.
7093 2015-08-26  Stan Shebs  <stanshebs@google.com>
7095         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7096         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7098 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7100         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7101         * sysdeps/powerpc/dl-procinfo.c:
7102         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7103         feature so it shows when LD_SHOW_AUXV=1.
7105 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7107         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7108         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7109         definition.  ISA 2.07B no longer requires full sync.
7111 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7113         [BZ #18863]
7114         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7115         (si_call_addr): Define.
7116         (si_syscall): Define.
7117         (si_arch): Define.
7119 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7121         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7122         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7123         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7124         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7125         (__memset_zero_constant_len_parameter): New.
7126         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7127         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7128         (__memset_zero_constant_len_parameter): Don't define if
7129         __memset_chk or USE_AS_BZERO are defined.
7131         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7132         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7133         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7135         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7136         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7137         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7138         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7139         comments.
7140         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7141         -mno-mmx for $(all-rtld-routines).
7142         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7143         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7144         i386.
7146 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7148         * sysdeps/generic/unwind.h
7149         (_Unwind_Word): Use __mode__(__unwind_word__)
7150         instead of __mode__(__word__).
7151         (_Unwind_Sword): Likewise.
7153         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7154         (MAX_NEEDED_INPUT): New define.
7155         (MAX_NEEDED_OUTPUT): New define.
7157         * NEWS: New item for IBM z13 string optimizations.
7159         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7160         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7161         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7162         * sysdeps/s390/multiarch/Makefile
7163         (sysdep_routines): Add memrchr functions.
7164         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7165         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7167         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7168         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7169         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7170         * sysdeps/s390/multiarch/Makefile
7171         (sysdep_routines): Add wmemcmp functions.
7172         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7173         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7174         * benchtests/bench-wmemcmp.c: New File.
7175         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7177         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7178         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7179         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7180         * sysdeps/s390/multiarch/Makefile
7181         (sysdep_routines): Add wmemset functions.
7182         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7183         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7184         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7185         * string/test-memset.c: Add wmemset support.
7186         * wcsmbs/test-wmemset.c: New File.
7187         * wcsmbs/Makefile (strop-tests): Add wmemset.
7188         * benchtests/bench-memset.c: Add wmemset support.
7189         * benchtests/bench-wmemset.c: New File.
7190         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7192         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7193         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7194         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7195         * sysdeps/s390/multiarch/Makefile
7196         (sysdep_routines): Add memccpy functions.
7197         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7198         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7199         * string/memccpy.c: Use MEMCCPY if defined.
7201         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7202         * sysdeps/s390/multiarch/memchr.c: Likewise.
7203         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7204         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7205         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7206         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7207         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7208         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7209         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7210         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7212         and rawmemchr functions.
7213         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7214         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7215         and wmemchr.
7216         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7217         * string/test-memchr.c: Add wmemchr support.
7218         * wcsmbs/test-wmemchr.c: New File.
7219         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7220         * benchtests/bench-memchr.c: Add wmemchr support.
7221         * benchtests/bench-wmemchr.c: New File.
7222         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7224         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7225         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7226         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7227         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7228         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7229         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7231         wcscspn functions.
7232         * sysdeps/s390/multiarch/ifunc-impl-list.c
7233         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7234         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7235         * string/test-strcspn.c: Add wcscspn support.
7236         * wcsmbs/test-wcscspn.c: New File.
7237         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7238         * benchtests/bench-strcspn.c: Add wcscspn support.
7239         * benchtests/bench-wcscspn.c: New File.
7240         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7242         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7243         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7244         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7245         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7246         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7247         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7249         wcspbrk functions.
7250         * sysdeps/s390/multiarch/ifunc-impl-list.c
7251         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7252         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7253         * string/test-strpbrk.c: Add wcspbrk support.
7254         * wcsmbs/test-wcspbrk.c: New File.
7255         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7256         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7257         * benchtests/bench-wcspbrk.c: New File.
7258         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7260         * sysdeps/s390/multiarch/strspn-c.c: New File.
7261         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7262         * sysdeps/s390/multiarch/strspn.c: Likewise.
7263         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7264         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7265         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7266         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7268         wcsspn functions.
7269         * sysdeps/s390/multiarch/ifunc-impl-list.c
7270         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7271         * string/test-strspn.c: Add wcsspn support.
7272         * wcsmbs/test-wcsspn.c: New File.
7273         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7274         * benchtests/bench-strspn.c: Add wcsspn support.
7275         * benchtests/bench-wcsspn.c: New File.
7276         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7278         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7279         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7280         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7281         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7282         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7283         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7285         wcsrchr functions.
7286         * sysdeps/s390/multiarch/ifunc-impl-list.c
7287         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7288         * benchtests/bench-wcsrchr.c: New File.
7289         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7291         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7292         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7293         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7294         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7295         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7296         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7298         wcschrnul functions.
7299         * sysdeps/s390/multiarch/ifunc-impl-list.c
7300         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7301         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7302         * string/test-strchr.c: Add wcschrnul support.
7303         * wcsmbs/test-wcschrnul.c: New File.
7304         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7305         * benchtests/bench-strchr.c: Add wcschrnul support.
7306         * benchtests/bench-wcschrnul.c: New File.
7307         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7309         * sysdeps/s390/multiarch/strchr-c.c: New File.
7310         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7311         * sysdeps/s390/multiarch/strchr.c: Likewise.
7312         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7313         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7314         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7315         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7316         wcschr functions.
7317         * sysdeps/s390/multiarch/ifunc-impl-list.c
7318         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7319         * string/strchr.c (STRCHR): Define and use macro.
7320         * benchtests/bench-wcschr.c: New File.
7321         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7323         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7324         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7325         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7326         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7327         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7328         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7330         wcsncmp functions.
7331         * sysdeps/s390/multiarch/ifunc-impl-list.c
7332         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7333         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7334         * benchtests/bench-strncmp.c: Add wcsncmp support.
7335         * benchtests/bench-wcsncmp.c: New File.
7336         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7338         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7339         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7340         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7341         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7342         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7343         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7344         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7345         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7346         wcscmp functions.
7347         * sysdeps/s390/multiarch/ifunc-impl-list.c
7348         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7349         * string/strcmp.c (STRCMP): Define and use macro.
7350         * benchtests/bench-wcscmp.c: New File.
7351         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7352         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7353         instead of _HAVE_STRING_ARCH_memchr.
7355         * sysdeps/s390/multiarch/strncat-c.c: New File.
7356         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7357         * sysdeps/s390/multiarch/strncat.c: Likewise.
7358         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7359         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7360         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7362         wcsncat functions.
7363         * sysdeps/s390/multiarch/ifunc-impl-list.c
7364         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7365         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7366         * string/test-strncat.c: Add wcsncat support.
7367         * wcsmbs/test-wcsncat.c: New File.
7368         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7369         * benchtests/bench-strncat.c: Add wcsncat support.
7370         * benchtests/bench-wcsncat.c: New File.
7371         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7373         * sysdeps/s390/multiarch/strcat-c.c: New File.
7374         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7375         * sysdeps/s390/multiarch/strcat.c: Likewise.
7376         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7377         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7378         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7380         wcscat functions.
7381         * sysdeps/s390/multiarch/ifunc-impl-list.c
7382         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7383         * string/strcat.c (STRCAT): Define and use macro.
7384         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7385         * string/test-strcat.c: Add wcscat support.
7386         * wcsmbs/test-wcscat.c: New File.
7387         * wcsmbs/Makefile (strop-tests): Add wcscat.
7388         * benchtests/bench-strcat.c: Add wcscat support.
7389         * benchtests/bench-wcscat.c: New File.
7390         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7392         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7393         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7394         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7395         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7396         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7397         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7399         wcpncpy functions.
7400         * sysdeps/s390/multiarch/ifunc-impl-list.c
7401         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7402         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7403         * string/test-stpncpy.c: Add wcpncpy support.
7404         * wcsmbs/test-wcpncpy.c: New File.
7405         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7406         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7407         * benchtests/bench-wcpncpy.c: New File.
7408         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7410         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7411         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7412         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7413         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7414         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7415         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7416         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7418         wcsncpy functions.
7419         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7420         * sysdeps/s390/multiarch/ifunc-impl-list.c
7421         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7422         * string/test-strncpy.c: Add wcsncpy support.
7423         * wcsmbs/test-wcsncpy.c: New File.
7424         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7425         * benchtests/bench-strncpy.c: Add wcsncpy support.
7426         * benchtests/bench-wcsncpy.c: New File.
7427         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7429         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7430         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7431         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7432         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7433         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7434         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7436         wcpcpy functions.
7437         * string/stpcpy.c: Use STPCPY if defined.
7438         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7439         * sysdeps/s390/multiarch/ifunc-impl-list.c
7440         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7441         * string/test-stpcpy.c: Add wcpcpy support.
7442         * wcsmbs/test-wcpcpy.c: New File.
7443         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7444         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7445         * benchtests/bench-wcpcpy.c: New File.
7446         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7448         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7449         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7450         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7451         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7452         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7453         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7454         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7456         wcscpy functions.
7457         * sysdeps/s390/multiarch/ifunc-impl-list.c
7458         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7459         * benchtests/bench-wcscpy.c: New File.
7460         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7462         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7463         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7464         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7465         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7466         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7467         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7468         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7469         wcsnlen functions.
7470         * sysdeps/s390/multiarch/ifunc-impl-list.c
7471         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7472         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7473         * string/test-strnlen.c: Add wcsnlen support.
7474         * wcsmbs/test-wcsnlen.c: New File.
7475         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7476         * benchtests/bench-strnlen.c: Add wcsnlen support.
7477         * benchtests/bench-wcsnlen.c: New File.
7478         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7480         * sysdeps/s390/multiarch/Makefile: New File.
7481         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7482         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7483         * sysdeps/s390/multiarch/strlen.c: Likewise.
7484         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7485         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7486         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7487         * string/strlen.c (STRLEN): Define and use macro.
7488         * sysdeps/s390/multiarch/ifunc-impl-list.c
7489         (IFUNC_VX_IMPL): New macro function.
7490         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7491         * benchtests/Makefile (wcsmbs-bench): New variable.
7492         (string-bench-all): Added wcsmbs-bench.
7493         * benchtests/bench-wcslen.c: New File.
7495         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7496         s390_vx_libc_ifunc2): New macro function.
7498         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7499         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7500         assembler support.
7501         * sysdeps/s390/configure: Regenerated.
7503         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7504         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7506         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7507         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7508         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7510         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7511         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7512         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7513         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7514         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7515         (memcmp, bcmp): Use __memcmp_default as alias source.
7516         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7517         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7518         Rename to __memcmp_default.
7519         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7520         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7521         (memcpy): Use __memcpy_default as alias source.
7522         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7523         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7524         Rename to __memcpy_default.
7525         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7526         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7527         (memset): Use __memset_default as alias source.
7528         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7529         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7530         Rename to __memset_default.
7531         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7532         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7534         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7535         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7536         (memcmp, bcmp): Use __memcmp_default as alias source.
7537         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7538         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7539         Rename to __memcmp_default.
7540         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7541         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7542         (memcpy): Use __memcpy_default as alias source.
7543         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7544         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7545         Rename to __memcpy_default.
7546         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7547         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7548         (memset): Use __memset_default as alias source.
7549         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7550         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7551         Rename to __memset_default.
7552         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7553         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7555         [BZ #18610]
7556         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7557         __ieee_instruction_pointer to __unused.
7558         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7559         __ieee_instruction_pointer.
7560         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7561         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7562         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7563         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7564         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7565         Mark dxc-field as reserved.
7567 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7569         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7570         if the weak reference is not null.
7572 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7574         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7576         [BZ #11214]
7577         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7579 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7581         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7582         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7583         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7584         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7585         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7586         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7587         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7588         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7589         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7590         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7591         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7592         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7593         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7594         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7595         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7596         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7597         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7598         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7600 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7602         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7603         register other than r0 for tabort, it has special meaning.
7604         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7605         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7606         transaction before starting syscall.
7608 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7610         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7612 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7614         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7616         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7617         * sysdeps/x86_64/rtld-memset.S: Likewise.
7618         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7619         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7620         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7621         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7623         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7625 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7627         * debug/strcpy_chk.c: Improve performance.
7628         * debug/stpcpy_chk.c: Likewise.
7629         * sysdeps/x86_64/strcpy_chk.S: Remove.
7630         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7632         [BZ #18240]
7633         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7635 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7637         [BZ #15128]
7638         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7639         ifuncmain8.
7640         (modules-names): Add ifuncmod8.
7641         ($(objpfx)ifuncmain8): New rule.
7642         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7643         <cpuid.h>.
7644         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7645         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7646         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7647         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7648         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7649         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7650         * sysdeps/x86_64/ifuncmain8.c: New file.
7651         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7652         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7653         Removed.
7654         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7655         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7656         Change rtld_savespace_sse to __glibc_unused2.
7657         (RTLD_CHECK_FOREIGN_CALL): Removed.
7658         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7659         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7660         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7662 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7664         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7666 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7668         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7669         Unconditionally set __fpcr to avoid uninialized warning.
7670         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7672 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7674         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7675         is corrupt.
7677         * malloc/arena.c (arena_get2): Drop unused argument.
7678         (arena_lock): Adjust.
7679         (arena_get_retry): Likewise.
7681 2015-08-24  Andreas Schwab  <schwab@suse.de>
7683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7684         Don't define.
7685         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7686         (__ASSUME_IPC64): Don't undef.
7687         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7688         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7689         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7690         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7691         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7692         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7693         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7694         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7695         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7696         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7697         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7698         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7699         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7700         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7701         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7702         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7703         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7704         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7705         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7706         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7709 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7711         * manual/Makefile (install): Only build manual when perl is available.
7713 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7715         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7716         '#undef memcpy' by '#undef memchr'.
7718 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7720         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7721         memchr not point to the internal __GI_memchr implementation.
7723 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7725         * timezone/Makefile (CFLAGS-zdump.c): Remove
7726         -Wno-strict-prototypes.
7727         (CFLAGS-zic.c): Likewise.
7728         (CFLAGS-ialloc.c): Likewise.
7729         (CFLAGS-scheck.c): Likewise.
7731         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7732         -Wno-error=undef.
7734 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7736         * i386/i686/multiarch/strcasestr-c.c: Removed.
7737         * x86_64/multiarch/strcasestr.c: Likewise.
7738         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7739         Remove strcasestr.
7741 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7743         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7745         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7746         variables for high and low parts before possibly modifying them.
7748 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7750         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7751         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7752         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7753         of "multiarch/init-arch.h".
7754         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7755         * sysdeps/x86/init-arch.h: This.
7757 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7759         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7760         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7762 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7764         [BZ #17787]
7765         * manual/macros.texi: Add twoexp macro.
7766         * manual/filesys.texi: Fix exponents.
7767         * manual/llio.texi: Likewise.
7768         * manual/stdio.texi: Likewise.
7770 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7772         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7773         incorrect use.
7775 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7777         [BZ #18370]
7778         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7779         whose real or imaginary part has small absolute value.
7780         * math/s_csqrtf.c (__csqrtf): Likewise.
7781         * math/s_csqrtl.c (__csqrtl): Likewise.
7782         * math/auto-libm-test-in: Add more tests of csqrt.
7783         * math/auto-libm-test-out: Regenerated.
7784         * sysdeps/i386/fpu/libm-test-ulps: Update.
7786 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7788         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7789         __ppc_set_ppr_very_low): New functions.
7790         * manual/platform.texi: Add documentation about
7791         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7793 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7795         * string/stpncpy.c (stpncpy): Improve performance using
7796         __strnlen/memcpy/memset.
7798 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7800         [BZ #18796]
7801         * scripts/test-installation.pl: Don't add -lmvec to build options if
7802         libmvec wasn't built.
7804 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7806         [BZ #14341]
7807         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7808         case when there is a gap between DT_REL and DT_JMPREL sections.
7809         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7810         (LDFLAGS-tst-split-dynreloc): New.
7811         (tst-split-dynreloc-ENV): Likewise.
7812         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7813         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7815 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7817         [BZ #18822]
7818         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7819         attribute_hidden.
7820         (__xstat64_conv): Likewise.
7821         (__xstat32_conv): Likewise.
7823 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7825         [BZ #18822]
7826         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7827         Don't load %ebx when calling __setcontext.  Call __setcontext
7828         with HIDDEN_JUMPTARGET.
7829         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7830         libc_hidden_def.
7832 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7834         * sysdeps/i386/i686/Makefile
7835         [$(subdir) == string] (sysdep_routines): Moved to ...
7836         * sysdeps/i386/Makefile: Here.
7837         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7838         * sysdeps/i386/cacheinfo.c: Here.
7839         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7840         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7841         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7842         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7844 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7846         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7847         __i586__ is defined.
7848         (HAS_I686): Defined to 1 if __i686__ is defined.
7850 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7852         * elf/Makefile [$(have-z-execstack) = yes]
7853         (CPPFLAGS-tst-execstack.c): New variable.
7855         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7856         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7857         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7858         UTMPX || _HAVE_UT_TV].
7859         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7860         UTMPX || _HAVE_UT_TV - 0].
7862 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7864         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7865         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7866         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7868 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7870         * sysdeps/powerpc/dl-procinfo.c:
7871         (_dl_powerpc_cap_flags): Added missing strings for some
7872         hwcap features.
7873         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7875 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7877         Port the 0x7efe...feff pattern to GCC 6.
7878         See Steve Ellcey's bug report in:
7879         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7880         * string/memrchr.c (MEMRCHR):
7881         * string/rawmemchr.c (RAWMEMCHR):
7882         * string/strchr.c (strchr):
7883         * string/strchrnul.c (STRCHRNUL):
7884         Rewrite code to avoid issues with signed shift overflow.
7886 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7888         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7889         whether cpuid is available only if HAS_CPUID is 0.
7890         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7891         (HAS_I586): Likewise.
7892         (HAS_I686): Likewise.
7894 2015-08-18  Zack Weinberg  <zackw@panix.com>
7896         * misc/Versions (libc): Add GLIBC_2.23.
7898 2015-08-18  Alan Modra  <amodra@gmail.com>
7900         [BZ #18421]
7901         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7902         .Lp__global.
7903         (_start): Load %dp via .Lp__global.
7904         [!SHARED]: Use .section .rodata.
7906 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7908         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7909         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7911 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7913         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7914         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7918         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7919         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7921 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7923         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7924         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7926 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7928         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7929         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7931 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7933         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7934         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7936 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7938         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7942         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7943         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7944         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7945         (__ASSUME_LWS_CAS): Delete.
7947 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7949         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7950         * sysdeps/hppa/configure: Regenerated.
7951         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7952         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7953         * sysdeps/hppa/nptl/tls.h: Likewise.
7955 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7957         [BZ #18823]
7958         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7959         for scaling up small arguments.
7960         * math/s_csqrtf.c (__csqrtf): Likewise.
7961         * math/s_csqrtl.c (__csqrtl): Likewise.
7962         * math/auto-libm-test-in: Add more tests of csqrt.
7963         * math/auto-libm-test-out: Regenerated.
7965 2015-08-17  Andreas Schwab  <schwab@suse.de>
7967         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7968         version set GLIBC_2.19.
7970 2015-08-16  Zack Weinberg  <zackw@panix.com>
7972         [BZ #18681]
7973         * misc/regexp.h: This interface is no longer supported.
7974         Remove all contents, leaving only an #error directive.
7975         * misc/regexp.c (loc1, loc2, locs, step, advance):
7976         Demote to compatibility symbols.
7978 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7980         [BZ #18084]
7981         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7982         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7983         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7984         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7985         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7986         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7987         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7988         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7989         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7991 2015-08-15  Zack Weinberg  <zackw@panix.com>
7993         [BZ #18795]
7994         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7995         buffer length is known to be too large, not if it's known to be
7996         small enough.
7997         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7998         overflow at runtime, involving a length parameter, twice: once
7999         with a compile-time constant length parameter, once without.
8001 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8003         [BZ #18824]
8004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8005         scaling x * y up instead of down.
8006         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8008         * math/auto-libm-test-in: Add more tests of fma.
8009         * math/auto-libm-test-out: Regenerated.
8011 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8013         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8015 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8017         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8018         unnecessary movq.
8019         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8020         Likewise.
8022 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8024         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8025         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8026         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8027         and tgamma.
8028         * math/auto-libm-test-out: Regenerated.
8029         * sysdeps/i386/fpu/libm-test-ulps: Update.
8030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032         [BZ #16520]
8033         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8034         (__tanh): Force underflow exception for arguments with small
8035         absolute value.
8036         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8037         (__tanhf): Force underflow exception for arguments with small
8038         absolute value.
8039         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8040         (__tanhl): Force underflow exception for arguments with small
8041         absolute value.
8042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8043         (__tanhl): Force underflow exception for arguments with small
8044         absolute value.
8045         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8046         (__tanhl): Force underflow exception for arguments with small
8047         absolute value.
8048         * math/auto-libm-test-in: Add more tests of tanh.
8049         * math/auto-libm-test-out: Regenerated.
8050         * sysdeps/i386/fpu/libm-test-ulps: Update.
8052 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8054         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8055         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8057 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8059         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8060         <cpuid.h>.
8062 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8064         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8065         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8067 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8069         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8070         Remove $(objpfx)init-arch.o.
8071         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8072         init-arch.
8073         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8074         (INIT_ARCH_EXT): Defined as empty.
8075         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8077         __init_cpu_features call.  Replace HAS_XXX with
8078         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8082         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8085         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8086         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8087         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8088         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8089         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8090         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8091         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8092         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8094         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8095         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8097         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8098         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8100         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8101         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8105         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8107         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8115 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8117         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8118         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8119         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8120         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8121         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8122         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8123         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8124         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8125         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8126         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8127         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8128         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8129         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8132         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8139         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8144         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8145         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8146         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8147         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8148         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8149         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8151         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8152         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8153         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8154         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8155         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8157         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8158         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8159         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8161 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8163         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8164         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8168         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8169         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8170         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8171         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8172         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8173         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8174         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8175         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8176         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8177         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8178         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8181         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8182         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8184         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8185         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8186         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8187         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8188         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8189         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8190         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8191         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8194         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8195         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8196         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8197         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8198         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8199         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8200         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8201         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8202         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8204         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8205         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8207 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8209         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8210         (dl_platform_init): Call init_cpu_features.
8211         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8212         * sysdeps/i386/i686/cacheinfo.c
8213         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8214         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8215         * sysdeps/i386/i686/multiarch/Versions: Removed.
8216         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8217         Removed.
8218         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8219         * sysdeps/unix/sysv/linux/x86/Makefile
8220         (libpthread-sysdep_routines): Remove init-arch.
8221         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8222         <sysdeps/x86_64/dl-procinfo.c> instead of
8223         sysdeps/generic/dl-procinfo.c>.
8224         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8225         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8226         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8227         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8228         [$(subdir) == elf] (tests-static): Add
8229         tst-get-cpu-features-static.
8230         * sysdeps/x86/Versions: New file.
8231         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8232         * sysdeps/x86/cpu-features.c: Likewise.
8233         * sysdeps/x86/cpu-features.h: Likewise.
8234         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8235         * sysdeps/x86/libc-start.c: Likewise.
8236         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8237         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8238         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8239         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8240         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8241         Assume USE_MULTIARCH is defined and don't check it.
8242         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8243         (is_amd): Likewise.
8244         (max_cpuid): Likewise.
8245         (intel_check_word): Likewise.
8246         (__cache_sysconf): Don't call __init_cpu_features.
8247         (__x86_preferred_memory_instruction): Removed.
8248         (init_cacheinfo): Don't call __init_cpu_features. Replace
8249         __cpu_features with GLRO(dl_x86_cpu_features).
8250         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8251         (dl_platform_init): Call init_cpu_features.
8252         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8253         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8254         * sysdeps/x86_64/multiarch/Versions: Removed.
8255         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8256         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8257         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8258         Removed.
8259         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8261 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8263         [BZ #18820]
8264         * libio/Makefile (test-fmemopen-mem): New test.
8265         * libio/test-fmemopen.c (do_bz18820): New test.
8266         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8267         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8269 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8271         [BZ #16734]
8272         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8273         (FREE_BUF): Delete.
8274         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8275         * libio/genops.c (_IO_setb): Use malloc and free directly.
8276         (_IO_default_doallocate, _IO_default_finish): Likewise.
8277         ( _IO_unbuffer_all): Likewise.
8278         ( libc_freeres_fn): Likewise.
8279         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8280         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8281         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8282         (_IO_wdefault_doallocate): Likewise.
8284 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8286         [BZ #18086]
8287         * sysdeps/posix/nice.c (nice): Restore old errno.
8288         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8290 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8294 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8296         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8297         __bcopy and add a weak_alias to bcopy.
8298         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8299         for static build.
8301         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8302         cleanup macro usage.
8303         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8306         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8307         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8308         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8309         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8310         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8311         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8312         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8314         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8316         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8317         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8319         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8321         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8323         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8324         libc_hidden_def.
8325         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8327         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8328         (sysdep_routines): Add strstr-ppc64.
8329         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8331 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8333         [BZ #18778]
8334         * elf/Makefile (tests): Add Add tst-nodelete2.
8335         (modules-names): Add tst-nodelete2mod.
8336         (tst-nodelete2mod.so-no-z-defs): New.
8337         ($(objpfx)tst-nodelete2): Likewise.
8338         ($(objpfx)tst-nodelete2.out): Likewise.
8339         (LDFLAGS-tst-nodelete2): Likewise.
8340         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8341         out of loop through all loaded libraries.
8342         * elf/tst-nodelete2.c: New file.
8343         * elf/tst-nodelete2mod.c: Likewise.
8344         * elf/tst-znodelete-zlib.cc: Delete.
8346 2015-08-11  Andreas Schwab  <schwab@suse.de>
8348         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8349         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8350         (__openat64_nocancel): Likewise.
8352 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8354         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8355         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8356         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8357         * math/auto-libm-test-out: Regenerated.
8358         * sysdeps/i386/fpu/libm-test-ulps: Update.
8359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8361 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8363         [BZ #18790]
8364         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8365         threshold for returning +/- 1.
8366         * math/auto-libm-test-in: Add more tests of tanh.
8367         * math/auto-libm-test-out: Regenerated.
8368         * sysdeps/i386/fpu/libm-test-ulps: Update.
8370 2015-08-10  Andreas Schwab  <schwab@suse.de>
8372         [BZ #18781]
8373         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8374         MORE_OFLAGS to oflag.
8375         * io/test-lfs.c (do_test): Test openat64.
8377 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8379         [BZ #18789]
8380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8381         smaller threshold for returning the argument.
8382         * math/auto-libm-test-in: Add more tests of sinh.
8383         * math/auto-libm-test-out: Regenerated.
8384         * sysdeps/i386/fpu/libm-test-ulps: Update.
8386 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8388         [BZ #18674]
8389         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8390         break.
8392 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8394         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8395         (generated): Don't add $(addprefix z.,$(tzfiles)).
8397 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8399         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8400         * scripts/sysd-rules.awk: Likewise.
8402 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8404         * iconvdata/tst-tables.sh: Change echo -n to printf.
8405         * nss/db-Makefile: Likewise.
8406         * posix/tst-getconf.sh: Likewise.
8407         * stdio-common/tst-unbputc.sh: Likewise.
8409 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8411         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8412         MADV_*_PAGES defines behind this feature check.
8414 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8416         [BZ #18480]
8417         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8418         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8419         Define.
8420         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8421         LOAD_REGS_5, LOAD_REGS_6): Update.
8422         (INTERNAL_SYSCALL): Update using new LOAD defines.
8423         (INTERNAL_SYSCALL_NCS): Likewise.
8424         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8426 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8428         [BZ #16734]
8429         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8431 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8433         [BZ #17905]
8434         * catgets/Makefile (tst-catgets-mem): New test.
8435         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8436         * catgets/open_catalog.c (__open_catalog): Likewise.
8437         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8439 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8441         [BZ #18787]
8442         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8443         clobber registers.
8444         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8445         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8446         Cast return to __typeof (oldval).
8448 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8450         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8451         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8452         and delete sys/syscall.h include.
8454 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8456         [BZ #16517]
8457         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8458         (tan): Force underflow exception for arguments with small absolute
8459         value.
8460         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8461         (__kernel_tanf): Force underflow exception for arguments with
8462         small absolute value.
8463         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8464         (__kernel_tanl): Force underflow exception for arguments with
8465         small absolute value.
8466         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8467         (__kernel_tanl): Force underflow exception for arguments with
8468         small absolute value.
8469         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8470         (__kernel_tanl): Force underflow exception for arguments with
8471         small absolute value.
8472         * math/auto-libm-test-in: Add more tests of tan.
8473         * math/auto-libm-test-out: Regenerated.
8475 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8477         Fix sysdeps/i386/fpu/s_scalbn.S build
8479         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8481 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8483         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8485 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8487         Fix gcrt0.o compilation
8489         When static-start-installed-name is different from
8490         start-installed-name, we must not use the shared objects.
8492         * csu/Makefile
8493         (extra-objs): Add gmon-start.o when building shared library and
8494         $(static-start-installed-name) is different from
8495         $(start-installed-name).
8496         $(objpfx)g$(static-start-installed-name): When building shared
8497         library and $(static-start-installed-name) is different from
8498         $(static-start-installed-name), revert to non-shared rule,
8499         i.e. using $(objpfx)% and gmon-start.o.
8501 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8503         [BZ #16519]
8504         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8505         (__ieee754_sinh): Force underflow exception for arguments with
8506         small absolute value.
8507         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8508         (__ieee754_sinhf): Force underflow exception for arguments with
8509         small absolute value.
8510         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8511         (__ieee754_sinhl): Force underflow exception for arguments with
8512         small absolute value.
8513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8514         (__ieee754_sinhl): Force underflow exception for arguments with
8515         small absolute value.
8516         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8517         (__ieee754_sinhl): Force underflow exception for arguments with
8518         small absolute value.
8519         * math/auto-libm-test-in: Add more tests of sinh.
8520         * math/auto-libm-test-out: Regenerated.
8521         * sysdeps/i386/fpu/libm-test-ulps: Update.
8523 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8525         * libio/oldfileops.c: Include unistd.h.
8527 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8529         * stdlib/isomac.c: Include ctype.h.
8531 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8533         * dirent/tst-seekdir.c (main): Converted to ...
8534         (do_test): ... this.
8535         (TEST_FUNCTION): New macro.
8536         Include test-skeleton.c.
8537         * elf/tst-dlmodcount.c (main): Converted to ...
8538         (do_test): ... this.
8539         (TEST_FUNCTION): New macro.
8540         Include test-skeleton.c.
8541         * elf/tst-order-main.c (main): Converted to ...
8542         (do_test): ... this.
8543         (TEST_FUNCTION): New macro.
8544         Include test-skeleton.c.
8545         * elf/tst-pie2.c (main): Converted to ...
8546         (do_test): ... this.
8547         (TEST_FUNCTION): New macro.
8548         Include test-skeleton.c.
8549         * inet/tst-ether_aton.c (main): Converted to ...
8550         (do_test): ... this.
8551         (TEST_FUNCTION): New macro.
8552         Include test-skeleton.c.
8553         * misc/tst-mntent.c (main): Converted to ...
8554         (do_test): ... this.
8555         (TEST_FUNCTION): New macro.
8556         Include test-skeleton.c.
8557         * misc/tst-tsearch.c (main): Converted to ...
8558         (do_test): ... this.
8559         (TEST_FUNCTION): New macro.
8560         Include test-skeleton.c.
8561         * posix/tst-regexloc.c (main): Converted to ...
8562         (do_test): ... this.
8563         (TEST_FUNCTION): New macro.
8564         Include test-skeleton.c.
8565         * resolv/tst-aton.c (main): Converted to ...
8566         (do_test): ... this.
8567         (TEST_FUNCTION): New macro.
8568         Include test-skeleton.c.
8569         * stdio-common/test-fwrite.c (main): Converted to ...
8570         (do_test): ... this.
8571         (TEST_FUNCTION): New macro.
8572         Include test-skeleton.c.
8573         * stdio-common/tst-ferror.c (main): Converted to ...
8574         (do_test): ... this.
8575         (TEST_FUNCTION): New macro.
8576         Include test-skeleton.c.
8577         * stdio-common/tst-printf.c (main): Converted to ...
8578         (do_test): ... this.
8579         (TEST_FUNCTION): New macro.
8580         Include test-skeleton.c.
8581         * stdio-common/tst-printfsz.c (main): Converted to ...
8582         (do_test): ... this.
8583         (TEST_FUNCTION): New macro.
8584         Include test-skeleton.c.
8585         * stdlib/tst-strtod.c (main): Converted to ...
8586         (do_test): ... this.
8587         (TEST_FUNCTION): New macro.
8588         Include test-skeleton.c.
8589         * string/tst-strlen.c (main): Converted to ...
8590         (do_test): ... this.
8591         (TEST_FUNCTION): New macro.
8592         Include test-skeleton.c.
8593         * string/tst-svc.c (main): Converted to ...
8594         (do_test): ... this.
8595         (TEST_FUNCTION): New macro.
8596         Include test-skeleton.c.
8597         * time/tst-strptime.c (main): Converted to ...
8598         (do_test): ... this.
8599         (TEST_FUNCTION): New macro.
8600         Include test-skeleton.c.
8601         * timezone/tst-timezone.c (main): Converted to ...
8602         (do_test): ... this.
8603         (TEST_FUNCTION): New macro.
8604         Include test-skeleton.c.
8606 2015-08-05  Zack Weinberg  <zackw@panix.com>
8608         * misc/regexp.h: Update comments.
8610 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8612         [BZ #18635]
8613         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8614         before return label.
8616 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8618         [BZ #18661]
8619         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8620         when calling __errno_location.
8621         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8622         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8624 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8626         [BZ #18661]
8627         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8628         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8629         __gettimeofday.
8631 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8633         [BZ #18661]
8634         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8635         (__start_context): Don't use pop to restore %rdi so that stack
8636         is aligned to 16 bytes when calling __setcontext.
8638 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8640         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8641         only for libc.
8642         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8644 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8646         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8647         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8648         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8650 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8652         * string/memccpy.c (memccpy):
8653         Improve performance by using memchr/memcpy/__mempcpy.
8655 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8657         * string/strncpy.c (strncpy):
8658         Improve performance by using __strnlen/memcpy.
8660 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8662         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8663         Optimize to avoid an unnecessary FPCR read.
8665 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8667         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8668         Optimize to reduce FPCR/FPSR accesses.
8670 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8672         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8673         dead->data[category] != NULL.
8675 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8677         [BZ #18647]
8678         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8679         and |x| close to 1, use absolute value of x when computing log.
8680         * math/auto-libm-test-in: Add more tests of pow.
8681         * math/auto-libm-test-out: Regenerated.
8683 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8685         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8686         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8687         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8689 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8691         [BZ #18525]
8692         * locales/km_KH: Remove timezone definition.
8693         * locales/lo_LA: Likewise.
8694         * locales/my_MM: Likewise.
8695         * locales/nan_TW@latin: Likewise.
8696         * locales/th_TH: Likewise.
8697         * locales/uk_UA: Likewise.
8699 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8701         [BZ #18265]
8702         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8703         (wcsncat): Likewise.
8704         (wcscmp): Likewise.
8705         (wcsncmp): Likewise.
8707 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8709         * test-skeleton.c (usage): New function.
8710         (main): Call usage when opt is '?'.
8712 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8714         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8715         before first use.
8717 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8719         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8720         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8721         in there too.
8723 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8725         * version.h (RELEASE): Set to "development".
8726         (VERSION): Set to "2.22.90"
8728         * version.h (RELEASE): Set to "stable".
8729         (VERSION): Set to "2.22"
8730         * include/features.h (__GLIBC_MINOR__): Set to 22.
8732 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8734         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8735         Restructure macro to avoid "value computed is not used" warning.
8736         (atomic_compare_and_exchange_val_acq): Likewise.
8738 2015-08-04  Andreas Schwab  <schwab@suse.de>
8740         [BZ #18635]
8741         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8742         ret.
8743         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8745 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8747         * po/pl.po: Updated translation.
8748         * po/uk.po: Likewise.
8749         * po/fi.po: Likewise.
8750         * po/ko.po: Likewise.
8751         * po/ru.po: Likewise.
8752         * po/vi.po: Likewise.
8754 2015-07-31  Zack Weinberg  <zackw@panix.com>
8756         [BZ #18681]
8757         * regexp.h: Add unconditional #warning stating that this header
8758         will be removed soon.  Revise banner comment to match.
8759         (compile): Consistently use ERROR instead of RETURN to report
8760         errors (partial fix for bz#18681).
8761         * regexp.c: Don't include regexp.h. Remove some unnecessary
8762         declarations.
8764 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8766         * po/libc.pot: Regenerated.
8768 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8770         [BZ #18740]
8771         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8772         float-vlen4-arch-ext-cflags): Removed.
8773         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8774         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8776 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8778         [BZ #14113]
8779         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8780         aligned to __aligned__.
8781         (pthread_cond_t, pthread_rwlock_t): Likewise.
8783 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8785         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8787 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8789         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8790         (struct sigaction): Change sa_flags from a long to an int, and add
8791         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8793 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8795         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8796         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8797         sysdeps/generic/sysdep.h include.
8798         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8799         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8800         sysdeps/hppa/sysdep.h.
8801         (ENTRY, PSEUDO): Undefine before defining.
8803 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8805         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8806         from scratch to use INTERNAL_SYSCALL.
8808 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8810         [BZ #18078]
8811         * scripts/check-localplt.awk: Support alternate relocations.
8812         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8813         sections.
8814         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8815         malloc entries with + REL R_386_GLOB_DAT.
8816         * sysdeps/x86_64/localplt.data: New file.
8818 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8820         [BZ #18731]
8821         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8822         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8823         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8825 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8827         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8829 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8831         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8832         directly in terms of __sync_fetch_and_add and delete (int) cast.
8834 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8836         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8837         the -D_ASM_IA64_CURRENT_H flag.
8839 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8841         [BZ #18641]
8842         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8844 2015-07-27  Andreas Schwab  <schwab@suse.de>
8846         * conform/conformtest.pl (checknamespace): Filter out string
8847         literals while tokenizing.
8849 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8851         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8852         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8853         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8855 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8857         * nptl/tst-join7mod.c: Add #include <string.h>.
8859 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8861         * sysdeps/nios2/libm-test-ulps: Update.
8863 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8865         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8866         Fix order of arguments to the rt_sigprocmask syscall.
8867         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8868         Likewise.
8870 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8872         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8874 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8876         [BZ #18457]
8877         * nptl/Makefile (tests): New test case tst-join7.
8878         (modules-names): New test case module tst-join7mod.
8879         * nptl/tst-join7.c: New file.
8880         * nptl/tst-join7mod.c: New file.
8881         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8882         all translation units in libc.so, libpthread.so and rtld.
8884 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8888 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8892         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8893         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8897         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8898         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8899         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8902         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8903         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8904         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8905         implementation.
8907 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8909         [BZ #17711]
8910         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8911         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8912         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8913         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8914         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8915         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8917 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8919         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8920         instead of just saying load lock in the comments.
8922 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8924         * sysdeps/unix/Subdirs: Moved ...
8925         * sysdeps/posix/Subdirs: ... here.
8926         * login/pty.h (struct termios, struct winsize): Add forward decls.
8927         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8928         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8929         * sysdeps/arm/nacl/libc.abilist: Updated.
8930         * sysdeps/nacl/libutil.abilist: New file.
8932         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8933         (SIGWINCH): New macro.
8935         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8936         * sysdeps/arm/nacl/libc.abilist: Add it.
8938 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8940         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8942 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8944         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8945         Swap __glibc_reserved0 and sa_flags order.
8947 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8949         [BZ #18657]
8950         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8951         are pending TLS destructor calls.
8952         * include/link.h (struct link_map): Add concurrency note for
8953         L_TLS_DTOR_COUNT.
8954         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8955         Don't touch the link map flag.  Atomically increment
8956         l_tls_dtor_count.
8957         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8958         Avoid taking the load lock and don't touch the link map flag.
8959         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8960         * stdlib/Makefile (tests): Use it.
8961         * stdlib/tst-tls-atexit.c (do_test): dlopen
8962         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8963         to allow tst-tls-atexit-nodelete test case to use it.
8965 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8967         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8968         to bits/types.h.
8969         (msgqnum_t): New typedef.
8970         (msglen_t): Likewise.
8971         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8972         and msg_qbytes type to msglen_t.
8974 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8976         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8977         pad0 to __glibc_reserved0.
8978         (struct stat64): Likewise.
8980 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8982         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8983         Change sa_flags from a long to an int and add __glibc_reserved0 before
8984         it for padding.
8986 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8989         anonymous by deleting "siginfo" name.
8991 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8993         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8994         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8995         rather than __nacl_irt_filename.
8996         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8998         * NEWS: New item for arm-nacl port.
8999         * sysdeps/arm/nacl/libc.abilist: New file.
9000         * sysdeps/nacl/ld.abilist: New file.
9001         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9002         * sysdeps/nacl/libanl.abilist: New file.
9003         * sysdeps/nacl/libcrypt.abilist: New file.
9004         * sysdeps/nacl/libdl.abilist: New file.
9005         * sysdeps/nacl/libm.abilist: New file.
9006         * sysdeps/nacl/libpthread.abilist: New file.
9007         * sysdeps/nacl/libresolv.abilist: New file.
9008         * sysdeps/nacl/librt.abilist: New file.
9010 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9012         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9013         __startcontext to initialize the new context.
9014         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9015         up CFI directive to forbid further backtracing.
9017 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9019         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9020         reference.
9021         * charmaps/ANSI_X3.4-1968: Likewise.
9022         * charmaps/BS_4730: Likewise.
9023         * charmaps/BS_VIEWDATA: Likewise.
9024         * charmaps/CP1250: Likewise.
9025         * charmaps/CP1251: Likewise.
9026         * charmaps/CP1252: Likewise.
9027         * charmaps/CP1253: Likewise.
9028         * charmaps/CP1254: Likewise.
9029         * charmaps/CP1255: Likewise.
9030         * charmaps/CP1256: Likewise.
9031         * charmaps/CSN_369103: Likewise.
9032         * charmaps/EBCDIC-DK-NO: Likewise.
9033         * charmaps/GB_1988-80: Likewise.
9034         * charmaps/GREEK-CCITT: Likewise.
9035         * charmaps/GREEK7: Likewise.
9036         * charmaps/INIS-8: Likewise.
9037         * charmaps/ISIRI-3342: Likewise.
9038         * charmaps/ISO_2033-1983: Likewise.
9039         * charmaps/ISO_5427-EXT: Likewise.
9040         * locales/POSIX: Likewise.
9041         * locales/ar_SA: Likewise.
9042         * locales/be_BY: Likewise.
9043         * locales/be_BY@latin: Likewise.
9044         * locales/ca_ES: Likewise.
9045         * locales/cs_CZ: Likewise.
9046         * locales/da_DK: Likewise.
9047         * locales/de_BE: Likewise.
9048         * locales/de_CH: Likewise.
9049         * locales/de_LU: Likewise.
9050         * locales/en_AU: Likewise.
9051         * locales/en_BW: Likewise.
9052         * locales/en_CA: Likewise.
9053         * locales/en_DK: Likewise.
9054         * locales/en_GB: Likewise.
9055         * locales/en_IE: Likewise.
9056         * locales/en_NZ: Likewise.
9057         * locales/en_ZA: Likewise.
9058         * locales/en_ZW: Likewise.
9059         * locales/es_AR: Likewise.
9060         * locales/es_BO: Likewise.
9061         * locales/es_CL: Likewise.
9062         * locales/es_CO: Likewise.
9063         * locales/es_DO: Likewise.
9064         * locales/es_EC: Likewise.
9065         * locales/es_ES: Likewise.
9066         * locales/es_HN: Likewise.
9067         * locales/es_MX: Likewise.
9068         * locales/es_PA: Likewise.
9069         * locales/es_PE: Likewise.
9070         * locales/es_PY: Likewise.
9071         * locales/es_SV: Likewise.
9072         * locales/es_US: Likewise.
9073         * locales/es_UY: Likewise.
9074         * locales/es_VE: Likewise.
9075         * locales/et_EE: Likewise.
9076         * locales/fa_IR: Likewise.
9077         * locales/fo_FO: Likewise.
9078         * locales/fr_CA: Likewise.
9079         * locales/fr_CH: Likewise.
9080         * locales/gv_GB: Likewise.
9081         * locales/he_IL: Likewise.
9082         * locales/hr_HR: Likewise.
9083         * locales/id_ID: Likewise.
9084         * locales/is_IS: Likewise.
9085         * locales/it_CH: Likewise.
9086         * locales/iw_IL: Likewise.
9087         * locales/kl_GL: Likewise.
9088         * locales/ko_KR: Likewise.
9089         * locales/kw_GB: Likewise.
9090         * locales/lg_UG: Likewise.
9091         * locales/lt_LT: Likewise.
9092         * locales/lv_LV: Likewise.
9093         * locales/mi_NZ: Likewise.
9094         * locales/nhn_MX: Likewise.
9095         * locales/nl_BE: Likewise.
9096         * locales/pl_PL: Likewise.
9097         * locales/sk_SK: Likewise.
9098         * locales/sl_SI: Likewise.
9099         * locales/sv_FI: Likewise.
9100         * locales/tl_PH: Likewise.
9101         * locales/tr_TR: Likewise.
9102         * locales/vi_VN: Likewise.
9104 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9106         [BZ #17475]
9107         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9108         of tu_IN and bh_IN.
9110 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9112         [BZ #18694]
9113         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9114         bits/wordsize.h.
9115         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9117 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9119         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9120         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9121         (spawn_thread): New function.
9122         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9123         (do_test): ... here.  Use IS_LOADED to test for its
9124         availability.
9126 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9128         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9130 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9132         [BZ #18696]
9133         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9134         si_addr_bnd.
9135         (si_lower): New.
9136         (si_upper): Likewise.
9138 2015-07-16  David S. Miller  <davem@davemloft.net>
9140         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9142 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9144         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9145         buffer.
9146         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9147         fail output information.
9149 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9152         and strstr-ppc64..
9153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9154         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9155         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9156         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9157         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9159 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9161         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9162         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9163         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9164         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9166 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9168         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9169         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9170         rtld_hidden_proto.
9171         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9173 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9176         the test can fail.
9178         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9180         [BZ #18676]
9181         * elf/tst-nodelete-opened.c: New test case.
9182         * elf/tst-nodelete-opened-lib.c: New test case module.
9183         * elf/Makefile (tests, modules-names): Use them.
9184         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9185         early.
9187 2015-07-15  David S. Miller  <davem@davemloft.net>
9189         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9190         futex-intenal.h
9191         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9192         * sysdeps/sparc/sparc64/Makefile: Likewise.
9193         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9194         Remove space from macro define.
9195         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9197 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9199         [BZ #17475]
9200         * locale/iso-639.def: Update Bhili and Tulu language codes as
9201         per iso639-3.
9203 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9205         * elf/tst-leaks1.c (main): Converted to ...
9206         (do_test): ... this.
9207         (TEST_FUNCTION): New macro.
9208         Include test-skeleton.c.
9209         * localedata/tst-langinfo.c (main): Converted to ...
9210         (do_test): ... this.
9211         (TEST_FUNCTION): New macro.
9212         Include test-skeleton.c.
9213         * math/test-fpucw.c (main): Converted to ...
9214         (do_test): ... this.
9215         (TEST_FUNCTION): New macro.
9216         Include test-skeleton.c.
9217         * math/test-tgmath.c (main): Converted to ...
9218         (do_test): ... this.
9219         (TEST_FUNCTION): New macro.
9220         Include test-skeleton.c.
9221         * math/test-tgmath2.c (main): Converted to ...
9222         (do_test): ... this.
9223         (TEST_FUNCTION): New macro.
9224         Include test-skeleton.c.
9225         * setjmp/tst-setjmp.c (main): Converted to ...
9226         (do_test): ... this.
9227         (TEST_FUNCTION): New macro.
9228         Include test-skeleton.c.
9229         * stdio-common/tst-sscanf.c (main): Converted to ...
9230         (do_test): ... this.
9231         (TEST_FUNCTION): New macro.
9232         Include test-skeleton.c.
9233         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9234         (do_test): ... this.
9235         (TEST_FUNCTION): New macro.
9236         Include test-skeleton.c.
9238         * elf/tst-audit9.c (main): Converted to ...
9239         (do_test): ... this.
9240         (TEST_FUNCTION): New macro.
9241         Include test-skeleton.c.
9243 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9245         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9247 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9249         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9250         New variable.
9252 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9254         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9256 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9258         * sysdeps/generic/dl-fileid.h: New file.
9259         * sysdeps/posix/dl-fileid.h: New file.
9260         * sysdeps/nacl/dl-fileid.h: New file.
9261         * include/link.h: Include <dl-fileid.h>.
9262         (struct link_map): Replace l_dev and l_ino with l_file_id.
9263         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9264         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9265         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9267 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9269         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9271 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9273         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9274         Add iff $CXX is set.
9275         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9276         Likewise.
9277         (tst-nodelete-zmodiff): Likewise.
9278         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9280 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9282         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9284 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9286         * sysdeps/aarch64/fpu/math_private.h
9287         (define math_opt_barrier): Add AArch64 version.
9288         (math_force_eval): Likewise.
9290 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9292         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9294 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9296         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9297         %ld with %jd and cast to intmax_t.
9298         (do_test_length_zero): Likewise.
9300 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9302         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9304 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9306         * sysdeps/tile/libm-test-ulps: Regenerated.
9308         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9309         Comment out the whole function, not just its body.
9311 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9313         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9314         locks.
9316         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9318 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9320         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9321         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9323 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9325         * sysdeps/nptl/futex-internal.h: New file.
9326         * sysdeps/nacl/futex-internal.h: New file.
9327         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9328         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9329         error checking.
9330         (setxid_unmark_thread): Likewise.
9331         (__nptl_setxid): Likewise.
9332         (__wait_lookup_done): Likewise.
9333         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9334         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9335         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9336         * nptl/pthread_once.c (clear_once_control): Likewise.
9337         (__pthread_once_slow): Likewise.
9338         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9339         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9340         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9341         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9342         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9343         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9344         Likewise.
9345         (__pthread_rwlock_rdlock): Likewise.
9346         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9347         Likewise.
9348         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9349         Likewise.
9350         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9351         Likewise.
9352         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9353         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9354         Likewise.
9355         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9356         __ASSUME_PRIVATE_FUTEX check.
9357         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9358         Check that shared futexes are supported.
9359         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9360         wrappers with error checking.
9361         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9362         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9363         * nptl/pthread_barrierattr_setpshared.c
9364         (pthread_barrierattr_setpshared): Check that shared futexes are
9365         supported.
9366         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9367         Likewise.
9368         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9369         Likewise.
9370         * nptl/sem_init.c (futex_private_if_supported): Remove.
9371         (__new_sem_init): Adapt and check that shared futexes are supported.
9372         * nptl/sem_open.c (sem_open): Likewise.
9373         * nptl/sem_post.c (futex_wake): Remove.
9374         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9375         (do_futex_wait): Use futex wrappers with error checking.
9376         * nptl/sem_wait.c: Include lowlevellock.h.
9377         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9378         Use futex_supports_pshared.
9379         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9380         Use futex wrappers with error checking.
9381         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9382         Likewise.
9383         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9384         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9385         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9386         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9387         (futex_wake): Likewise.
9388         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9389         (do_futex_wait): Use futex wrappers with error checking.
9390         (__new_sem_wait_slow): Update EINTR handling.
9391         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9393 2015-07-09  Martin Sebor  <msebor@redhat.com>
9395         [BZ #18435]
9396         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9397         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9398         * nptl/Makefile (test-xfail-tst-once5): Define.
9400 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9402         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9403         * elf/dl-minimal.c: For readability, reorder some definitions and
9404         introduce more page breaks.  Include <stdio.h>.
9405         (__libc_fatal): New function.
9407         * include/unistd.h: Add rtld_hidden_proto for _exit.
9408         * posix/_exit.c: Add rtld_hidden_def.
9409         * sysdeps/mach/hurd/_exit.c: Likewise.
9410         * sysdeps/nacl/_exit.c: Likewise.
9411         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9412         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9414 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9417         bndmov encoding with zero displacement.
9419 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9420             H.J. Lu  <hongjiu.lu@intel.com>
9422         [BZ #18134]
9423         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9424         * sysdeps/i386/configure: Regenerated.
9425         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9426         (_dl_runtime_profile): Save and restore Intel MPX return bound
9427         registers when calling _dl_call_pltexit.  Add
9428         PRESERVE_BND_REGS_PREFIX before return.
9429         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9430         (LRV_BND1_OFFSET): Likewise.
9431         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9432         lrv_bnd1.
9433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9434         typo in bndmov encoding.
9435         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9436         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9437         branch instructions to preserve bounds.
9439 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9442         [GLIBC_2.22]: Add fmemopen.
9444 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9446         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9447         returns an error, also try to use host port from __mach_host_self for
9448         the __vm_wire call.
9449         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9451 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9453         [BZ #18400]
9454         [BZ #18648]
9455         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9456         Fix pr_uid and pr_gid members.
9457         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9458         definition to elf_greg_t.
9460 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9462         [BZ #18383]
9463         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9464         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9465         * sysdeps/arm/configure: Regenerated.
9466         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9467         (test-xfail-tst-tlsalign-static): Variable removed.
9469         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9470         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9471         rather than explicit 'ln -s'.
9473         * resolv/rpc/netdb.h: New file.
9474         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9476 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9478         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9479         length buffers.
9480         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9481         test-skeleton.c.
9483         [BZ #6544]
9484         [BZ #11216]
9485         [BZ #12836]
9486         [BZ #13151]
9487         [BZ #13152]
9488         [BZ #14292]
9489         * include/stdio.h (fmemopen): Remove hidden prototype.
9490         (__fmemopen): Add new hidden prototype.
9491         * libio/Makefile: Add oldfmemopen object.
9492         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9493         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9494         compliance.
9495         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9496         symbol compatibility.
9497         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9498         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9499         fmemopen.
9500         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9501         on append and read mode.
9502         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9503         fmemopen.
9504         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9505         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9506         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9507         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9508         Likewise.
9509         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9510         [GLIBC_2.22]: Likewise.
9511         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9516         [GLIBC_2.22]: Likewise.
9517         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9518         [GLIBC_2.22]: Likewise.
9519         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9520         [GLIBC_2.22]: Likewise.
9521         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9522         [GLIBC_2.22]: Likewise.
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9524         [GLIBC_2.22]: Likewise.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9526         [GLIBC_2.22]: Likewise.
9527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9528         [GLIBC_2.22]: Likewise.
9529         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9534         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9535         [GLIBC_2.22]: Likewise.
9536         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9537         [GLIBC_2.22]: Likewise.
9538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9539         [GLIBC_2.22]: Likewise.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9541         [GLIBC_2.22]: Likewise.
9542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9545         Likewise.
9546         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9547         Likewise.
9548         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9549         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9551 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9553         [BZ #18643]
9554         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9555         IPV6_PATHMTU, and IPV6_DONTFRAG.
9557 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9559         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9560         and _IO_UNBUFFERED.
9561         * libio/oldfileops.c: Likewise.
9562         * libio/wfileops.c: Likewise.
9564 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9566         * nscd/selinux.c: Delete selinux/flask.h include.
9568 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9570         [BZ #18641]
9571         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9572         (putpwent): Likewise.
9573         (getpwnam): Likewise.
9574         (getpwent_r): Likewise.
9575         (getpwuid_r): Likewise.
9576         (getpwnam_r): Likewise.
9577         (fgetpwent_r): Likewise.
9579 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9581         [BZ #18557]
9582         * inet/rcmd.c (__validuser2_sa): Check user first to
9583         short-circuit host check.
9585 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9586             Mikhail Ilin  <m.ilin@samsung.com>
9588         [BZ #17833]
9589         * elf/Makefile (tests): Add tst-nodelete.
9590         (modules-names): Add tst-nodelete-uniquemod.
9591         (tst-nodelete-uniquemod.so-no-z-defs): New.
9592         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9593         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9594         ($(objpfx)tst-nodelete): Likewise.
9595         ($(objpfx)tst-nodelete.out): Likewise.
9596         (LDFLAGS-tst-nodelete): Likewise.
9597         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9598         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9599         implement forced object deletion.
9600         (_dl_close): Pass false to _dl_close_worker.
9601         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9602         * elf/tst-nodelete.cc: New file.
9603         * elf/tst-nodeletelib.cc: Likewise.
9604         * elf/tst-znodeletelib.cc: Likewise.
9605         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9607 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9609         [BZ #18508]
9610         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9611         Depend on $(libdl).
9612         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9613         is not called infinitely times.
9614         (backtrace_helper): New function.
9615         (trace_arg): New struct.
9616         (st1): Enlarge stack size.
9617         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9618         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9619         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9620         Likewise.
9622 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9624         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9626 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9628         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9629         Include sys/types.h instead of bits/types.h.
9630         Remove inclusion of bits/wordsize.h.
9632 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9634         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9635         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9636         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9637         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9638         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9639         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9641 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9643         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9644         link-defines.sym.
9645         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9646         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9647         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9648         and LR_SIZE.
9649         * sysdeps/i386/link-defines.sym: New file.
9651 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9653         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9654         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9655         ($(objpfx)tst-audit3): New rule.
9656         ($(objpfx)tst-audit3.out): Likewise.
9657         * sysdeps/i386/tst-audit3.c: New file.
9658         * sysdeps/i386/tst-audit3.h: Likewise.
9659         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9660         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9662 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9664         [BZ #18633]
9665         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9666         pointer in C code.
9667         (__strcat_c): Likewise.
9668         (__strcat_g): Likewise.
9670 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9672         [BZ #18592]
9673         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9675 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9677         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9678         New function.  (__ieee754_sqrtf): New function.
9679         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9680         New function.
9681         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9682         New function.
9684 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9686         * sysdeps/ieee754/support.c: Remove unused file.
9688 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9690         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9691         registers instead of d ones so the layout is kernel abi compatible.
9692         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9693         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9694         Likewise.
9696 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9698         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9700 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9702         [BZ #18619]
9703         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9704         and return argument in case of subnormal argument.
9706 2015-07-01  Martin Sebor  <msebor@redhat.com>
9708         [BZ #18435]
9709         * nptl/Makefile: Add tst-once5.cc.
9710         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9711         Remove macro redefinitions.
9712         * nptl/tst-once5.cc: New test.
9714 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9716         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9718         * sysdeps/arm/libm-test-ulps: Regenerated.
9720         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9721         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9723 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9725         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9726         lll_lock_wait_private and lll_futex_wake probes.
9728         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9729         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9730         Likewise.
9731         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9732         atomic_spin_nop.
9733         * sysdeps/x86_64/bits/atomic.h: Likewise.
9734         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9735         to atomic_spin_nop and move ...
9736         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9737         ... here and ...
9738         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9739         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9740         atomic_spin_nop instead of BUSY_WAIT_NOP.
9741         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9742         Likewise.
9743         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9744         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9745         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9746         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9747         instead of atomic_delay.
9749 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9751         [BZ #18613]
9752         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9753         X_ADJ not X when adjusting exponent.
9754         (__ieee754_gamma_r): Do intermediate computations in
9755         round-to-nearest then adjust overflowing and underflowing results
9756         as needed.
9757         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9758         of X_ADJ not X when adjusting exponent.
9759         (__ieee754_gammaf_r): Do intermediate computations in
9760         round-to-nearest then adjust overflowing and underflowing results
9761         as needed.
9762         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9763         log of X_ADJ not X when adjusting exponent.
9764         (__ieee754_gammal_r): Do intermediate computations in
9765         round-to-nearest then adjust overflowing and underflowing results
9766         as needed.  Use 1.0L not 1.0f as numerator of division.
9767         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9768         log of X_ADJ not X when adjusting exponent.
9769         (__ieee754_gammal_r): Do intermediate computations in
9770         round-to-nearest then adjust overflowing and underflowing results
9771         as needed.  Use 1.0L not 1.0f as numerator of division.
9772         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9773         of X_ADJ not X when adjusting exponent.
9774         (__ieee754_gammal_r): Do intermediate computations in
9775         round-to-nearest then adjust overflowing and underflowing results
9776         as needed.  Use 1.0L not 1.0f as numerator of division.
9777         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9778         to auto-libm-test-in.
9779         (tgamma_test): Use ALL_RM_TEST.
9780         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9781         tests of tgamma with spurious-overflow.
9782         * math/auto-libm-test-out: Regenerated.
9783         * math/gen-libm-have-vector-test.sh: Do not check for START.
9784         * sysdeps/i386/fpu/libm-test-ulps: Update.
9785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787         [BZ #18612]
9788         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9789         arguments, just return 0.5 times the argument, with underflow
9790         forced as needed.
9791         * math/auto-libm-test-in: Add more tests of j1.
9792         * math/auto-libm-test-out: Regenerated.
9794         [BZ #16559]
9795         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9796         (__ieee754_j1): Force underflow exception for small results.
9797         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9798         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9799         (__ieee754_j1f): Force underflow exception for small results.
9800         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9801         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9804         (__ieee754_j1l): Force underflow exception for small results.
9805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9806         * math/auto-libm-test-in: Add more tests of j1 and jn.
9807         * math/auto-libm-test-out: Regenerated.
9809         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9810         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9811         (PF_MPLS): Likewise.
9812         (AF_IB): Likewise.
9813         (AF_MPLS): Likewise.
9814         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9815         value and macro.
9816         (MS_RMT_MASK): Include MS_LAZYTIME.
9818 2015-06-26  Mel Gorman  <mgorman@suse.de>
9820         [BZ #18502]
9821         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9822         already minimal.
9824 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9826         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9827         (DT_MIPS_NUM): Update.
9828         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9829         DT_MIPS_RLD_MAP_REL.
9831 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #16559]
9834         [BZ #18602]
9835         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9836         round-to-nearest internally then recompute results that
9837         underflowed to zero in the original rounding mode.
9838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9839         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9840         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9841         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9842         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9843         * sysdeps/i386/fpu/libm-test-ulps: Update.
9844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9846 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9848         * NEWS: Fixed description of link with vector math library.
9850 2015-06-25  Andreas Schwab  <schwab@suse.de>
9852         [BZ #18549]
9853         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9854         * libio/test-fmemopen.c (do_test): Add test for it.
9856 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9858         [BZ #17841]
9859         * Makeconfig (no-pie-ldflag): New.
9860         (+link): Set to $(+link-pie) if default to PIE.
9861         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9862         * config.make.in (build-pie-default): New.
9863         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9864         is default.  AC_SUBST.
9865         * configure: Regenerated.
9866         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9868 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9870         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9871         to 'unsigned int'.
9873         * resolv/gai_misc.h (struct waitlist): Change type of field
9874         counterp to 'volatile unsigned int *'.
9875         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9876         FUTEXADDR and OLDVAL.
9877         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9878         Give local variable TOTAL type 'volatile unsigned int'.
9879         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9880         * resolv/gai_suspend.c (gai_suspend):
9881         Give local variable CNTR type 'unsigned int'.
9883         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9884         counterp to 'volatile unsigned int *'.
9885         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9886         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9887         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9888         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9889         Give local variable TOTAL type 'volatile unsigned int'.
9890         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9892 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9894         [BZ #18383]
9895         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9896         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9897         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9898         comment for i386/x86-64.
9899         (test-xfail-tst-tlsalign-extern-static): Removed.
9901 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9903         * math/test-double.h: New file.
9904         * math/test-float.h: Likewise.
9905         * math/test-ldouble.h: Likewise.
9906         * math/test-math-inline.h: Likewise.
9907         * math/test-math-no-inline.h: Likewise.
9908         * math/test-math-scalar.h: Likewise.
9909         * math/test-math-vector.h: Likewise.
9910         * math/test-vec-loop.h: Remove file.  Contents moved into
9911         test-math-vector.h.
9912         * math/libm-test.inc (MATHCONST): Do not document macro.
9913         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9914         and test-math-scalar.h.
9915         (FUNC): Remove macro.
9916         (FUNC_TEST): Likewise.
9917         (FLOAT): Likewise.
9918         (MATHCONST): Likewise.
9919         (PRINTF_EXPR): Likewise.
9920         (PRINTF_XEXPR): Likewise.
9921         (PRINTF_NEXPR): Likewise.
9922         (TEST_DOUBLE): Likewise.
9923         (TEST_MATHVEC): Likewise.
9924         (__NO_MATH_INLINES): Likewise.
9925         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9926         and test-math-scalar.h.
9927         (FUNC): Remove macro.
9928         (FUNC_TEST): Likewise.
9929         (FLOAT): Likewise.
9930         (MATHCONST): Likewise.
9931         (PRINTF_EXPR): Likewise.
9932         (PRINTF_XEXPR): Likewise.
9933         (PRINTF_NEXPR): Likewise.
9934         (TEST_FLOAT): Likewise.
9935         (TEST_MATHVEC): Likewise.
9936         (__NO_MATH_INLINES): Likewise.
9937         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9938         and test-math-scalar.h.
9939         (FUNC): Remove macro.
9940         (FUNC_TEST): Likewise.
9941         (FLOAT): Likewise.
9942         (MATHCONST): Likewise.
9943         (PRINTF_EXPR): Likewise.
9944         (PRINTF_XEXPR): Likewise.
9945         (PRINTF_NEXPR): Likewise.
9946         (TEST_DOUBLE): Likewise.
9947         (TEST_MATHVEC): Likewise.
9948         (TEST_INLINE): Likewise.
9949         (__NO_MATH_INLINES): Likewise.
9950         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9951         test-math-scalar.h.
9952         (FUNC): Remove macro.
9953         (FUNC_TEST): Likewise.
9954         (FLOAT): Likewise.
9955         (MATHCONST): Likewise.
9956         (PRINTF_EXPR): Likewise.
9957         (PRINTF_XEXPR): Likewise.
9958         (PRINTF_NEXPR): Likewise.
9959         (TEST_FLOAT): Likewise.
9960         (TEST_MATHVEC): Likewise.
9961         (TEST_INLINE): Likewise.
9962         (__NO_MATH_INLINES): Likewise.
9963         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9964         and test-math-scalar.h.
9965         (FUNC): Remove macro.
9966         (FUNC_TEST): Likewise.
9967         (FLOAT): Likewise.
9968         (MATHCONST): Likewise.
9969         (PRINTF_EXPR): Likewise.
9970         (PRINTF_XEXPR): Likewise.
9971         (PRINTF_NEXPR): Likewise.
9972         (TEST_LDOUBLE): Likewise.
9973         (TEST_MATHVEC): Likewise.
9974         (TEST_INLINE): Likewise.
9975         (__NO_MATH_INLINES): Likewise.
9976         * math/test-ldouble.c: Include test-ldouble.h,
9977         test-math-no-inline.h and test-math-scalar.h.
9978         (FUNC): Remove macro.
9979         (FUNC_TEST): Likewise.
9980         (FLOAT): Likewise.
9981         (MATHCONST): Likewise.
9982         (PRINTF_EXPR): Likewise.
9983         (PRINTF_XEXPR): Likewise.
9984         (PRINTF_NEXPR): Likewise.
9985         (TEST_LDOUBLE): Likewise.
9986         (TEST_MATHVEC): Likewise.
9987         (__NO_MATH_INLINES): Likewise.
9988         * math/test-double-vlen2.h: Include test-double.h,
9989         test-math-no-inline.h and test-math-vector.h.
9990         (FLOAT): Remove macro.
9991         (FUNC): Likewise.
9992         (MATHCONST): Likewise.
9993         (PRINTF_EXPR): Likewise.
9994         (PRINTF_XEXPR): Likewise.
9995         (PRINTF_NEXPR): Likewise.
9996         (TEST_DOUBLE): Likewise.
9997         (TEST_MATHVEC): Likewise.
9998         (__NO_MATH_INLINES): Likewise.
9999         (CNCT): Likewise.
10000         (CONCAT): Likewise.
10001         (WRAPPER_NAME): Likewise.
10002         (WRAPPER_DECL): Likewise.
10003         (WRAPPER_DECL_ff): Likewise.
10004         (WRAPPER_DECL_fFF): Likewise.
10005         (VECTOR_WRAPPER): Likewise.
10006         (VECTOR_WRAPPER_ff): Likewise.
10007         (VECTOR_WRAPPER_fFF): Likewise.
10008         (VEC_LEN): New macro.
10009         * math/test-double-vlen4.h: Include test-double.h,
10010         test-math-no-inline.h and test-math-vector.h.
10011         (FLOAT): Remove macro.
10012         (FUNC): Likewise.
10013         (MATHCONST): Likewise.
10014         (PRINTF_EXPR): Likewise.
10015         (PRINTF_XEXPR): Likewise.
10016         (PRINTF_NEXPR): Likewise.
10017         (TEST_DOUBLE): Likewise.
10018         (TEST_MATHVEC): Likewise.
10019         (__NO_MATH_INLINES): Likewise.
10020         (CNCT): Likewise.
10021         (CONCAT): Likewise.
10022         (WRAPPER_NAME): Likewise.
10023         (WRAPPER_DECL): Likewise.
10024         (WRAPPER_DECL_ff): Likewise.
10025         (WRAPPER_DECL_fFF): Likewise.
10026         (VECTOR_WRAPPER): Likewise.
10027         (VECTOR_WRAPPER_ff): Likewise.
10028         (VECTOR_WRAPPER_fFF): Likewise.
10029         (VEC_LEN): New macro.
10030         * math/test-double-vlen8.h: Include test-double.h,
10031         test-math-no-inline.h and test-math-vector.h.
10032         (FLOAT): Remove macro.
10033         (FUNC): Likewise.
10034         (MATHCONST): Likewise.
10035         (PRINTF_EXPR): Likewise.
10036         (PRINTF_XEXPR): Likewise.
10037         (PRINTF_NEXPR): Likewise.
10038         (TEST_DOUBLE): Likewise.
10039         (TEST_MATHVEC): Likewise.
10040         (__NO_MATH_INLINES): Likewise.
10041         (CNCT): Likewise.
10042         (CONCAT): Likewise.
10043         (WRAPPER_NAME): Likewise.
10044         (WRAPPER_DECL): Likewise.
10045         (WRAPPER_DECL_ff): Likewise.
10046         (WRAPPER_DECL_fFF): Likewise.
10047         (VECTOR_WRAPPER): Likewise.
10048         (VECTOR_WRAPPER_ff): Likewise.
10049         (VECTOR_WRAPPER_fFF): Likewise.
10050         (VEC_LEN): New macro.
10051         * math/test-float-vlen4.h: Include test-float.h,
10052         test-math-no-inline.h and test-math-vector.h.
10053         (FLOAT): Remove macro.
10054         (FUNC): Likewise.
10055         (MATHCONST): Likewise.
10056         (PRINTF_EXPR): Likewise.
10057         (PRINTF_XEXPR): Likewise.
10058         (PRINTF_NEXPR): Likewise.
10059         (TEST_FLOAT): Likewise.
10060         (TEST_MATHVEC): Likewise.
10061         (__NO_MATH_INLINES): Likewise.
10062         (CNCT): Likewise.
10063         (CONCAT): Likewise.
10064         (WRAPPER_NAME): Likewise.
10065         (WRAPPER_DECL): Likewise.
10066         (WRAPPER_DECL_ff): Likewise.
10067         (WRAPPER_DECL_fFF): Likewise.
10068         (VECTOR_WRAPPER): Likewise.
10069         (VECTOR_WRAPPER_ff): Likewise.
10070         (VECTOR_WRAPPER_fFF): Likewise.
10071         (VEC_LEN): New macro.
10072         * math/test-float-vlen8.h: Include test-float.h,
10073         test-math-no-inline.h and test-math-vector.h.
10074         (FLOAT): Remove macro.
10075         (FUNC): Likewise.
10076         (MATHCONST): Likewise.
10077         (PRINTF_EXPR): Likewise.
10078         (PRINTF_XEXPR): Likewise.
10079         (PRINTF_NEXPR): Likewise.
10080         (TEST_FLOAT): Likewise.
10081         (TEST_MATHVEC): Likewise.
10082         (__NO_MATH_INLINES): Likewise.
10083         (CNCT): Likewise.
10084         (CONCAT): Likewise.
10085         (WRAPPER_NAME): Likewise.
10086         (WRAPPER_DECL): Likewise.
10087         (WRAPPER_DECL_ff): Likewise.
10088         (WRAPPER_DECL_fFF): Likewise.
10089         (VECTOR_WRAPPER): Likewise.
10090         (VECTOR_WRAPPER_ff): Likewise.
10091         (VECTOR_WRAPPER_fFF): Likewise.
10092         (VEC_LEN): New macro.
10093         * math/test-float-vlen16.h: Include test-float.h,
10094         test-math-no-inline.h and test-math-vector.h.
10095         (FLOAT): Remove macro.
10096         (FUNC): Likewise.
10097         (MATHCONST): Likewise.
10098         (PRINTF_EXPR): Likewise.
10099         (PRINTF_XEXPR): Likewise.
10100         (PRINTF_NEXPR): Likewise.
10101         (TEST_FLOAT): Likewise.
10102         (TEST_MATHVEC): Likewise.
10103         (__NO_MATH_INLINES): Likewise.
10104         (CNCT): Likewise.
10105         (CONCAT): Likewise.
10106         (WRAPPER_NAME): Likewise.
10107         (WRAPPER_DECL): Likewise.
10108         (WRAPPER_DECL_ff): Likewise.
10109         (WRAPPER_DECL_fFF): Likewise.
10110         (VECTOR_WRAPPER): Likewise.
10111         (VECTOR_WRAPPER_ff): Likewise.
10112         (VECTOR_WRAPPER_fFF): Likewise.
10113         (VEC_LEN): New macro.
10114         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10115         test-vec-loop.h.
10116         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10117         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10118         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10119         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10120         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10122         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10124 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10126         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10127         (__getlogin_r): ... this.
10129 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10131         [BZ #18594]
10132         * math/s_ccosh.c (__ccosh): Compare with least normal value
10133         instead of comparing class with FP_SUBNORMAL.
10134         * math/s_ccoshf.c (__ccoshf): Likewise.
10135         * math/s_ccoshl.c (__ccoshl): Likewise.
10136         * math/s_cexp.c (__cexp): Likewise.
10137         * math/s_cexpf.c (__cexpf): Likewise.
10138         * math/s_cexpl.c (__cexpl): Likewise.
10139         * math/s_csin.c (__csin): Likewise.
10140         * math/s_csinf.c (__csinf): Likewise.
10141         * math/s_csinh.c (__csinh): Likewise.
10142         * math/s_csinhf.c (__csinhf): Likewise.
10143         * math/s_csinhl.c (__csinhl): Likewise.
10144         * math/s_csinl.c (__csinl): Likewise.
10145         * math/s_ctan.c (__ctan): Likewise.
10146         * math/s_ctanf.c (__ctanf): Likewise.
10147         * math/s_ctanh.c (__ctanh): Likewise.
10148         * math/s_ctanhf.c (__ctanhf): Likewise.
10149         * math/s_ctanhl.c (__ctanhl): Likewise.
10150         * math/s_ctanl.c (__ctanl): Likewise.
10151         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10152         csin, csinh, ctan and ctanh.
10153         * math/auto-libm-test-out: Regenerated.
10154         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10155         * sysdeps/i386/fpu/libm-test-ulps: Update.
10156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10160         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10161         return value is wrong, print the expected value too.
10163 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10165         [BZ #18585]
10166         * elf/readlib.c (is_gdb_python_file): New.
10167         (process_file): Don't issue errors on filenames with -gdb.py
10168         suffix.
10170 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10172         * math/auto-libm-test-in: Add more tests of csin and csinh.
10173         * math/auto-libm-test-out: Regenerated.
10174         * math/libm-test.inc (csin_test_data): Remove tests moved to
10175         auto-libm-test-in.
10176         (csinh_test_data): Likewise.
10178         [BZ #18593]
10179         * math/s_csin.c (__csin): Negate before rather than after possibly
10180         overflowing multiplication.
10181         * math/s_csinf.c (__csinf): Likewise.
10182         * math/s_csinh.c (__csinh): Likewise.
10183         * math/s_csinhf.c (__csinhf): Likewise.
10184         * math/s_csinhl.c (__csinhl): Likewise.
10185         * math/s_csinl.c (__csinl): Likewise.
10186         * math/auto-libm-test-in: Add some tests of csin and csinh.
10187         * math/auto-libm-test-out: Regenerated.
10188         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10189         (csinh_test_data): Likewise.
10190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10192         [BZ #18586]
10193         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10194         underflow exception for small results.
10196 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10199         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10200         variable and included header.
10201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10202         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10203         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10204         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10205         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10207         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10208         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10209         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10210         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10211         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10212         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10213         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10214         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10215         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10216         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10218 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10220         [BZ #16526]
10221         [BZ #16538]
10222         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10223         (__sin): Force underflow exception for arguments with small
10224         absolute value.
10225         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10226         (__kernel_sinf): Force underflow exception for arguments with
10227         small absolute value.
10228         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10229         (__kernel_sincosl): Force underflow exception for arguments with
10230         small absolute value.
10231         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10232         (__kernel_sinl): Force underflow exception for arguments with
10233         small absolute value.
10234         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10235         (__kernel_sincosl): Force underflow exception for arguments with
10236         small absolute value.
10237         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10238         (__kernel_sinl): Force underflow exception for arguments with
10239         small absolute value.
10240         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10241         (__kernel_sinl): Force underflow exception for arguments with
10242         small absolute value.
10243         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10244         (__kernel_sinf): Force underflow exception for arguments with
10245         small absolute value.
10246         * math/auto-libm-test-in: Add more tests of sin and sincos.
10247         * math/auto-libm-test-out: Regenerated.
10249         [BZ #18245]
10250         [BZ #18583]
10251         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10252         (__kernel_standard_l): Use feholdexcept and fesetenv around
10253         conversion to double instead of special-casing overflow and
10254         underflow.
10255         * math/libm-test.inc (fmod_test_data): Add more tests.
10256         (remainder_test_data): Likewise.
10257         (sqrt_test_data): Likewise.
10259 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10261         [BZ #17403]
10262         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10263         atomic_read_barrier, atomic_write_barrier): Define.
10264         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10265         atomic_read_barrier, atomic_write_barrier): Define.
10267 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10269         * math/Makefile [$(PERL) != no]
10270         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10271         dependency on libm-test.stmp below the inclusion of Rules.
10273 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10277         and included header.
10278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10286         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10287         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10288         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10289         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10290         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10291         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10292         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10293         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10294         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10295         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10296         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10298 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10300         [BZ #18371]
10301         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10302         intermediate but not final result might underflow.
10303         * math/s_csqrtf.c (__csqrtf): Likewise.
10304         * math/s_csqrtl.c (__csqrtl): Likewise.
10305         * math/auto-libm-test-in: Add more tests of csqrt.
10306         * math/auto-libm-test-out: Regenerated.
10307         * sysdeps/i386/fpu/libm-test-ulps: Update.
10309         [BZ #18219]
10310         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10311         threshold on absolute value of exponent for which scaling is used.
10312         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10313         * math/auto-libm-test-in: Add more tests of exp2.
10314         * math/auto-libm-test-out: Regenerated.
10316 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10318         [BZ #17977]
10319         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10320         when initializing interface list, based on the bug analysis
10321         and the patch proposed by Eric Newton.
10322         * resolv/tst-res_hconf_reorder.c: New test.
10323         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10324         tst-res_hconf_reorder.
10325         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10326         and $(shared-thread-library).
10327         (tst-res_hconf_reorder-ENV): New variable.
10329         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10330         in comment.
10332 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10334         [BZ #16353]
10335         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10336         (__expm1): Force underflow exception for arguments with small
10337         absolute value.
10338         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10339         (__expm1f): Force underflow exception for arguments with small
10340         absolute value.
10341         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10342         (__expm1): Force underflow exception for arguments with small
10343         absolute value.
10344         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10345         (__expm1f): Force underflow exception for arguments with small
10346         absolute value.
10347         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10348         Check for small arguments before calling __expm1.
10349         * math/auto-libm-test-in: Do not mark underflow exceptions as
10350         possibly missing for bug 16353.
10351         * math/auto-libm-test-out: Regenerated.
10353 2015-06-22  Andreas Schwab  <schwab@suse.de>
10355         [BZ #18513]
10356         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10357         PTR queries.
10359 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10361         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10363         * string/strcoll_l.c: Remove unused struct element idxnow.
10365 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #18569]
10368         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10369         underflow and return argument in case of subnormal argument.
10370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10371         Likewise.
10372         * math/auto-libm-test-in: Add more tests of expm1.
10373         * math/auto-libm-test-out: Regenerated.
10375         [BZ #16361]
10376         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10377         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10378         tiny results.
10379         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10380         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10381         tiny results.
10382         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10383         mark underflow exceptions as possibly missing for bug 16361.
10384         * math/auto-libm-test-out: Regenerated.
10386 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10388         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10389         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10390         Remove variable.
10391         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10392         (test-xfail-XOPEN2K8/utmpx.h/conform).
10394         * conform/conformtest.pl ($xerrors): New variable.
10395         (note_error): New function.
10396         (compiletest): New argument $xfail.  Use not_error.
10397         (runtest): Likewise.
10398         (top level): Handle xfail- lines.  Update calls to compiletest and
10399         runtest.  Handle xfail- and optional- in headers listed with
10400         allow-header.
10401         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10402         (O_EXEC): Likewise.
10403         (O_SEARCH): Likewise.
10404         * conform/data/stropts.h-data (ioctl): Likewise.
10405         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10406         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10407         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10408         (msghdr.msg_controllen): Likewise.
10409         (cmsghdr.cmsg_len): Likewise.
10410         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10411         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10412         variable.
10413         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10414         (test-xfail-XPG4/stropts.h/conform): Likewise.
10415         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10416         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10417         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10418         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10419         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10420         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10421         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10422         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10423         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10424         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10425         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10426         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10427         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10428         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10429         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10430         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10431         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10432         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10433         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10435 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10437         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10438         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10439         definitions for proper unfolding of __MATHDECL_VEC.
10441 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10443         * benchtests/bench-strcoll.c:
10444         Include string.h.
10445         (main): Remove unused variable res.
10447 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10449         * timezone/Makefile (%/UTC %/Universal):
10450         Generate test-result files for UTC and Universal.
10452 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10454         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10456 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10458         [BZ #16350]
10459         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10460         for arguments with small absolute value.
10461         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10462         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10463         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10464         (__asinh): Force underflow exception for arguments with small
10465         absolute value.
10466         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10467         (__asinhf): Force underflow exception for arguments with small
10468         absolute value.
10469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10470         (__asinhl): Force underflow exception for arguments with small
10471         absolute value.
10472         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10473         (__asinhl): Force underflow exception for arguments with small
10474         absolute value.
10475         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10476         (__asinhl): Force underflow exception for arguments with small
10477         absolute value.
10478         * math/auto-libm-test-in: Do not mark underflow exceptions as
10479         possibly missing for bug 16350.
10480         * math/auto-libm-test-out: Regenerated.
10482         * include/bits/ipc.h: Remove file.
10483         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10484         variable.
10485         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10486         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10487         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10488         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10489         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10490         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10491         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10492         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10493         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10495         * math/auto-libm-test-in: Remove spurious underflow allowance for
10496         tests of cexp.
10497         * math/auto-libm-test-out: Regenerated.
10499         [BZ #18558]
10500         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10501         unconditional definition.
10502         (MCAST_BLOCK_SOURCE): Likewise.
10503         (MCAST_UNBLOCK_SOURCE): Likewise.
10504         (MCAST_LEAVE_GROUP): Likewise.
10505         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10506         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10507         (MCAST_MSFILTER): Likewise.
10508         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10509         Remove variable.
10510         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10511         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10512         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10513         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10514         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10516 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10518         * NEWS: Mention addition of x86_64 vector sincosf.
10519         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10520         * math/test-float-vlen4.h: Likewise.
10521         * math/test-float-vlen8.h: Likewise.
10522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10523         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10525         * sysdeps/x86_64/fpu/Versions: New versions added.
10526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10528         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10529         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10530         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10532         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10534         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10535         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10536         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10537         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10538         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10539         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10540         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10541         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10542         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10543         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10544         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10545         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10546         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10547         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10548         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10549         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10551         * NEWS: Mention addition of x86_64 vector sincos.
10552         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10553         * math/math.h (__MATHDECL_VEC): New macro.
10554         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10555         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10556         declaration under condition.
10557         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10558         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10559         TEST_VEC_LOOP change.
10560         * math/test-double-vlen4.h: Likewise.
10561         * math/test-double-vlen8.h: Likewise.
10562         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10563         * math/test-float-vlen4.h: Likewise.
10564         * math/test-float-vlen8.h: Likewise.
10565         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10566         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10567         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10568         * sysdeps/x86_64/fpu/Versions: New versions added.
10569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10571         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10572         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10577         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10578         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10579         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10580         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10581         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10582         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10583         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10584         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10585         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10586         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10587         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10588         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10589         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10590         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10591         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10592         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10594         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10595         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10596         redirections for powf.
10597         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10598         * sysdeps/x86_64/fpu/Versions: New versions added.
10599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10600         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10601         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10602         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10603         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10604         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10605         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10607         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10608         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10609         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10610         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10611         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10612         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10613         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10614         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10615         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10616         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10617         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10618         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10621         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10622         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10623         * math/test-float-vlen16.h: Fixed 2 argument macro.
10624         * math/test-float-vlen4.h: Likewise.
10625         * math/test-float-vlen8.h: Likewise.
10626         * NEWS: Mention addition of x86_64 vector powf.
10628 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10630         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10631         and redefine.
10632         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10633         and redefine.
10634         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10635         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10638         [BZ #18553]
10639         * resource/getpriority.c (getpriority): Rename to __getpriority
10640         and define as weak alias of __getpriority.
10641         * resource/setpriority.c (setpriority): Rename to __setpriority
10642         and define as weak alias of __setpriority.
10643         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10644         __getpriority and define as weak alias of __getpriority.
10645         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10646         __setpriority and define as weak alias of __setpriority.
10647         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10648         strong name.
10649         (setpriority): Use __setpriority as strong name.
10650         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10651         __getpriority and define as weak alias of __getpriority.
10652         * include/sys/resource.h (__getpriority): Declare.  Use
10653         libc_hidden_proto.
10654         (__setpriority): Likewise.
10655         (getpriority): Don't use libc_hidden_proto.
10656         (setpriority): Likewise.
10657         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10658         getpriority.  Call __setpriority instead of setpriority.
10659         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10660         Remove variable.
10662         [BZ #18547]
10663         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10664         as weak alias of __getttynam.  Use prototype function definition.
10665         Call __setttyent, __getttyent and __endttyent instead of
10666         setttyent, getttyent and endttyent.
10667         (getttyent): Rename to __getttyent and define as weak alias of
10668         __getttyent.  Call __setttyent instead of setttyent.  Call
10669         __fgets_unlocked instead of fgets_unlocked.
10670         (setttyent): Rename to __setttyent and define as weak alias of
10671         __setttyent.
10672         (endttyent): Rename to __endttyent and define as weak alias of
10673         __endttyent.
10674         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10675         (__setttyent): Likewise.
10676         (__endttyent): Likewise.
10677         (getttyent): Don't use libc_hidden_proto.
10678         (setttyent): Likewise.
10679         (endttyent): Likewise.
10680         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10681         __endttyent instead of setttyent, getttyent and endttyent.
10682         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10683         Remove variable.
10685         [BZ #18546]
10686         * socket/recv.c (__recv): Use libc_hidden_def.
10687         * socket/socket.c (__socket): Likewise.
10688         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10689         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10690         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10691         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10692         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10693         libc_hidden_def.
10694         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10695         libc_hidden_weak.
10696         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10697         Use libc_hidden_proto.
10698         (__recv): Likewise.
10699         * socket/Versions (libc): Export __recv and __socket at version
10700         GLIBC_PRIVATE.
10701         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10702         instead of recv.
10703         (init_mq_netlink): Call __socket instead of socket.
10704         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10705         Remove variable.
10707         [BZ #18545]
10708         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10709         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10710         hidden_weak.
10711         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10712         define as alias of __mq_timedsend.  Use hidden_weak.
10713         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10714         __mq_timedsend as strong name.
10715         (mq_timedreceive): Use __mq_timedreceive as strong name.
10716         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10717         (__mq_timedreceive): Likewise.
10718         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10719         __mq_timedreceive instead of mq_timedreceive.
10720         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10721         instead of mq_timedsend.
10722         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10723         Remove variable.
10725         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10726         hidden_def and hidden_weak instead of libc_hidden_def and
10727         libc_hidden_weak.
10728         (top level): Refer to hidden_def in comment.
10729         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10730         macro.  Use it instead of libc_hidden_def.
10731         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10732         specify __GI_* name explicitly.
10733         (mq_timedreceive): Likewise.
10734         (mq_setattr): Likewise.
10736         [BZ #18544]
10737         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10738         __pthread_barrier_init and define as weak alias of
10739         __pthread_barrier_init.
10740         * sysdeps/sparc/nptl/pthread_barrier_init.c
10741         (pthread_barrier_init): Likewise.
10742         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10743         __pthread_barrier_wait and define as weak alias of
10744         __pthread_barrier_wait.
10745         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10746         (pthread_barrier_wait): Likewise.
10747         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10748         (pthread_barrier_wait): Likewise.
10749         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10750         (pthread_barrier_wait): Likewise.
10751         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10752         (pthread_barrier_wait): Likewise.
10753         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10754         __pthread_barrier_wait at version GLIBC_PRIVATE.
10755         * include/pthread.h (__pthread_barrier_init): Declare.
10756         (__pthread_barrier_wait): Likewise.
10757         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10758         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10759         (helper_thread): Likewise.
10760         (init_mq_netlink): Call __pthread_barrier_init instead of
10761         pthread_barrier_init.
10763         [BZ #18542]
10764         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10765         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10766         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10767         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10768         vswscanf.
10769         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10770         Remove variable.
10772         [BZ #18540]
10773         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10774         strong alias of _IO_fflush.  Use libc_hidden_def.
10775         * libio/iofflush_u.c (fflush_unlocked): Rename to
10776         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10777         Use libc_hidden_weak.
10778         * include/stdio.h (__fflush_unlocked): Declare.  Use
10779         libc_hidden_proto.
10780         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10781         fflush_unlocked.
10782         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10783         Remove variable.
10785         [BZ #18539]
10786         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10787         define as weak alias of __addseverity.
10788         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10789         Remove variable.
10790         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10791         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10792         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10794         [BZ #18536]
10795         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10796         (__tfind): Likewise.
10797         (__tdelete): Likewise.
10798         (__twalk): Likewise.
10799         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10800         __twalk to GLIBC_PRIVATE.
10801         * include/search.h (__tsearch): Use libc_hidden_proto.
10802         (__tfind): Likewise.
10803         (__tdelete): Likewise.
10804         (__twalk): Likewise.
10805         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10806         Call __tdelete instead of tdelete.
10807         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10808         tfind.  Call __tsearch instead of tsearch.
10809         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10810         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10811         Remove variable.
10812         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10814         [BZ #18534]
10815         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10816         (dprintf): Define as a weak alias of __dprintf, not a strong
10817         alias.
10818         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10819         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10820         dprintf.
10821         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10822         Remove variable.
10823         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10824         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10826         [BZ #18533]
10827         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10828         not a strong alias.
10829         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10830         Remove variable.
10832         [BZ #18532]
10833         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10834         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10835         (in6addr_loopback): Rename to __in6addr_loopback and define as
10836         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10837         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10838         libc_hidden_proto.
10839         (__in6addr_any): Likewise.
10840         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10841         in6addr_any.
10842         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10843         variable.
10844         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10846 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10848         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10849         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10850         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10851         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10852         redirections for pow.
10853         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10854         * sysdeps/x86_64/fpu/Versions: New versions added.
10855         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10856         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10857         build of SSE, AVX2 and AVX512 IFUNC versions.
10858         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10860         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10864         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10865         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10866         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10867         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10868         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10869         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10870         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10871         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10872         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10875         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10876         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10877         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10878         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10879         * NEWS: Mention addition of x86_64 vector pow.
10881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10883         redirections for expf.
10884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10885         * sysdeps/x86_64/fpu/Versions: New versions added.
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10888         build of SSE, AVX2 and AVX512 IFUNC versions.
10889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10890         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10892         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10895         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10896         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10897         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10898         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10899         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10900         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10901         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10902         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10903         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10904         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10905         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10906         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10907         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10908         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10909         * NEWS: Mention addition of x86_64 vector expf.
10911         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10912         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10914         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10915         redirections for exp.
10916         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10917         * sysdeps/x86_64/fpu/Versions: New versions added.
10918         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10919         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10920         build of SSE, AVX2 and AVX512 IFUNC versions.
10921         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10922         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10923         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10924         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10925         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10926         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10927         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10928         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10929         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10930         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10931         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10932         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10933         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10934         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10935         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10936         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10937         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10938         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10939         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10940         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10941         * NEWS: Mention addition of x86_64 vector exp.
10943         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10944         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10945         redirections for logf.
10946         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10947         * sysdeps/x86_64/fpu/Versions: New versions added.
10948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10949         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10950         build of SSE, AVX2 and AVX512 IFUNC versions.
10951         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10952         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10953         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10955         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10957         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10958         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10959         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10960         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10961         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10962         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10963         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10964         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10965         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10966         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10967         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10968         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10969         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10970         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10971         * NEWS: Mention addition of x86_64 vector logf.
10973         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10974         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10975         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10976         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10977         redirections for log.
10978         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10979         * sysdeps/x86_64/fpu/Versions: New versions added.
10980         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10981         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10982         build of SSE, AVX2 and AVX512 IFUNC versions.
10983         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10984         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10985         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10986         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10987         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10988         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10989         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10990         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10991         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10992         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10993         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10994         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10995         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10996         test.
10997         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10998         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10999         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11000         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11001         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11002         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11003         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11004         * NEWS: Mention addition of x86_64 vector log.
11006 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11008         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11009         cfi_adjust_cfa_offset argument.
11010         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11011         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11013         [BZ #18034]
11014         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11015         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11016         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11017         ordering using ldar.
11018         (_dl_tlsdesc_dynamic): Likewise.
11019         (_dl_tlsdesc_return_lazy): Likewise.
11020         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11021         relaxed atomics instead of volatile and synchronize with release store.
11022         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11023         volatile.
11024         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11026 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11029         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11031         * sysdeps/x86_64/fpu/Versions: New versions added.
11032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11034         build of SSE, AVX2 and AVX512 IFUNC versions.
11035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11036         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11038         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11040         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11041         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11042         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11043         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11044         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11045         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11046         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11047         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11048         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11049         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11050         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11051         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11052         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11053         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11054         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11055         * NEWS: Mention addition of x86_64 vector sinf.
11057 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11059         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11060         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11061         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11062         Remove variable.
11063         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11064         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11066 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11068         [BZ #18530]
11069         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11070         strong alias of _IO_fputs.  Use libc_hidden_def.
11071         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11072         and define as weak alias of __fputs_unlocked.  Use
11073         libc_hidden_weak.
11074         * include/stdio.h (__fputs_unlocked): Declare.  Use
11075         libc_hidden_proto.
11076         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11077         fputs_unlocked.
11079         [BZ #18529]
11080         * resolv/netdb.h [__USE_POSIX]: Change condition to
11081         [__USE_XOPEN2K].
11082         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11083         not expect.
11084         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11085         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11086         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11087         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11088         [XPG4 || UNIX98] (AI_ALL): Likewise.
11089         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11090         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11091         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11092         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11093         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11094         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11095         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11096         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11097         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11098         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11099         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11100         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11101         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11102         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11103         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11104         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11105         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11106         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11107         [XPG4 || UNIX98] (gai_strerror): Likewise.
11108         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11109         [XPG4 || UNIX98] (getnameinfo): Likewise.
11111         [BZ #18528]
11112         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11113         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11114         __USE_XOPEN2K8].
11115         (getgrent): Likewise.
11116         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11117         expect.
11118         [XPG3 || POSIX2008] (endgrent): Likewise.
11119         [XPG3] (setgrent): Likewise.
11120         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11121         variable.
11122         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11124         [BZ #18527]
11125         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11126         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11127         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11128         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11129         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11130         * include/unistd.h (__getlogin_r): Declare.  Use
11131         libc_hidden_proto.
11132         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11133         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11134         variable.
11135         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11136         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11137         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11139 2015-06-12  Martin Sebor  <msebor@redhat.com>
11141         [BZ #18512]
11142         * Makerules (check-install-supported): New target.
11143         (install): Add check-install-supported as a dependency.
11144         * manual/install.texi (Installing the C Library): Document
11145         that overriding prefix and exec_prefix is not supported.
11146         Mention DESTDIR.
11147         * INSTALL: Regenerate from the above.
11149 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11151         [BZ #18519]
11152         * posix/Versions (libc): Export __libc_pread at version
11153         GLIBC_PRIVATE.
11154         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11155         instead of pread.
11156         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11157         variable.
11159         [BZ #18522]
11160         * misc/efgcvt_r.c
11161         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11162         (cvt_symbol): Use weak_alias instead of strong_alias.
11163         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11164         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11165         Remove variable.
11166         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11167         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11169         [BZ #18520]
11170         * inet/herrno.c (h_errno): Rename to __h_errno.
11171         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11172         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11173         to __h_errno instead of h_errno.
11174         * nptl/herrno.c (h_errno): Rename to __h_errno.
11175         (__h_errno_location): Refer to __h_errno not h_errno.
11176         * resolv/Versions (h_errno): Rename to __h_errno.
11177         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11178         Remove variable.
11179         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11181 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11183         * configure.ac: More strict check for AVX512 assembler support.
11184         * configure: Regenerated.
11186         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11187         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11188         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11189         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11190         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11191         * sysdeps/x86_64/fpu/Versions: New versions added.
11192         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11193         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11194         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11196         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11197         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11200         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11201         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11202         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11203         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11204         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11205         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11206         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11207         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11208         test.
11209         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11211         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11212         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11213         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11214         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11215         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11216         * NEWS: Mention addition of x86_64 vector sin.
11218 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11220         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11221         comment.
11223 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11225         [BZ #18479]
11226         * nptl/pt-interp.c: New file.
11227         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11228         Add pt-interp.
11229         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11230         $(common-objpfx)runtime-linker.h.
11232 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11234         * Makeconfig (+interp): Remove unused variable.
11235         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11236         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11237         $(elf-objpfx)runtime-linker.h.
11238         ($(elf-objpfx)runtime-linker.h): Rename to
11239         $(common-objpfx)runtime-linker.h and move ...
11240         * Makerules [$(build-shared) = yes]: ... here.
11241         * elf/interp.c: Include <runtime-linker.h> instead of
11242         <elf/runtime-linker.h>.
11244 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11246         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11247         (__gettimeofday_syscall): Remove vsyscall fallback.
11248         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11249         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11250         Add syscall fallback function.
11251         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11252         if vDSO is not present.
11253         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11254         fallback function.
11255         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11256         present.
11257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11258         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11260 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11262         [BZ #18497]
11263         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11264         of wcscmp.
11265         (wcscmp): Define as weak alias of WCSCMP.
11266         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11267         wcscoll.
11268         (USE_HIDDEN_DEF): Define.
11269         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11270         __wcscoll.  Don't use libc_hidden_weak.
11271         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11272         wcscmp.
11273         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11274         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11275         __GI_wcscmp.
11276         (weak_alias): Undefine and redefine.
11277         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11278         __wcscmp and define as weak alias of __wcscmp.
11279         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11280         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11281         (__wcscoll): Likewise.
11282         (wcscmp): Don't use libc_hidden_proto.
11283         (wcscoll): Likewise.
11284         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11285         wcscoll.
11286         * posix/regexec.c (check_node_accept_bytes): Likewise.
11287         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11288         variable.
11289         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11290         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11292         [BZ #18507]
11293         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11294         __fstatvfs and define as weak alias of __fstatvfs.  Use
11295         libc_hidden_weak.
11296         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11297         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11298         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11299         Define as alias of __fstatvfs, not fstatvfs.
11300         (fstatvfs64): Likewise.
11301         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11302         Define as alias of __statvfs, not statvfs.
11303         (statvfs64): Likewise.
11304         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11305         Remove variable.
11307 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11310         (HAVE_GETCPU_VSYSCALL): Define.
11311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11312         (HAVE_GETCPU_VSYSCALL): Likewise.
11313         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11314         * sysdeps/unix/sysv/linux/sched_getcpu.c
11315         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11316         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11317         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11318         prototype.
11319         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11320         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11323         Define.
11324         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11325         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11326         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11329 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11331         * sysdeps/x86_64/fpu/Makefile: New file.
11332         * sysdeps/x86_64/fpu/Versions: New file.
11333         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11334         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11335         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11336         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11337         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11338         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11339         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11342         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11345         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11346         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11347         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11349         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11350         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11351         * sysdeps/x86_64/configure: Regenerated.
11352         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11353         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11354         * manual/install.texi (Configuring and compiling): Document
11355         --disable-mathvec.
11356         * INSTALL: Regenerated.
11357         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11359         * math/Makefile: Added rules for vector tests.
11360         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11361         declaration under condition.
11362         * math/test-double-vlen2.h: New file.
11363         * math/test-double-vlen4.h: New file.
11364         * math/test-double-vlen8.h: New file.
11365         * math/test-vec-loop.h: Added initialization macro.
11366         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11368         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11369         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11370         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11371         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11372         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11373         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11374         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11375         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11376         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11378         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11379         * sysdeps/x86_64/fpu/Versions: New versions added.
11380         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11381         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11383         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11384         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11385         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11386         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11387         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11390         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11391         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11392         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11394         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11395         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11396         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11397         * NEWS: Mention addition of x86_64 vector cosf.
11399         * math/Makefile: Added CFLAGS for new tests.
11400         * math/test-float-vlen16.h: New file.
11401         * math/test-float-vlen4.h: New file.
11402         * math/test-float-vlen8.h: New file.
11403         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11404         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11406         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11407         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11408         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11409         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11411         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11412         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11413         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11415 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11417         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11418         * locale/programs/ld-ctype.c: Likewise.
11420 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11422         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11423         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11424         bit_ZMM16_31_state): New macro.
11425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11426         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11428 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11430         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11432 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11434         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11436 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11438         [BZ #18498]
11439         * libio/memstream.c (open_memstream): Rename to __open_memstream
11440         and define as weak alias of __open_memstream.
11441         * include/stdio.h (__open_memstream): Declare.  Use
11442         libc_hidden_proto.
11443         (open_memstream): Don't use libc_hidden_proto.
11444         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11445         open_memstream.
11446         * posix/getopt.c (_getopt_internal_r): Likewise.
11447         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11448         variable.
11449         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11450         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11451         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11453         [BZ #18496]
11454         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11455         instead of wcrtomb.
11457         [BZ #18483]
11458         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11459         [__USE_XOPEN2K8].  Remove redundant #endif.
11460         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11461         Remove redundant #if.
11462         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11463         Remove variable.
11464         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11465         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11467         [BZ #18495]
11468         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11469         (__iswlower): Likewise.
11470         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11471         (__iswlower): Likewise.
11472         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11473         instead of towlower.
11474         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11475         instead of iswlower.  Call __towupper instead of towupper.
11476         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11477         instead of iswalnum.
11479 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11481         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11482         errors to stderr.
11484 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11486         [BZ #15661]
11487         [BZ #17322]
11488         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11489         Check for overflow properly.  Check for O_APPEND.  Ignore large
11490         file system block sizes.  Add comments about problems.
11491         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11492         * manual/filesys.texi (Storage Allocation): New node.
11494 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11496         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11497         cancellable syscalls.
11498         (SYS_ify): Add guard to no redefine it.
11499         (INLINE_SYSCALL): Likewise.
11500         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11501         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11502         SYSCALL_CANCEL instead.
11503         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11504         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11505         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11506         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11507         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11508         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11509         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11510         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11511         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11512         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11513         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11514         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11515         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11516         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11517         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11519         Likewise.
11520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11521         (__libc_pread64): Likewise.
11522         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11523         (__libc_preadv): Likewise.
11524         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11525         (__libc_readv64): Likewise.
11526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11527         (__libc_pwrite): Likewise.
11528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11529         (__libc_pwrite64): Likewise.
11530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11531         (__libc_pwritev): Likewise.
11532         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11533         (__libc_pwritev64): Likewise.
11534         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11535         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11536         (sync_file_range): Likewise.
11537         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11538         Likewise.
11539         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11540         Likewise.
11541         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11542         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11543         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11544         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11545         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11546         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11547         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11548         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11550         Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11552         (__libc_read64): Likewise.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11554         Likewise.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11556         Likewise.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11558         Likewise.
11559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11560         Likewise.
11561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11562         (__libc_pread64): Likewise.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11564         Likewise.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11566         (__libc_pwrite64): Likewise.
11567         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11568         (sync_file_range): Likewise.
11569         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11570         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11571         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11572         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11573         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11574         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11575         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11576         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11577         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11578         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11579         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11580         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11581         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11582         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11583         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11584         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11585         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11586         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11587         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11592         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11593         Likewise.
11594         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11595         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11596         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11597         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11598         Likewise.
11599         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11600         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11601         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11602         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11603         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11605 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11607         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11608         Include dl-vdso.
11609         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11610         Use VDSO routines for gettimeofday, clock_gettime if
11611         available.
11612         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11613         Declare VDSO symbols.
11614         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11615         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11616         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11617         * sysdeps/unix/sysv/linux/arm/Versions: Add
11618         __vdso_clock_gettime.
11620 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11622         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11623         be an inline implementation regardless of library is built within.
11624         (open_not_cancel_2): Likewise.
11625         (__read_nocancel): Likewise.
11626         (__write_nocancel): Likewise.
11627         (openat_not_cancel): Likewise.
11628         (openat_not_cancel_3): Likewise.
11629         (openat64_not_cancel): Likewise.
11630         (openat64_not_cancel_3): Likewise.
11631         (__close_nocancel): Likewise.
11632         (pause_not_cancel): Likewise.
11633         (nanosleep_not_cancel): Likewise.
11634         (sigsuspend_not_cancel): Likewise.
11636 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11638         [BZ #14958]
11639         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11640         wake-up.
11641         (__pthread_rwlock_rdlock_slow): Likewise.
11642         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11643         Likewise.
11644         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11645         Likewise.
11646         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11647         * nptl/tst-rwlock16.c: New file.
11648         * nptl/Makefile (tests): Add new test.
11650 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11652         [BZ #18324]
11653         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11654         missing wake-up of readers.
11655         * nptl/tst-rwlock15.c: New file.
11656         * nptl/Makefile (tests): Add new test.
11658 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11660         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11661         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11662         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11663         and __nacl_supply_interface_rtld.
11664         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11665         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11666         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11667         Add __nacl_supply_interface_rtld.
11668         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11670 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11672         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11673         isfinite.
11674         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11675         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11677 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11679         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11680         __signbit* with standard C99 macros.
11681         * math/e_exp10l.c: Likewise.
11682         * math/e_exp2l.c: Likewise.
11683         * math/e_scalb.c: Likewise.
11684         * math/e_scalbf.c: Likewise.
11685         * math/e_scalbl.c: Likewise.
11686         * math/s_ldexp.c: Likewise.
11687         * math/s_ldexpf.c: Likewise.
11688         * math/s_ldexpl.c: Likewise.
11689         * math/w_atan2.c: Likewise.
11690         * math/w_atan2f.c: Likewise.
11691         * math/w_atan2l.c: Likewise.
11692         * math/w_cosh.c: Likewise.
11693         * math/w_coshf.c: Likewise.
11694         * math/w_coshl.c: Likewise.
11695         * math/w_exp10.c: Likewise.
11696         * math/w_exp10f.c: Likewise.
11697         * math/w_exp10l.c: Likewise.
11698         * math/w_exp2.c: Likewise.
11699         * math/w_exp2f.c: Likewise.
11700         * math/w_exp2l.c: Likewise.
11701         * math/w_fmod.c: Likewise.
11702         * math/w_fmodf.c: Likewise.
11703         * math/w_fmodl.c: Likewise.
11704         * math/w_hypot.c: Likewise.
11705         * math/w_hypotf.c: Likewise.
11706         * math/w_hypotl.c: Likewise.
11707         * math/w_jnl.c: Likewise.
11708         * math/w_lgamma.c: Likewise.
11709         * math/w_lgamma_r.c: Likewise.
11710         * math/w_lgammaf.c: Likewise.
11711         * math/w_lgammaf_r.c: Likewise.
11712         * math/w_lgammal.c: Likewise.
11713         * math/w_lgammal_r.c: Likewise.
11714         * math/w_pow.c: Likewise.
11715         * math/w_powf.c: Likewise.
11716         * math/w_powl.c: Likewise.
11717         * math/w_remainder.c: Likewise.
11718         * math/w_remainderf.c: Likewise.
11719         * math/w_remainderl.c: Likewise.
11720         * math/w_scalb.c: Likewise.
11721         * math/w_scalbf.c: Likewise.
11722         * math/w_scalbl.c: Likewise.
11723         * math/w_scalbln.c: Likewise.
11724         * math/w_scalblnf.c: Likewise.
11725         * math/w_scalblnl.c: Likewise.
11726         * math/w_sinh.c: Likewise.
11727         * math/w_sinhf.c: Likewise.
11728         * math/w_sinhl.c: Likewise.
11729         * math/w_tgamma.c: Likewise.
11730         * math/w_tgammaf.c: Likewise.
11731         * math/w_tgammal.c: Likewise.
11732         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11733         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11734         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11736         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11738         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11739         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11740         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11741         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11742         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11743         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11744         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11746         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11747         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11749         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11750         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11754         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11755         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11756         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11757         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11759         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11760         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11761         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11762         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11763         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11764         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11765         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11766         * stdio-common/printf_fp.c: Likewise.
11767         * stdio-common/printf_fphex.c: Likewise.
11768         * stdio-common/printf_size.c: Likewise.
11770 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11772         [BZ #18470]
11773         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11774         strnlen.
11775         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11776         Remove variable.
11777         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11778         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11779         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11780         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11781         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11782         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11783         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11784         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11785         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11786         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11788         [BZ #18468]
11789         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11790         weak alias of __wmemchr.  Use libc_hidden_weak.
11791         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11792         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11793         instead of wmemchr.
11795 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11797         [BZ #18383]
11798         * elf/tst-tlsalign-extern.c: New file.
11799         * elf/tst-tlsalign-extern-static.c: New file.
11800         * elf/tst-tlsalign-vars.c: New file.
11801         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11802         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11803         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11804         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11805         (test-xfail-tst-tlsalign-extern-static): New variable.
11807 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11809         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11810         Use variable name _sc_err instead of err.
11811         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11812         instead of ret.
11813         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11814         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11815         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11816         (INLINE_SYSCALL): Likewise.
11818         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11819         * include/string.h (__strnlen): Use libc_hidden_proto.
11820         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11821         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11822         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11823         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11824         (libc_hidden_def): Undefine and redefine.
11825         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11826         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11827         __GI_strnlen.
11828         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11829         libc_hidden_def.
11830         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11832         [BZ #18469]
11833         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11834         weak alias of __towlower.  Use libc_hidden_weak.
11835         (towupper): Rename to __towupper and define as weak alias of
11836         __towupper.  Use libc_hidden_weak.
11837         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11838         (__towupper): Likewise.
11839         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11840         __towlower instead of towlower.
11842 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11844         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11845         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11847 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11849         * sysdeps/aarch64/libm-test-ulps: Update.
11851 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11853         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11854         Define.
11855         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11857         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11858         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11859         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11860         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11861         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11863 2015-06-01  Martin Sebor  <msebor@redhat.com>
11865         [BZ #18116]
11866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11867         (__setcontext): Use extended four-operand version of mtsf whenever
11868         possible.
11869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11870         (__novec_swapcontext): Likewise.
11872 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11874         * benchtests/scripts/compare_bench.py: New file.
11875         * benchtests/scripts/import_bench.py (mean): New function.
11876         (split_list): Likewise.
11877         (do_for_all_timings): Likewise.
11878         (compress_timings): Likewise.
11880         * benchtests/scripts/import_bench.py: New file.
11881         * benchtests/scripts/validate_benchout.py: Import import_bench
11882         instead of jsonschema.
11883         (validate_bench): Remove function.
11884         (main): Use import_bench.
11886 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11888         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11889         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11891 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11895 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11897         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11898         set THREAD_SELF->tid to a magic value and futex-wake it.
11899         Pass its address to the thread_exit system call.
11900         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11901         bit is clear.
11902         * sysdeps/nacl/lowlevellock.h: New file.
11903         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11905         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11906         Add TIMEOUT to current time, don't subtract it.
11908 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11910         [BZ #2981]
11911         [BZ #18422]
11912         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11913         ($(objpfx)tst-audit2.out): Also depend on
11914         $(objpfx)tst-auditmod9b.so.
11915         * elf/tst-audit2.c: Include <dlfcn.h>.
11916         (calloc_called): New.
11917         (calloc): Allow to be called more than once.
11918         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11920 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11922         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11923         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11925 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11927         * stdlib/monetary.h: Fix comment.
11929 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11931         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11932         Avoid using variables in #defines that might cause shadowing.
11933         (INTERNAL_VSYSCALL_CALL): Likewise.
11935 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11937         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11939         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11940         * nptl/lll_timedlock_wait.c: ... to this new file.
11941         * nptl/Makefile (libpthread-routines): Add it.
11942         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11943         * nptl/lll_timedwait_tid.c: ... to this new file.
11944         * nptl/Makefile (libpthread-routines): Add it.
11945         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11946         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11947         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11948         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11949         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11950         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11951         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11952         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11953         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11954         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11956 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11958         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11959         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11960         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11962         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11964         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11966         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11967         * sysdeps/unix/sysv/linux/tile/sysdep.h
11968         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11969         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11970         using vDSO syscall macro.
11972 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11974         [BZ #17293]
11975         * uk_UA: Fix sorting order for Ukrainian locale
11977 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11979         * stdlib/monetary.h: Fix comment.
11981 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11983         [BZ #18234]
11984         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11985         st_mtim and st_ctim members.
11986         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11987         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11988         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11989         (struct stat64): Likewise.
11990         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11991         (struct stat64): Likewise.
11992         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11993         (struct stat64): Likewise.
11995 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11997         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11998         Define and include sysdep-vdso.h.
11999         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12000         Likewise.
12001         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12002         Likewise.
12003         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12004         Define with VDSO_SYMBOL and use PTR_MANGLE.
12005         (__vdso_clock_gettime): Likewise.
12006         (__vdso_clock_getres): Likewise.
12007         (_libc_vdso_platform_setup): Likewise.
12008         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12009         Likewise.
12010         (_libc_vdso_platform_setup): Likewise.
12011         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12012         Likewise.
12013         (__vdso_clock_gettime): Likewise.
12014         (__vdso_clock_getres): Likewise.
12015         (__vdso_get_tbfreq): Likewise.
12016         (__vdso_getcpu): Likewise.
12017         (__vdso_time): Likewise.
12018         (__vdso_sigtramp_rt64): Likewise.
12019         (__vdso_signtramp32): Likewise.
12020         (__vdso_sigtramp_rt32): Likewise.
12021         (_libc_vdso_platform_setup): Likewise.
12022         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12023         Likewise.
12024         (__vdso_clock_gettime): Likewise.
12025         (__vdso_clock_getres): Likewise.
12026         (_libc_vdso_platform_setup): Likewise.
12027         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12028         Likewise.
12029         (__vdso_clock_gettime): Likewise.
12030         (_libc_vdso_platform_setup): Likewise.
12031         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12032         Likewise.
12033         (__vdso_getcpu): Likewise.
12034         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12035         Use VDSO_SYMBOL macro to define.
12036         (__vdso_clock_gettime): Likewise.
12037         (__vdso_clock_getres): Likewise.
12038         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12039         Likewise.
12040         (__vdso_clock_gettime): Likewise.
12041         (__vdso_clock_getres): Likewise.
12042         (__vdso_get_tbfreq): Likewise.
12043         (__vdso_getcpu): Likewise.
12044         (__vdso_time): Likewise.
12045         (__vdso_sigtramp_rt64): Likewise.
12046         (__vdso_signtramp32): Likewise.
12047         (__vdso_sigtramp_rt32): Likewise.
12048         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12049         Likewise.
12050         (__vdso_clock_gettime): Likewise.
12051         (__vdso_clock_getres): Likewise.
12052         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12053         Likewise.
12054         (__vdso_clock_gettime): Likewise.
12055         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12056         Likewise.
12057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12058         macro.
12059         (INTERNAL_VSYSCALL): Likewise.
12060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12061         Remove macro.
12062         (INTERNAL_VSYSCALL): Likewise.
12063         (INTERNAL_VSYSCALL_NCS): Likewise.
12064         (INTERNAL_VSYSCALL_CALL): New macro.
12065         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12066         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12067         Likewise.
12068         (INTERNAL_VSYSCALL): Likewise.
12069         (INTERNAL_VSYSCALL_NCS): Likewise.
12070         (INTERNAL_VSYSCALL_CALL): New macro.
12071         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12073         (INLINE_VSYSCALL): Remove macro.
12074         (INTERNAL_VSYSCALL): Remove macro.
12075         (INTERNAL_VSYSCALL_NCS): Remove macro.
12076         (INTERNAL_VSYSCALL_CALL): New macro.
12077         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12078         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12079         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12080         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12081         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12083         (INLINE_VSYSCALL): Remove macro.
12084         (INTERNAL_VSYSCALL): Likewise.
12085         (INTERNAL_VSYSCALL_NCS): Likewise.
12086         (INTERNAL_VSYSCALL_CALL): New macro.
12087         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12088         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12089         PTR_DEMANGLE on vDSO pointer.
12090         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12091         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12092         macro.
12093         (INTERNAL_SYSCALL): Likewise.
12094         (INTERNAL_VSYSCALL_NCS): Remove macro.
12095         (INTERNAL_VSYSCALL_CALL): New macro.
12096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12097         Remove macro.
12098         (INTERNAL_VSYSCALL): Likewise.
12099         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12100         sysdep-vdso.h instead of libc-vdso.h.
12101         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12102         definition.
12103         (INLINE_VSYSCALL): Likewise.
12104         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12105         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12106         definition.
12107         (INLINE_VSYSCALL): Likewise.
12108         (INTERNAL_VSYSCALL): Likewise.
12109         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12110         * sysdeps/unix/sysv/linux/timespec_get.c
12111         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12112         (timespec_get): Use ANSI prototype.
12113         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12114         and definition for Linux.
12116 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12118         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12119         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12121 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12123         [BZ #2981]
12124         [BZ #18410]
12125         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12126         for missing DT_PLTRELSZ.
12128 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12130         Remove obsolete aliases that broke 'locale -a'
12131         [BZ #18412]
12132         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12133         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12134         breaking some applications that use 'locale -a' output.
12135         Change the encoding of this file from Latin-1 to ASCII to avoid
12136         other potential problems with people grepping this file.
12138 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12140         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12141         -fasynchronous-unwind-tables.
12142         (CFLAGS-sendto.c): Likewise.
12143         (CFLAGS-sendmsg.c): Likewise.
12144         (CFLAGS-connect.c): Likewise.
12145         (CFLAGS-recvmsg.c): Likewise.
12146         (CFLAGS-recvfrom.c): Likewise.
12147         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12148         (SOCKETCALL): New macro: non-cancellable socketcall.
12149         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12150         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12151         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12152         * sysdeps/unix/sysv/linux/accept.c: New file.
12153         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12154         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12155         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12156         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12157         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12158         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12159         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12160         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12161         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12162         * sysdeps/unix/sysv/linux/send.c: Likewise.
12163         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12164         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12165         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12166         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12167         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12168         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12169         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12170         prototype.
12171         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12172         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12173         instead of __internal_xxx function.
12174         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12175         prototype.
12176         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12177         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12178         instead of __internal_xxx function.
12179         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12180         prototype.
12181         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12182         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12183         instead of __internal_xxx function.
12184         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12185         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12186         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12187         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12188         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12189         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12190         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12191         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12192         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12193         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12194         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12195         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12196         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12197         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12198         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12199         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12200         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12201         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12202         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12203         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12206         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12207         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12208         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12209         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12210         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12211         * sysdeps/unix/sysv/linux/send.S: Likewise.
12212         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12213         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12214         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12215         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12216         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12217         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12218         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12219         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12220         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12221         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12222         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12223         socketcall is implemented in GLIBC.
12225 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12227         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12228         (__fma): Ignore uninitialized warnings around packing.
12229         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12230         (__fmaf): Ignore uninitialized warnings around packing.
12231         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12232         (__fmal): Ignore uninitialized warnings around packing.
12234         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12235         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12236         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12237         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12239         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12240         switch statement into default case.
12241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12243         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12244         a conditional in forcing "inexact".
12245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12246         Likewise.
12248 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12250         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12251         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12252         for each INTERNAL_SYSCALL use.
12254 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12256         [BZ #438]
12257         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12258         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12259         variable.
12261         [BZ #18444]
12262         * string/basename.c (basename): Rename to __basename and define as
12263         weak alias of __basename.  Use libc_hidden_weak.
12264         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12265         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12266         __basename instead of basename.
12267         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12268         Remove variable.
12269         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12271 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12273         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12274         (_IO_JUMPS_FILE_plus): New.
12275         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12276         _IO_CAST_FIELD_ACCESS.
12277         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12278         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12279         * libio/freopen.c (freopen): Likewise.
12280         * libio/freopen64.c (freopen64): Likewise.
12281         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12282         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12283         * libio/iofwide.c (_IO_fwide): Likewise.
12284         * libio/memstream.c (open_memstream): Likewise.
12285         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12286         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12287         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12289 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12292         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12293         NADJ.
12294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12295         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12296         NADJ.
12297         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12298         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12299         NADJ.
12301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12302         (p == 4) case.
12304         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12305         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12306         Remove variable.
12307         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12308         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12309         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12311 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12313         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12314         Adjust jump table label generation macros.
12316 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12318         * stdio-common/vfprintf.c (vfprintf): Move local variables
12319         args_malloced, specs, specs_malloced, and the code after
12320         do_positional to the printf_positional function.
12321         (printf_positional): New function.
12323 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12325         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12326         function.
12327         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12328         STEP4_TABLE, process_arg): Move macro definitions
12329         out of the vfprintf function.  (Cosmetic change only.)
12331 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12333         * benchtests/Makefile (stdio-common-bench): Define.
12334         (benchset): Add stdio-common-bench.
12335         * sprintf-inputs: New file.
12336         * sprintf-source.c: New file.
12338 2015-05-21  Andreas Schwab  <schwab@suse.de>
12340         [BZ #13028]
12341         [BZ #17053]
12342         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12343         of struct __res_state.
12344         * resolv/res_send.c (__libc_res_nsend): Likewise.
12345         (get_nsaddr): New function.
12346         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12347         statp directly.
12349 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12351         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12352         -D_POSIX_C_SOURCE=199506L.
12354         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12356         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12357         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12358         Do not mention otherwise.
12359         [POSIX] (_XOPEN_VERSION): Do not expect.
12360         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12361         [POSIX] (_POSIX2_C_BIND): Likewise.
12362         [POSIX] (_POSIX2_VERSION): Likewise.
12363         [POSIX] (_XOPEN_XPG2): Likewise.
12364         [POSIX] (_XOPEN_XPG3): Likewise.
12365         [POSIX] (_XOPEN_XPG4): Likewise.
12366         [POSIX] (_XOPEN_UNIX): Likewise.
12367         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12368         [POSIX] (_POSIX_BARRIERS): Likewise.
12369         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12370         [POSIX] (_POSIX_CPUTIME): Likewise.
12371         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12372         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12373         [POSIX] (_POSIX_SHELL): Likewise.
12374         [POSIX] (_POSIX_SPAWN): Likewise.
12375         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12376         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12377         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12378         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12379         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12380         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12381         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12382         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12383         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12384         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12385         [POSIX] (_POSIX2_PBS): Likewise.
12386         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12387         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12388         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12389         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12390         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12391         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12392         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12393         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12394         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12395         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12396         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12397         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12398         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12399         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12400         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12401         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12402         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12403         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12404         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12405         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12406         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12407         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12408         [POSIX] (_SC_2_C_BIND): Likewise.
12409         [POSIX] (_SC_2_C_VERSION): Likewise.
12410         [POSIX] (_SC_2_PBS): Likewise.
12411         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12412         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12413         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12414         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12415         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12416         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12417         [POSIX] (_SC_BARRIERS): Likewise.
12418         [POSIX] (_SC_BASE): Likewise.
12419         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12420         [POSIX] (_SC_DEVICE_IO): Likewise.
12421         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12422         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12423         [POSIX] (_SC_FD_MGMT): Likewise.
12424         [POSIX] (_SC_FIFO): Likewise.
12425         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12426         [POSIX] (_SC_FILE_LOCKING): Likewise.
12427         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12428         [POSIX] (_SC_IOV_MAX): Likewise.
12429         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12430         [POSIX] (_SC_NETWORKING): Likewise.
12431         [POSIX] (_SC_PAGE_SIZE): Likewise.
12432         [POSIX] (_SC_PASS_MAX): Likewise.
12433         [POSIX] (_SC_PIPE): Likewise.
12434         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12435         [POSIX] (_SC_REGEXP): Likewise.
12436         [POSIX] (_SC_SHELL): Likewise.
12437         [POSIX] (_SC_SIGNALS): Likewise.
12438         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12439         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12440         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12441         [POSIX] (_SC_USER_GROUPS): Likewise.
12442         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12443         [POSIX] (_SC_STREAMS): Likewise.
12444         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12445         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12446         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12447         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12448         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12449         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12450         [POSIX] (_PC_FILESIZEBITS): Likewise.
12451         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12452         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12453         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12454         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12455         [POSIX] (uid_t): Likewise.
12456         [POSIX] (gid_t): Likewise.
12457         [POSIX] (off_t): Likewise.
12458         [POSIX] (pid_t): Likewise.
12459         [POSIX] (cuserid): Allow.
12460         (_SC_2_CHAR_TERM): Require constant.
12461         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12462         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12463         variable.
12465 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12467         * sysdeps/nacl/pthread-pids.h: New file.
12468         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12469         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12471         * nptl/pthread-pids.h: New file.
12472         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12473         * nptl/nptl-init.c: Include <pthread-pids.h>.
12474         (__pthread_initialize_minimal_internal):
12475         Call __pthread_initialize_pids instead of set_tid_address syscall.
12477         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12478         * sysdeps/posix/usleep.c: ... here.
12480 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12482         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12483         call_pselect6 object.
12484         [$(subdir) = io]: Remove call_sync_file_range object.
12485         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12486         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12487         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12488         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12490 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12492         * math/s_cproj.c: Add include "math_private.h".
12493         * math/s_cprojf.c: Likewise.
12494         * math/s_cprojl.c: Likewise.
12496 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12498         [BZ #18244]
12499         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12500         high mantissa bit when testing whether P is a NaN.
12501         * math/libm-test.inc (remainder_test_data): Add more tests.
12502         (remquo_test_data): Likewise.
12504         [BZ #18049]
12505         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12506         below -32, return the argument, with underflow if subnormal.
12507         * math/auto-libm-test-in: Add more tests of atanh.
12508         * math/auto-libm-test-out: Regenerated.
12510 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12512         [BZ #18434]
12513         * nptl/tst-sem15.c: New file.
12514         * nptl/Makefile (tests): Add it.
12515         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12516         s/<</>>/ to fix typo in EOVERFLOW check.
12517         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12519 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12521         * manual/strings.texi (envz_remove): Fix typo in safety
12522         annotations.
12524 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12525             Steve Ellcey  <sellcey@imgtec.com>
12527         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12528         in order to avoid strict alias warnings.
12529         (iruserok_af): Ditto for ra.
12531 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12533         [BZ #17581]
12534         * malloc/hooks.c
12535         (magicbyte): Convert to a function and avoid returning 0x01.
12536         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12537         (mem2chunk_check): Fix unsigned comparisons to zero.
12538         Hoist defs of sz and magic.
12540 2015-05-19  Richard Henderson  <rth@redhat.com>
12542         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12544         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12546 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12548         [BZ #16159]
12549         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12550         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12551         (reused_arena): Find a non-corrupt arena.
12552         (heap_trim): Pass arena to unlink.
12553         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12554         malloc_printerr.
12555         (top_check): Likewise.
12556         (free_check): Likewise.
12557         (realloc_check): Likewise.
12558         * malloc/malloc.c (malloc_printerr): Add arena argument.
12559         (unlink): Likewise.
12560         (munmap_chunk): Adjust.
12561         (ARENA_CORRUPTION_BIT): New macro.
12562         (arena_is_corrupt): Likewise.
12563         (set_arena_corrupt): Likewise.
12564         (sysmalloc): Use mmap if there are no usable arenas.
12565         (_int_malloc): Likewise.
12566         (__libc_malloc): Don't fail if arena_get returns NULL.
12567         (_mid_memalign): Likewise.
12568         (__libc_calloc): Likewise.
12569         (__libc_realloc): Adjust for additional argument to
12570         malloc_printerr.
12571         (_int_free): Likewise.
12572         (malloc_consolidate): Likewise.
12573         (_int_realloc): Likewise.
12574         (_int_memalign): Don't touch corrupt arenas.
12575         * malloc/tst-malloc-backtrace.c: New test case.
12577         * Makefile (summarize-tests): Fix return value on success.
12579         * manual/string.texi (Envz Functions): Add envz_remove.
12581 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12583         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12584         (invalid_name): New function, broken out of ...
12585         (__opendirat): ... here.  Call it.
12586         (need_isdir_precheck): New function, broken out of ...
12587         (__opendirat): ... here.  Call it.
12588         Use __fxstatat64, not __xstatat64.
12589         (opendir_oflags): New function, broken out of ...
12590         (__opendirat): ... here.  Call it.
12591         (opendir_tail): New function, broken out of ...
12592         (__opendirat): ... here.  Call it.
12593         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12594         opendir_tail, rather than punting to __opendirat.
12595         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12597 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12599         * .gitignore: Ignore generated *.pyc.
12601 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12603         * include/stdio.h: Define __need_wint_t.
12604         * test-skeleton.c: Avoid `for' loop initial declaration.
12605         * nptl/tst-initializers1.c: Use test-skeleton.c.
12607 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12609         [BZ #18418]
12610         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12612 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #16352]
12615         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12616         (__ieee754_atanh): Force underflow exception for results with
12617         small absolute value.
12618         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12619         (__ieee754_atanhf): Force underflow exception for results with
12620         small absolute value.
12621         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12622         (__ieee754_atanh): Force underflow exception for results with
12623         small absolute value.
12624         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12625         (__ieee754_atanhf): Force underflow exception for results with
12626         small absolute value.
12627         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12628         (__ieee754_atanhl): Force underflow exception for results with
12629         small absolute value.
12630         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12631         (__ieee754_atanhl): Force underflow exception for results with
12632         small absolute value.
12633         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12634         (__ieee754_atanhl): Force underflow exception for results with
12635         small absolute value.
12636         * math/auto-libm-test-in: Do not allow missing underflow
12637         exceptions from atanh.
12638         * math/auto-libm-test-out: Regenerated.
12640         [BZ #18221]
12641         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12642         2**-28 as threshold for returning x or +/- 1/x.
12643         * math/auto-libm-test-in: Add more tests of tan.
12644         * math/auto-libm-test-out: Regenerated.
12646         [BZ #18220]
12647         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12648         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12649         * math/auto-libm-test-in: Add another test of lgamma.
12650         * math/auto-libm-test-out: Regenerated.
12652 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12654         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12655         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12656         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12657         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12658         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12659         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12660         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12661         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12663         (log1): Use fabs.  (my_log2): Use fabs.
12664         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12665         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12667         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12669         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12670         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12671         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12672         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12673         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12674         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12676 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12678         [BZ #18217]
12679         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12680         as threshold for returning 1 - x.
12681         * math/auto-libm-test-in: Add more tests of erfc.
12682         * math/auto-libm-test-out: Regenerated.
12684 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12686         [BZ #18196]
12687         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12688         threshold for large arguments.
12689         * math/auto-libm-test-in: Add another test of atan.
12690         * math/auto-libm-test-out: Regenerated.
12692         [BZ #16339]
12693         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12694         (__log1p): Force underflow exception for results with small
12695         absolute value.
12696         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12697         (__log1pf): Force underflow exception for results with small
12698         absolute value.
12699         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12700         (__log1p): Force underflow exception for results with small
12701         absolute value.
12702         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12703         (__log1pf): Force underflow exception for results with small
12704         absolute value.
12705         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12706         (__log1pl): Force underflow exception for results with small
12707         absolute value.
12708         * math/auto-libm-test-in: Do not allow missing underflow
12709         exceptions from log1p.
12710         * math/auto-libm-test-out: Regenerated.
12712 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12713             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12715         [BZ #16704]
12716         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12718 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12720         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12721         (libmvec): New variable.
12722         * configure.ac: Added option for mathvec build.
12723         * configure: Regenerated.
12724         * mathvec/Depend: New file.
12725         * mathvec/Makefile: New file.
12726         * shlib-versions: Added libmvec.
12727         * math/Makefile: Added rule for libm.so installation.
12729         * bits/math-vector.h: New file.
12730         * bits/libm-simd-decl-stubs.h: New header.
12731         * math/Makefile (headers): Added new header
12732         libm-simd-decl-stubs.h.
12733         * math/math.h (__MATHCALL_VEC): New macro.
12735         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12736         for conditions in testing functions.
12737         * math/Makefile: Added call of libm-have-vector-test.sh.
12738         * math/libm-test.inc (HAVE_VECTOR): New macros.
12740         * math/libm-test.inc: START refactored.
12741         * math/test-double.c (TEST_MATHVEC): Add define.
12742         * math/test-float.c: Likewise.
12743         * math/test-idouble.c: Likewise.
12744         * math/test-ifloat.c: Likewise.
12745         * math/test-ildoubl.c: Likewise.
12746         * math/test-ldouble.c: Likewise.
12747         * sysdeps/generic/math-tests-arch.h
12748         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12749         architecture check.
12751         * math/test-double.c (FUNC_TEST): New macro.
12752         * math/test-float.c: Likewise.
12753         * math/test-idouble.c: Likewise.
12754         * math/test-ifloat.c: Likewise.
12755         * math/test-ildoubl.c: Likewise.
12756         * math/test-ldouble.c: Likewise.
12757         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12759 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12761         * sysdeps/nacl/fdopendir.c: New file.
12763         * dirent/scandir-tail.c: New file.
12764         * dirent/scandir64-tail.c: New file.
12765         * dirent/Makefile (routines): Add them.
12766         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12767         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12768         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12769         [!SCANDIR] (SCANDIR_TAIL): New macro.
12770         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12771         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12772         (SCANDIRAT): Macro removed.
12773         (SCANDIR_TAIL): New macro.
12774         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12775         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12776         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12777         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12778         (READDIR): Macro removed.
12779         (SCANDIR_TAIL): New macro.
12780         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12781         (SCANDIR_TAIL): New macro.
12783         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12784         * dirent/scandir-cancel.c: ... to this new file.
12785         * dirent/Makefile (routines): Add it.
12786         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12787         * sysdeps/unix/sysv/linux/i386/scandir64.c
12788         (SKIP_SCANDIR_CANCEL): Macro removed.
12789         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12791         * dirent/tst-scandir.c: New file.
12792         * dirent/tst-scandir64.c: New file.
12793         * dirent/Makefile (tests): Add them.
12795 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12797         [BZ #18409]
12798         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12800 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12802         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12803         list.
12805 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12807         * benchtests/bench-strcoll.c: New benchmark.
12808         * benchtests/Makefile: Generate locales and run benchmark.
12809         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12810         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12811         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12812         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12813         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12814         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12815         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12816         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12817         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12818         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12819         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12820         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12821         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12822         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12823         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12824         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12825         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12826         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12827         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12828         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12829         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12830         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12831         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12832         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12834 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12836         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12837         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12839 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12841         * posix/uname-values.h: New file.
12842         * posix/uname.c: Include that instead of <config-name.h>.
12843         * sysdeps/nacl/uname-values.h: New file.
12844         * sysdeps/arm/nacl/uname-values.h: New file.
12846 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12848         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12849         splitting into fields.
12851 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12853         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12854         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12855         * locale/localeinfo.h: Add enum collation_encoding_type.
12856         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12857         * programs/ld-collate.c (collate_output): Add encoding type info.
12858         * string/strcoll_l.c (STRDIFF): New function.
12859         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12860         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12862 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12864         [BZ #18397]
12865         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12866         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12867         <fpu_control.h> instead of <math/fpu_control.c>.
12868         * sysdeps/mips/mips32/fpu/Makefile: New file.
12870 2015-05-11  Andreas Schwab  <schwab@suse.de>
12872         [BZ #18007]
12873         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12874         nss_endgrent.
12875         (_nss_compat_endgrent): Call nss_endgrent.
12876         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12877         nss_endpwent.
12878         (_nss_compat_endpwent): Call nss_endpwent.
12879         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12880         needent, call nss_setspent only if non-zero.
12881         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12882         (internal_endspent): Don't call nss_endspent.
12883         (_nss_compat_endspent): Call nss_endspent.
12884         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12885         Remove.  All uses removed.
12886         (internal_setent): Remove parameter stayopen, add parameter
12887         stream.  Use it instead of global variable.
12888         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12889         (internal_endent, internal_getent): Add parameter stream.  Use it
12890         instead of global variable.
12891         (CONCAT(_nss_files_end,ENTNAME))
12892         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12893         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12894         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12895         uses removed.
12896         (internal_setent, internal_endent): Add parameter stream.  Use it
12897         instead of global variable.
12898         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12899         stream.
12900         (get_next_alias): Add parameter stream.
12901         (_nss_files_getaliasent_r): Pass global stream.
12902         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12903         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12904         (_nss_files_gethostbyname4_r): Pass local stream to
12905         internal_setent, internal_getent and internal_endent.  Remove
12906         locking.
12908 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         * tst-strfmon1.c (tests): Update expected currency symbol.
12912 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12914         * sysdeps/nacl/gethostname.c: New file.
12916 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12918         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12919         and sinh.
12920         * math/auto-libm-test-out: Regenerated.
12921         * sysdeps/i386/fpu/libm-test-ulps: Update.
12922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12926         [BZ #18125]
12927         * stdlib/tst-setcontext3.c: New file.
12928         * stdlib/tst-setcontext3.sh: New file.
12929         * stdlib/Makefile (tests): Add tst-setcontext3.
12930         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12931         to verify test program created output file.
12932         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12933         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12934         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12935         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12937 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12939         [BZ #18383]
12940         * elf/tst-tlsalign.c: New file.
12941         * elf/tst-tlsalign-static.c: New file.
12942         * elf/tst-tlsalign-lib.c: New file.
12943         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12944         (tests-static): Add tst-tlsalign-static.
12945         (modules-names): Add tst-tlsalign-lib.
12946         (test-xfail-tst-tlsalign): New variable.
12947         (test-xfail-tst-tlsalign-static): New variable.
12949         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12950         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12952 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12954         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12955         csqrt, erfc, sin and sincos.
12956         * math/auto-libm-test-out: Regenerated.
12957         * sysdeps/i386/fpu/libm-test-ulps: Update.
12958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12962         * sysdeps/aarch64/libm-test-ulps: Update.
12964 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12966         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12967         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12968         * math/auto-libm-test-out: Regenerated.
12969         * sysdeps/i386/fpu/libm-test-ulps: Update.
12970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12972 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12974         [BZ #18265]
12975         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12976         (wcsncpy): Likewise.
12978 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12980         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12981         Assume __ASSUME_FALLOCATE is always true.
12982         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12983         (__posix_fallocate64_l64): Likweise.
12984         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12985         (posix_fallocate): Likewise.
12986         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12987         (__posix_fallocate64_l64): Likewise.
12988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12989         [!__ASSUME_FALLOCATE]: Add comment.
12991 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12993         * sysdeps/unix/sysv/linux/i386/Makefile
12994         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12995         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12996         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12997         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12998         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12999         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13000         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13002 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13004         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13005         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13006         tgamma.
13007         * math/auto-libm-test-out: Regenerated.
13008         * sysdeps/i386/fpu/libm-test-ulps: Update.
13009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13011 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13013         * math/auto-libm-test-in: Add more tests of tgamma.
13014         * math/auto-libm-test-out: Regenerated.
13015         * sysdeps/i386/fpu/libm-test-ulps: Update.
13016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018         * math/auto-libm-test-in: Add more tests of tanh.
13019         * math/auto-libm-test-out: Regenerated.
13020         * sysdeps/i386/fpu/libm-test-ulps: Update.
13021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13023         * math/auto-libm-test-in: Add more tests of tan.
13024         * math/auto-libm-test-out: Regenerated.
13025         * sysdeps/i386/fpu/libm-test-ulps: Update.
13026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13028         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13029         * math/auto-libm-test-out: Regenerated.
13030         * sysdeps/i386/fpu/libm-test-ulps: Update.
13031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13033         * math/auto-libm-test-in: Add another test of pow.
13034         * math/auto-libm-test-out: Regenerated.
13035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13037         * math/auto-libm-test-in: Add more tests of lgamma.
13038         * math/auto-libm-test-out: Regenerated.
13039         * sysdeps/i386/fpu/libm-test-ulps: Update.
13040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13042         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13043         log1p.
13044         * math/auto-libm-test-out: Regenerated.
13045         * sysdeps/i386/fpu/libm-test-ulps: Update.
13046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13048 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13050         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13051         Elf64_Chdr structs and ELFCOMPRESS constants.
13053 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13055         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13056         expm1.
13057         * math/auto-libm-test-out: Regenerated.
13058         * sysdeps/i386/fpu/libm-test-ulps: Update.
13059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13061         * math/auto-libm-test-in: Add more tests of erf and erfc.
13062         * math/auto-libm-test-out: Regenerated.
13063         * sysdeps/i386/fpu/libm-test-ulps: Update.
13064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13066 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13068         * config.h.in (HAVE_AARCH64_BE): Add.
13070 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13072         * math/auto-libm-test-in: Add more tests of csqrt.
13073         * math/auto-libm-test-out: Regenerated.
13074         * sysdeps/i386/fpu/libm-test-ulps: Update.
13075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13078         * math/auto-libm-test-out: Regenerated.
13079         * sysdeps/i386/fpu/libm-test-ulps: Update.
13080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13082         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13084 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13086         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13087         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13089         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13090         (euidaccess, eaccess): Define as weak aliases.
13092         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13093         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13094         but __suseconds_t is often 'long int' so some sources assume that
13095         type is being used (e.g. they use %ld to print tv_usec).
13097 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13099         [BZ #18007]
13100         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13101         (CVE-2014-8121)
13102         * nss/tst-nss-getpwent.c: New file.
13103         * nss/Makefile (tests): Add new test.
13105 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13107         [BZ #18346]
13108         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13109         exponents less than 48 as cases where high part of mantissa needs
13110         examining to determine whether argument is integral.
13111         * math/libm-test.inc (round_test_data): Add more tests.
13113 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13115         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13117 2015-04-27  David S. Miller  <davem@davemloft.net>
13119         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13120         __tls_get_addr.
13121         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13123 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13125         [BZ#18333]
13126         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13128 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13130         [BZ#18333]
13131         * time/tzset.c (parse_tzname): Return error on memory allocation
13132         failure.
13133         * test-skeleton.c (struct temp_name_list): Change type of name
13134         member to non-const.
13135         (add_temp_file): Create a copy of the file name.
13136         (delete_temp_files): Deallocate memory.
13137         (create_temp_file): Add comment.
13139 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13141         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13142         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13144 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13146         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13147         * sysdeps/arm/configure: Regenerated.
13149 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13151         [BZ #17715]
13152         * time/tzfile.c (__tzfile_read): Check for large values of
13153         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13154         * time/tzset.c (__tzstring_len): New function, based on the old
13155         __tzstring function.
13156         (__tzstring): Call __tzstring_len.
13157         (parse_tzname): New helper function extracted from
13158         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13159         the input string.
13160         (parse_offset): New helper function extracted from
13161         __tzset_parse_tz.  Replace switch with fallthrough with
13162         initialization before sscanf.
13163         (parse_rule): Likewise.
13164         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13165         new-style function definition.
13166         * timezone/Makefile (tests): Add tst-tzset.
13167         (tst-tzset.out): Dependencies on time zone files.
13168         (tst-tzset-ENV): Set TZDIR.
13169         (testdata/XT%): Copy crafted time zone files.
13170         * timezone/README: Mention crafted time zone files.
13171         * timezone/testdata/XT1, timezone/testdata/XT2,
13172         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13173         files.
13174         * timezone/tst-tzset.c: New test.
13176 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13178         * Makeconfig (+gccwarn): Remove -Winline.
13180 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13182         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13184 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13186         * NEWS: Mention sysconf() cache information support for s390.
13187         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13189 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13191         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13192         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13193         (__nearbyint): Likewise.
13194         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13195         (copysignl): Likewise.
13197 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13199         [BZ #18287]
13200         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13201         based on padding.  (CVE-2015-1781)
13203 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13205         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13206         libc-vdso.h.
13207         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13208         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13209         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13210         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13211         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13212         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13213         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13217         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13218         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13219         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13220         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13221         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13222         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13223         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13225         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13226         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13227         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13228         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13229         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13231 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13233         * stdlib/setenv.c (__add_to_environ):
13234         Dump core quickly if setenv (..., NULL, ...) is called.
13235         This time, do it the right way, and pacify GCC with a pragma.
13237 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13239         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13240         IMAP->l_prev cannot be null, and #if out the code for the contrary
13241         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13242         believe that NS (&_dl_ns[NSID]) could point outside the array.
13244         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13245         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13246         before using NSID as an index.
13248 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13250         [BZ #17825]
13251         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13252         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13253         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13255 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13257         Add preliminary port to Google Native Client on ARM.
13258         * abi-tags (.*-.*-nacl.*): New entry.
13259         * sysdeps/arm/nacl: New directory.
13260         * sysdeps/nacl: New directory.
13262 2015-04-16  David S. Miller  <davem@davemloft.net>
13264         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13265         lowlevellock-futex.h
13267 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13269         * sysdeps/tile/configure.ac: New file.
13270         * sysdeps/tile/configure: Regenerated.
13272 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13274         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13275         conditionals for weak_alias and libc_hidden_weak.
13276         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13277         libc_hidden_weak and weak_alias.
13278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13279         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13280         and weak_alias for static one.
13282 2015-04-15  David S. Miller  <davem@davemloft.net>
13284         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13286 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13288         [BZ #18206]
13289         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13290           Use signed comparision instead of substraction to avoid
13291           overflow bug.
13292         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13293           Take the sign of ret.
13294         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13295           Do not expect precise return values. Only the sign matters.
13296         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13297         * wcsmbs/test-wcsncmp.c: New File.
13298         * string/test-strncmp.c: Add wcsncmp support.
13300 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13302         [BZ #6792]
13303         * math/w_log1p.c: New file.
13304         * math/w_log1pf.c: Likewise.
13305         * math/w_log1pl.c: Likewise.
13306         * math/Makefile (libm-calls): Add w_log1p.
13307         * math/s_log1pl.c (log1pl): Remove weak_alias.
13308         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13309         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13310         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13311         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13312         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13313         [NO_LONG_DOUBLE] (log1pl): Likewise.
13314         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13315         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13316         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13317         (log1p): Remove long_double_symbol.
13318         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13319         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13320         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13321         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13322         remove weak_alias for corresponding log1p function.
13323         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13324         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13325         * sysdeps/ia64/fpu/w_log1p.c: New file.
13326         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13327         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13328         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13330 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13332         [BZ #18247]
13333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13334         decimal exponent by 1.
13335         * stdlib/tst-strtod-round-data: Add more tests.
13336         * stdlib/tst-strtod-round.c (tests): Regenerated.
13338 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13340         * math/auto-libm-test-in: Add more tests of clog and clog10.
13341         * math/auto-libm-test-out: Regenerated.
13342         * sysdeps/i386/fpu/libm-test-ulps: Update.
13343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13345 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13347         * Makeconfig (module-cppflags): Exclude all .v.i files.
13348         (skip-module-cppflags): Variable removed.
13350         * configure.ac (libc_config_ok): Initialize before reading
13351         preconfigure scripts, not after.
13352         * configure: Regenerated.
13354         * test-skeleton.c (TIMEOUT): Move #define to top level.
13355         (main): Grok environment variable TEST_DIRECT.  If set, print
13356         test expectation details into that file and then behave as if
13357         given --direct.
13359 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13361         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13362         warning on 32-bit.
13364 2015-04-08  David S. Miller  <davem@davemloft.net>
13366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13368 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13370         * math/auto-libm-test-in: Add more tests of atanh.
13371         * math/auto-libm-test-out: Regenerated.
13372         * sysdeps/i386/fpu/libm-test-ulps: Update.
13373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13375         * math/auto-libm-test-in: Add more tests of atan.
13376         * math/auto-libm-test-out: Regenerated.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update.
13378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13382         * elf/pldd.c (main): Rewrite to use struct
13383         scratch_buffer instead of extend_alloca.
13384         * elf/pldd-xx.c (find_maps): Likewise.
13385         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13386         <alloca.h>.
13387         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13388         scratch_buffer instead of extend_alloca.
13389         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13390         grp/compat-initgroups.c.
13391         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13392         Rewrite to use struct scratch_buffer instead of extend_alloca.
13393         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13394         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13396 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13398         * math/auto-libm-test-in: Add more tests of cbrt.
13399         * math/auto-libm-test-out: Regenerated.
13400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13402         * math/auto-libm-test-in: Add more tests of cabs.
13403         * math/auto-libm-test-out: Regenerated.
13404         * sysdeps/i386/fpu/libm-test-ulps: Update.
13405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13407         [BZ #18210]
13408         [BZ #18211]
13409         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13410         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13411         computations.
13412         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13413         clog10.
13414         * math/auto-libm-test-out: Regenerated.
13415         * sysdeps/i386/fpu/libm-test-ulps: Update.
13416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13418         [BZ #18197]
13419         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13420         (atan): Set FE_TONEAREST mode for internal computations.
13421         * math/auto-libm-test-in: Add more tests of atan.
13422         * math/auto-libm-test-out: Regenerated.
13424 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13426         [BZ #17930]
13427         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13429 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13431         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13433 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13435         * include/scratch_buffer.h: New file.
13436         * malloc/scratch_buffer_grow.c: Likewise.
13437         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13438         * malloc/scratch_buffer_set_array_size.c: Likewise.
13439         * malloc/tst-scratch_buffer.c: Likewise.
13440         * malloc/Makefile (routines): Add scratch_buffer_grow.
13441         (tests): Add test case.
13442         * malloc/Versions (GLIBC_PRIVATE): Export
13443         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13444         __libc_scratch_buffer_set_array_size.
13446 2015-04-06  Richard Henderson  <rth@redhat.com>
13448         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13449         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13451         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13452         unsigned int before printing.
13454 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13456         [BZ #17596]
13457         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13458         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13460 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13462         * include/libc-internal.h (libc_max_align_t): Define.
13464 2015-04-02  Andreas Schwab  <schwab@suse.de>
13466         [BZ #16850]
13467         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13469 2015-04-02  Mel Gorman  <mgorman@suse.de>
13471         [BZ #17195]
13472         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13473         as well as the main arena.
13475 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13477         [BZ #18185]
13478         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13479         sharing L2 cache to 2 for Silvermont/Knights Landing.
13481 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13483         [BZ #17711]
13484         * config.make.in (have-protected-data): New.
13485         * configure.ac: Check linker support for protected data symbol.
13486         * configure: Regenerated.
13487         * elf/Makefile (modules-names): Add tst-protected1moda and
13488         tst-protected1modb if $(have-protected-data) is yes.
13489         (tests): Add tst-protected1a and tst-protected1b if
13490         $(have-protected-data) is yes.
13491         ($(objpfx)tst-protected1a): New.
13492         ($(objpfx)tst-protected1b): Likewise.
13493         (tst-protected1modb.so-no-z-defs): Likewise.
13494         * elf/tst-protected1a.c: New file.
13495         * elf/tst-protected1b.c: Likewise.
13496         * elf/tst-protected1mod.h: Likewise.
13497         * elf/tst-protected1moda.c: Likewise.
13498         * elf/tst-protected1modb.c: Likewise.
13500 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13502         [BZ #17711]
13503         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13504         indicates it is called from do_lookup_x on relocation against
13505         protected data, skip the data definion in the executable from
13506         copy reloc.
13507         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13508         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13509         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13510         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13511         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13512         otherwise to 0.
13513         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13514         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13515         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13516         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13517         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13518         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13520 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13522         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13523         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13525 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13527         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13528         THREAD_SETMEM_NC.
13529         * sysdeps/x86_64/nptl/tls.h: Ditto.
13531 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13533         * dlfcn/tststatic.c (main): Converted to ...
13534         (do_test): ... this.
13535         (TEST_FUNCTION): New macro.
13536         Include test-skeleton.c.
13538 2015-03-26  Alan Modra  <amodra@gmail.com>
13540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13541         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13542         zero for undefined weak.
13543         (elf_machine_plt_conflict): Similarly.
13545 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13547         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13548         atanh.
13549         * math/auto-libm-test-out: Regenerated.
13550         * sysdeps/i386/fpu/libm-test-ulps: Update.
13551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13553         * math/auto-libm-test-in: Add another test of asin.
13554         * math/auto-libm-test-out: Regenerated.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13559         Remove macro.
13560         (LLL_EBX_REG): Likewise.
13561         (LLL_ENTER_KERNEL): Likewise.
13563         * math/auto-libm-test-in: Add more tests of asin.
13564         * math/auto-libm-test-out: Regenerated.
13565         * sysdeps/i386/fpu/libm-test-ulps: Update.
13566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13568         [BZ #18138]
13569         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13570         libc_do_syscall_args): New structure.
13571         (INTERNAL_SYSCALL_MAIN_0): New macro.
13572         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13573         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13574         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13575         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13576         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13577         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13578         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13579         Replace conditional definitions by conditional definitions of ....
13580         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13581         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13582         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13583         (libpthread-sysdep_routines): Add libc-do-syscall.
13584         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13585         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13586         to __NR_futex not 240.
13588 2015-03-25  Alan Modra  <amodra@gmail.com>
13590         * NEWS: Advertise TLS optimization.
13591         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13592         (DT_PPC_NUM): Increment.
13593         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13594         (CHECK_STATIC_TLS): Use here.
13595         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13596         TLS descriptors.
13597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13598         * sysdeps/powerpc/dl-tls.c: New file.
13599         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13600         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13601         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13602         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13607 2015-03-25  Alan Modra  <amodra@gmail.com>
13609         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13610         for overlapping .opd entries" to "support...".
13611         * sysdeps/powerpc/powerpc64/configure: Regenerate
13613 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13615         * math/auto-libm-test-in: Add more tests of acos.
13616         * math/auto-libm-test-out: Regenerated.
13617         * sysdeps/i386/fpu/libm-test-ulps: Update.
13618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13620         * math/auto-libm-test-in: Add more tests of expm1.
13621         * math/auto-libm-test-out: Regenerated.
13622         * sysdeps/i386/fpu/libm-test-ulps: Update.
13623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13625 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13627         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13628         * math/auto-libm-test-out: Regenerated.
13629         * sysdeps/i386/fpu/libm-test-ulps: Update.
13630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13635         * math/auto-libm-test-in: Add more tests of log2.
13636         * math/auto-libm-test-out: Regenerated.
13637         * sysdeps/i386/fpu/libm-test-ulps: Update.
13638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13640 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13642         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13643         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13644         _IO_IS_APPENDING bit in READ_WRITE instead.
13646 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13648         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13649         (__determine_cpumask_size): Replace extend_alloca with a
13650         variable-length array.  Do not treat res == 0 as an error.
13652 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13654         [BZ #18100]
13655         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13656         and integer overflow.
13657         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13658         (main): Add integer overflow tests.
13659         * manual/pattern.texi (Calling Wordexp): Document additional use
13660         for WRDE_SYNTAX.
13662 2015-03-23  Alan Modra  <amodra@gmail.com>
13664         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13665         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13666         and false branch of conditional.
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13668         Likewise.
13670 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13672         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13673         libc-modules.h
13674         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13675         unused declaration of _hurd_intr_rpc_msg_in_trap.
13676         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13677         defined instead of whether it is non-zero.
13678         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13679         input constraint instead of both input and output constraint.  Use ecx
13680         clobber instead of %ecx.
13681         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13682         mutex_unlock): Use a statement expression instead of an expression list.
13683         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13684         type to vm_size_t instead of vm_address_t.
13685         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13686         defined instead of whether it is non-zero.
13687         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13688         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13689         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13690         comparisons with mapaddr.
13691         * nscd/nscd-client.h: Include <time.h>.
13692         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13693         9th parameter to __vm_region instead of int.
13694         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13695         * scripts/check-local-headers.sh (exclude): Add device/,
13696         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13697         cthreads.h.
13699 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13701         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13702         to account for alignment padding.
13703         * sysdeps/arm/memmove.S: Likewise.
13705 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13707         * sysdeps/unix/sysv/linux/generic/README: New file.
13709 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13711         [BZ #18138]
13712         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13713         (futex_abstimed_wait)
13714         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13715         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13716         of lll_futex_timed_wait.
13718 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13720         [BZ #17542]
13721         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13723 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13725         [BZ #17090]
13726         [BZ #17620]
13727         [BZ #17621]
13728         [BZ #17628]
13729         * NEWS: Update.
13730         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13731         entries with Static TLS too.  Skip entries past the end of the
13732         allocated DTV, from Alan Modra.
13733         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13734         Static TLS DTV entry set up from...
13735         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13736         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13737         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13738         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13739         for Static TLS.
13740         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13741         that the slot we find is associated with the given map before
13742         using its generation count.
13743         * nptl_db/db_info.c: Include ldsodefs.h.
13744         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13745         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13746         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13747         (link_map::l_tls_offset): New struct field.
13748         (dtv_t::counter): Likewise.
13749         (rtld_global): New struct.
13750         (_rtld_global): New rtld variable.
13751         (dl_tls_dtv_slotinfo_list): New rtld global field.
13752         (dtv_slotinfo_list): New struct.
13753         (dtv_slotinfo): Likewise.
13754         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13755         (td_lookup): Rename to...
13756         (td_mod_lookup): ... this.  Use new mod parameter instead of
13757         LIBPTHREAD_SO.
13758         * nptl_db/td_thr_tlsbase.c: Include link.h.
13759         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13760         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13761         addresses even if the DTV is out of date or missing them.
13762         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13763         index zero-length arrays.
13764         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13765         (td_lookup): Make it a macro implemented in terms of...
13766         (td_mod_lookup): ... this declaration.
13767         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13768         (DB_MAIN_VARIABLE): Likewise.
13770 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13772         [BZ #18134]
13773         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13775 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13777         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13779 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13781         [BZ #18128]
13782         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13783         (atomic_add, atomic_increment_and_test)
13784         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13786 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13788         * stdlib/setenv.c (__add_to_environ):
13789         Dump core quickly if setenv (..., NULL, ...) is called.
13791 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13793         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13794         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13795         all the necessary asm magic in one place.
13796         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13797         using those.
13799 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13801         [BZ #14906]
13802         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13803         traced file mtime. Use consistent log message.
13804         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13805         (register_traced_file): Call install_watches. Always set mtime.
13806         (invalidate_cache): Iterate over all trace files. Call install_watches.
13807         (inotify_check_files): Don't inline. Handle watching parent
13808         directories and configuration file movement in and out.
13809         (handle_inotify_events): New function.
13810         (main_loop_poll): Call handle_inotify_events.
13811         (main_loop_epoll): Likewise.
13812         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13813         (struct traced_file): Use array of inotify fds. Add parent directory,
13814         and basename.
13815         (struct database_dyn): Remove unused file_mtime.
13816         (init_traced_file): New inline function.
13817         (define_traced_file): New macro.
13818         * nss/nss_db/db-init.c: Use define_traced_file.
13819         (_nss_db_init): Use init_traced_file.
13820         * nss/nss_files/files-init.c: Use define_traced_file.
13821         (_nss_files_init): Use init_traced_file.
13823 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13825         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13826         [_LIBC]: Do not include <stdlib.h>.
13827         [!_LIBC] (abort): Remove declaration.
13828         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13829         _FP_STATIC_ASSERT instead of conditionally calling abort.
13830         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13831         (_FP_EXTEND_CNAN): Likewise.
13832         (FP_TRUNC): Likewise.
13833         (__FP_CLZ): Likewise.
13834         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13836 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13838         * manual/string.texi (XPG basename): Fix prototype.
13840 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13842         [BZ #18080]
13843         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13844         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13845         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13846         (__setcontext): Likewise.
13847         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13848         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13849         Call rt_sigprocmask syscall one time to set new signal mask
13850         and retrieve the current signal mask instead of two calls.
13851         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13852         (__swapcontext): Likewise.
13853         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13854         * stdlib/tst-setcontext2.c: New file.
13856 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13860 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13862         [BZ #18093]
13863         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13864         the wrong size.
13866 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13868         [BZ #18043]
13869         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13871 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13873         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13874         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13875         Remove define.
13876         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13877         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13878         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13879         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13880         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13881         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13882         define.
13883         * nptl_db/td_symbol_list.c (td_lookup): Remove
13884         HAVE_ASM_GLOBAL_DOT_NAME code.
13885         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13886         HAVE_ASM_GLOBAL_DOT_NAME check.
13887         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13888         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13889         (DOT_LABEL): Remove define.
13890         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13891         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13892         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13893         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13894         (__TLS_GET_ADDR): Likewise.
13895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13896         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13898 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13900         [BZ #18111]
13901         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13902         (_FPU_SETCW): Initialize cw from fpsr before storing.
13903         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13904         (fesetexceptflag): Rewrite using fpu_control.h.
13905         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13907 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13909         [BZ #18110]
13910         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13911         asms.
13912         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13914 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13916         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13917         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13918         abort.
13919         (_FP_FMA): Likewise.
13920         (_FP_DIV): Likewise.
13922 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13924         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13925         with 0 in that case.
13926         * Makefile (summarize-tests): New canned sequence, factored out of
13927         commands for targets tests and xtests.  Display summary lines that
13928         don't start with PASS: or XFAIL: rather than ones that do start with
13929         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13930         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13931         do start with ERROR: or FAIL:.
13932         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13933         (except for [$(build-shared) = yes]).
13934         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13935         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13936         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13937         * nptl/Makefile: Revert 2015-03-04 changes.
13938         [$(CXX) empty] (tests-unsupported): New variable.
13939         * debug/Makefile: Likewise.
13941         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13942         gnulib file.  Replace __attribute with __attribute__ throughout.
13944 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13946         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13948 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13950         [BZ #18104]
13951         * math/auto-libm-test-in: Add another test of pow.
13952         * math/auto-libm-test-out: Regenerated.
13954 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13956         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13957         $(config-cflags-nofma).
13959 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13961         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13962         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13963         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13964         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13965         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13966         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13967         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13968         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13969         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13970         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13971         Add comment on closing #endif.
13973 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13975         * posix/wordexp.c (CHAR_IN_SET): New macro.
13976         (parse_param): Use it.
13978 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13980         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13982 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13984         [BZ #18043]
13985         * posix/wordexp.c (parse_param): Fix buffer overflow.
13986         * posix/wordexp-test.c (test_case): Add test case.
13988 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13990         [BZ #18042]
13991         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13992         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13994 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13996         [BZ #18043]
13997         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13998         (do_bz18043): Delete.
13999         (at_page_end): New.
14000         (testit): Refactor to have words at the edge of unreadable page.
14002 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14004         [BZ #16734]
14005         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14006         Cleanup read-only streams as well.
14007         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14009 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14011         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14012         <bits/libc-lockP.h>
14014 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14016         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14017         on [__KERNEL__].
14018         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14019         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14020         * soft-fp/op-common.h (_FP_DECL): Likewise.
14022 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14024         * elf/ifuncdep2.c (global): Replace
14025         __attribute__((visibility("protected"))) with
14026         asm (".protected global").
14027         * elf/ifuncmod1.c (global): Likewise.
14028         * elf/ifuncmod5.c (global): Likewise.
14030 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14032         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14033         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14035 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14037         * manual/install.texi (Configuring and compiling):
14038         Document test-wrapper-env-only.
14039         * INSTALL: Regenerated.
14041 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14043         [BZ #18043]
14044         * posix/wordexp.c (parse_param): Fix buffer overflow.
14045         * posix/wordexp-test.c (do_bz18043): Add test case.
14047 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14049         * time/tst-strptime2.c (do_test): Ensure failing tests are
14050         reported correctly.
14051         * time/tst-strptime3.c (do_test): Likewise.
14053 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14055         Fix aio_error thread-safety.
14056         * sysdeps/pthread/aio_error.c: New file
14057         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14058         synchronization.
14060 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14062         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14063         (group_number, vfprintf): Use it.
14064         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14065         (JUMP, REF): Use it.
14066         (WORK_BUFFER_SIZE): New enum constant.
14067         (process_arg, vfprintf): Use it.
14069 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14071         * manual/errno.texi (Error Messages): Complete example function
14072         by adding missing #define.
14073         (program_invocation_name): Add statement indicating GNU
14074         extension and reference which header file declares the variable.
14075         (program_invocation_short_name): Likewise.
14077 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14079         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14080         compatibility note.
14082 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14084         * Makeconfig (test-wrapper-env-only): New variable.
14085         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14086         then use that with $(test-wrapper-env-only) rather than using
14087         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14089 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14091         [BZ #18082]
14092         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14093         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14094         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14095         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14096         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14097         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14098         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14099         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14100         Likewise.
14101         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14102         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14103         Likewise.
14104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14105         Likewise.
14106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14107         Likewise.
14108         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14109         Likewise.
14110         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14112         Likewise.
14113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14114         Likewise.
14115         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14116         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14118 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14120         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14121         (ETH_ALEN): New macro.
14122         (struct ether_addr): Use it for length of ether_addr_octet.
14124         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14125         (setdb): Don't call __nss_configure_lookup for "rpc".
14126         (do_test): Don't call test_rpc.
14127         (output_rpcent, test_rpc): Functions moved ...
14128         * sunrpc/test-rpcent.c: ... to this new file.
14129         * sunrpc/Makefile (tests): Add it.
14131         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14132         __xpg_sigpause.
14133         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14134         * nptl/tst-signal6.c: Likewise.
14135         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14136         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14138         * configure.ac (libc_cv_cxx_link_ok): New check.
14139         Reset CXX to empty if it fails to link.
14140         * configure: Regenerated.
14141         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14142         bug-atexit3-lib only if $(CXX) is nonempty.
14143         * nptl/Makefile (tests): Likewise for tst-cancel24.
14144         (tests, tests-static): Likewise for tst-cancel24-static.
14145         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14146         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14147         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14148         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14150 2015-03-04  Andreas Schwab  <schwab@suse.de>
14152         [BZ #17631]
14153         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14154         for non-GCC compilers.
14155         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14156         Likewise.
14158 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14160         [BZ #17776]
14161         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14162         integer before bitwise and assembly operations.
14163         (feclearexcept): Likewise.
14164         * math/test-fenvinline.c: New file.
14165         * math/Makefile: Add test-fenvinline test.
14167 2015-03-03  Alan Modra  <amodra@gmail.com>
14169         [BZ #16512]
14170         * scripts/localplt.awk: Strip off symbol version.
14171         * NEWS: Mention bug fix.
14173 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14175         * sysdeps/pthread/timer_routines.c
14176         (timer_free_list, thread_free_list, thread_active_list): Make static.
14178 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14180         [BZ #17779]
14181         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14182         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14183         Undefine.
14184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14185         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14186         Likewise.
14187         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14188         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14189         Likewise.
14191 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14193         [BZ #18036]
14194         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14195         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14197 2015-03-02  Andreas Schwab  <schwab@suse.de>
14199         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14200         variable name.
14202 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14204         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14205         Return error status.
14207 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14209         [BZ #15969]
14210         * locale/findlocale.c (_nl_find_locale): Introduce const
14211         version of loc_name and drop unsafe type casts.
14213 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14215         * dlfcn/tststatic2.c (main): Converted to ...
14216         (do_test): ... this.
14217         (TEST_FUNCTION): New macro.
14218         Include test-skeleton.c.
14220 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14222         [BZ #17711]
14223         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14224         (tests-pie): Add vismain.
14225         (CFLAGS-vismain.c): New.
14226         * elf/vismain.c: Add comments for PIE requirement.
14228 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14230         [BZ #18046]
14231         [BZ #18047]
14232         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14233         0x1p-56L as threshold for just returning the argument.
14234         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14235         0x1p-32L as threshold for just returning the argument.
14236         * math/auto-libm-test-in: Add more tests of atanh.
14237         * math/auto-libm-test-out: Regenerated.
14238         * sysdeps/i386/fpu/libm-test-ulps: Update.
14239         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14241 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14243         * string/bcopy.c (bcopy): Call memmove for performance.
14245 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14247         * string/bzero.c (__bzero): Call memset for performance.
14249 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14251         [BZ #18068]
14252         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14253         to 00100000.
14255 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14257         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14259 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14261         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14262         (__kernel_standard): Use CSTR macro when setting exc.name.
14263         * sysdeps/ieee754/Makefile [$(subdir) = math]
14264         (CFLAGS-k_standard.c): Remove variable.
14266         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14267         setting p and q from "else if" to "else".
14268         (qzero): Likewise.
14269         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14270         (qone): Likewise.
14271         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14272         (qzerof): Likewise.
14273         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14274         (qonef): Likewise.
14275         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14276         (qzero): Likewise.
14277         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14278         (qone): Likewise.
14280         [BZ #18038]
14281         [BZ #18039]
14282         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14283         return pi/2 for arguments below 0x1p-113L.
14284         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14285         return pi/2 for arguments below 0x1p-106L.
14286         * math/auto-libm-test-in: Add more tests of acos.
14287         * math/auto-libm-test-out: Regenerated.
14289         [BZ #16351]
14290         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14291         (MO): New macro.
14292         (__ieee754_asin): Force underflow exception for results with small
14293         absolute value.
14294         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14295         (MO): New macro.
14296         (__ieee754_asinf): Force underflow exception for results with
14297         small absolute value.
14298         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14299         (__ieee754_asin): Force underflow exception for results with small
14300         absolute value.
14301         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14302         (__ieee754_asinf): Force underflow exception for results with
14303         small absolute value.
14304         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14305         (__ieee754_asinl): Force underflow exception for results with
14306         small absolute value.
14307         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14308         (__ieee754_asinl): Force underflow exception for results with
14309         small absolute value.
14310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14311         (__ieee754_asinl): Force underflow exception for results with
14312         small absolute value.
14313         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14314         Include <math.h>.
14315         * math/auto-libm-test-in: Do not mark underflow exceptions as
14316         possibly missing for bug 16351.
14317         * math/auto-libm-test-out: Regenerated.
14319         [BZ #18030]
14320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14321         of power of 2 down when low part has opposite sign.
14322         * math/libm-test.inc (logb_test_data): Add more tests.
14324 2015-02-26  Andreas Schwab  <schwab@suse.de>
14326         [BZ #18032]
14327         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14328         over collating symbol inside a bracket expression.  Minor cleanup.
14329         * posix/tst-fnmatch3.c (do_test): Add test case.
14331 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14333         [BZ #18029]
14334         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14335         Adjust exponent of power of 2 down when low part has opposite
14336         sign.
14337         * math/libm-test.inc (ilogb_test_data): Add more tests.
14339 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14341         [BZ #15969]
14342         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14343         the previous change.
14345         [BZ #15969]
14346         * locale/findlocale.c (_nl_find_locale): Retry archive search
14347         after alias expansion.
14349 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14351         * iconv/tst-iconv3.c (main): Converted to ...
14352         (do_test): ... this.
14353         (TEST_FUNCTION): New macro.
14354         Include test-skeleton.c.
14356         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14357         (convert): Make function static.
14358         (test_unalign): Likewise.  Add const to argument pointee types.
14359         (main): Replace with static function do_test.
14360         Print "Succeeded." only if RET is zero.
14361         (TEST_FUNCTION): New macro.
14362         Include test-skeleton.c.
14364         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14365         returns a null pointer.
14367 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14369         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14370         to __memcpy_ppc only for static builds.
14372 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14374         [BZ #18020]
14375         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14376         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14377         * math/auto-libm-test-in: Add more tests of asinh.
14378         * math/auto-libm-test-out: Regenerated.
14379         * sysdeps/i386/fpu/libm-test-ulps: Update.
14380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14382 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14384         [BZ #15850]
14385         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14386         and ip6_mtuinfo definitions here.
14387         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14388         in this define too.  Update comment.
14390 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14392         * elf/sprof.c (load_shobj): Tweak error message to match others.
14394 2015-02-24  Kevin Easton  <kevin@guarana.org>
14396         [BZ #16145] (partial fix)
14397         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14398         to reduce lock contention.
14400 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14402         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14403         (struct timex): Update time comment.
14404         (ADJ_SETOFFSET): Define.
14406 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14408         [BZ #18019]
14409         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14410         2**56 not 2**28 as threshold for log (2x) formula.
14411         * math/auto-libm-test-in: Add more tests of acosh.
14412         * math/auto-libm-test-out: Regenerated.
14413         * sysdeps/i386/fpu/libm-test-ulps: Update.
14414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14416 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14418         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14419         parenthesis around the buf assignment.
14420         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14422 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #16783]
14425         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14426         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14427         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14428         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14429         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14430         * math/libm-test.inc (scalb_test_data): Add more tests.
14432 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14434         [BZ #17916]
14435         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14436         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14438 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14440         [BZ #17523]
14441         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14442         * io/bits/fcntl2.h (open): Use it.
14443         (openat): Likewise.
14444         * io/open.c (__libc_open): Likewise.
14445         * io/open64.c (__libc_open64): Likewise.
14446         * io/open64_2.c (__open64_2): Likewise.
14447         * io/open_2.c (__open_2): Likewise.
14448         * io/openat.c (__openat): Likewise.
14449         * io/openat64.c (__openat64): Likewise.
14450         * io/openat64_2.c (__openat64_2): Likewise.
14451         * io/openat_2.c (__openat_2): Likewise.
14452         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14453         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14454         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14455         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14456         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14457         (__open_nocancel): Likewise.
14458         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14459         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14460         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14462 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14464         [BZ #14841]
14465         * resolv/gethnamaddr.c (getanswer): Skip logging if
14466         RES_USE_DNSSEC is set.
14467         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14469 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14471         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14473 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14475         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14476         201304L, for Unicode 7.
14478 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14480         [BZ #17836]
14481         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14482         shared library.  Add gmon-start.os otherwise.
14483         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14484         $(objpfx)gmon-start.os if builing shared library.
14485         ($(objpfx)g$(static-start-installed-name)): Likewise.
14487 2015-02-23  Andreas Schwab  <schwab@suse.de>
14489         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14491 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14493         [BZ #17269]
14494         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14495         (enlarge_userbuf): Likewise.
14497 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14499         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14500         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14501         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14502         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14504 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14506         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14507         expression inside statement expression.
14509 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14511         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14512         <sysdeps/nptl/lowlevellock.h> and remove macros and
14513         functions that are now defined there.
14514         (SYS_futex): Remove.
14515         (lll_compare_and_swap): Remove.
14516         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14518 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14520         [BZ #17999]
14521         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14522         instead of scandirat.
14523         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14524         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14525         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14526         __scandirat.
14527         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14528         (__scandirat): Declare.  Use libc_hidden_proto.
14529         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14530         Remove variable.
14531         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14533 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14535         [BZ #15319]
14536         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14537         (MO): New macro.
14538         (__ieee754_atan2): For results with small absolute value, force
14539         underflow exception and remove excess range and precision from
14540         return value.
14541         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14542         (MO): New macro.
14543         (__ieee754_atan2f): For results with small absolute value, force
14544         underflow exception and remove excess range and precision from
14545         return value.
14546         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14547         (MO): New macro.
14548         (__atan): For results with small absolute value, force underflow
14549         exception and remove excess range and precision from return value.
14550         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14551         (MO): New macro.
14552         (__atanf): For results with small absolute value, force underflow
14553         exception and remove excess range and precision from return value.
14554         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14555         <math.h>.
14556         (__ieee754_atan2): Force underflow exception for results with
14557         small absolute value.
14558         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14559         <math_private.h>.
14560         (atan): Force underflow exception for results with small absolute
14561         value.
14562         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14563         (__atanf): Force underflow exception for results with small
14564         absolute value.
14565         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14566         <math.h>.
14567         (__atanl): Force underflow exception for results with small
14568         absolute value.
14569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14570         (__atanl): Force underflow exception for results with small
14571         absolute value.
14572         * sysdeps/x86/fpu/bits/mathinline.h
14573         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14574         (__ieee754_atan2): Only define inline for long double.
14575         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14576         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14577         * math/auto-libm-test-in: Do not mark underflow exceptions as
14578         possibly missing for bug 15319.  Add more tests of atan2.
14579         * math/auto-libm-test-out: Regenerated.
14580         * math/libm-test.inc (casin_test_data): Do not mark underflow
14581         exceptions as possibly missing for bug 15319.
14582         (casinh_test_data): Likewise.
14583         * sysdeps/i386/fpu/libm-test-ulps: Update.
14585 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14587         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14588         * sysdeps/mips/bits/endian.h: Fix comments.
14590 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14592         [BZ #17996]
14593         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14594         (hdestroy_r): Likewise.
14595         (hsearch_r): Likewise.
14596         (__hcreate_r): Declare and use libc_hidden_proto.
14597         (__hdestroy_r): Likewise.
14598         (__hsearch_r): Likewise.
14599         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14600         (hcreate): Call __hcreate_r instead of hcreate_r.
14601         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14602         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14603         as weak alias of __hcreate_r.
14604         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14605         __hdestroy_r.
14606         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14607         __hsearch_r.
14608         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14609         Remove variable.
14610         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14611         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14612         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14613         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14615 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14617         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14618         arena_lock into a single arena_get.
14620 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14622         * dl-reloc.c: Inlucde libc-internal.h.
14623         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14624         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14625         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14626         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14627         (grow_heap): Likewise.
14628         * malloc/malloc.c: Include libc-internal.h.
14629         (do_check_malloc): Call powerof2.
14630         (sysmalloc): Use pagesize. Call ALIGN_UP.
14631         (systrim): Use pagesize.
14632         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14633         (__libc_valloc): Use pagesize.
14634         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14636 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14638         [BZ #17991]
14639         * include/sys/resource.h (__getrlimit64): Declare.  Use
14640         libc_hidden_proto.
14641         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14642         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14643         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14644         getrlimit64.
14645         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14646         __getrlimit64.
14647         [!getrlimit64] (getrlimit64): Define as weak alias of
14648         __getrlimit64.  Use libc_hidden_weak.
14649         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14650         using __getrlimit64 not __new_getrlimit64.
14651         (__GI_getrlimit64): Likewise.
14652         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14653         Likewise.
14654         (__GI_getrlimit64): Likewise.
14655         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14657         (getrlimit): Add __getrlimit64 alias.
14658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14659         Likewise.
14660         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14661         Remove variable.
14662         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14663         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14665 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14667         * libio/fileops.c: Add missing sys/mman.h
14668         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14670 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14672         * manual/math.texi (Errors in Math Functions): Clarify goals
14673         regarding inexact and underflow exceptions.
14675 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14677         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14678         * sysdeps/mips/memset.S: Ditto.
14680 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14682         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14684 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14686         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14687         (__v1longjmp): Remove versioned symbol.
14688         (__v1siglongjmp): Remove alias and versioned symbol.
14689         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14690         (__v2siglongjmp): Likewise.
14692 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14694         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14696 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14698         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14700 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #17987]
14703         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14704         zero result does not depend on the sign resulting from
14705         subtraction.
14706         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14707         Likewise.
14708         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14709         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14710         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14711         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14712         * math/libm-test.inc (remquo_test_data): Add more tests.
14714 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14716         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14717         Problem reported by J William Piggott.
14719 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #17978]
14722         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14723         products 4 * y and 2 * y where those would overflow.
14724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14725         Likewise.
14726         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14727         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14728         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14729         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14730         * math/libm-test.inc (remquo_test_data): Add more tests.
14732         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14734         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14735         [defined _COMPILING_NEWLIB].
14736         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14737         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14739         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14740         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14742 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14744         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14745         acquired.
14747 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14749         [BZ #17792]
14750         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14751         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14752         HOST_STACK_END_ADDR): Likewise.
14754 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14756         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14757         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14758         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14760 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14762         * sysdeps/generic/c++-types.data: New file.
14763         * sysdeps/generic/ld.abilist: New file.
14764         * sysdeps/generic/libBrokenLocale.abilist: New file.
14765         * sysdeps/generic/libanl.abilist: New file.
14766         * sysdeps/generic/libc.abilist: New file.
14767         * sysdeps/generic/libcrypt.abilist: New file.
14768         * sysdeps/generic/libdl.abilist: New file.
14769         * sysdeps/generic/libm.abilist: New file.
14770         * sysdeps/generic/libpthread.abilist: New file.
14771         * sysdeps/generic/libresolv.abilist: New file.
14772         * sysdeps/generic/librt.abilist: New file.
14774 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #17569]
14777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14778         Compute absolute value of x as modified by fmod, not original
14779         value of x.
14780         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14781         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14782         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14783         RUN_TEST_ffI_f1_mod8.
14784         (remquo_test_data): Add more tests.
14786 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14788         * sysdeps/init_array/pt-crti.S: New file.
14790 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14792         [BZ #17967]
14793         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14794         __builtin_fmaf instead of relying on contraction of a * b + c.
14796 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14798         [BZ #17969]
14799         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14800         node.
14802 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14804         [BZ #17964]
14805         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14806         __builtin_fma instead of relying on contraction of a * b + c.
14808 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14810         * Makeconfig (ASFLAGS): Add -Werror=undef.
14811         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14812         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14813         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14815         * Makeconfig (after-link): New variable.
14816         (+link-pie, +link-pie-tests): Use it.
14817         (+link-static, +link-static-tests): Likewise.
14818         (+link, +link-tests): Likewise.
14819         * Makerules (build-module, build-module-asneeded): Likewise.
14820         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14821         Likewise.
14822         * elf/Makefile ($(objpfx)ld.so): Likewise.
14824 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14826         [BZ #17965]
14827         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14828         both struct timeval and struct timespec.
14830 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #16560]
14833         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14834         and redefine.
14835         (__ieee754_exp2l): Do not multiply small fractional parts by
14836         M_LN2l.
14837         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14838         small argument.
14839         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14840         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14841         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14842         * math/auto-libm-test-in: Add more tests of exp2.
14843         * math/auto-libm-test-out: Regenerated.
14845 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14848         unaligned path.
14850 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14853         little endian.
14855 2015-02-12  Andreas Schwab  <schwab@suse.de>
14857         [BZ #15790]
14858         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14859         Filter out elision flags from value returned in kind.
14860         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14861         * nptl/tst-pthread-mutexattr.c: New file.
14863 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14865         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14866         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14867         into gnu-gnu, and update comment to refer to abi-tags.
14869 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14871         [BZ #15467]
14872         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14873         (__sincos): Set errno to EDOM for infinite argument.
14874         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14875         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14876         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14877         (__sincosl): Set errno to EDOM for infinite argument.
14878         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14879         (__sincosl): Set errno to EDOM for infinite argument.
14880         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14881         (__sincosl): Set errno to EDOM for infinite argument.
14882         * math/libm-test.inc (sincos_test_data): Test errno setting.
14884 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14886         * string/strxfrm_l.c: Remove #define STRCMP.
14887         * string/strcoll_l.c: Remove #define STRLEN.
14888         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14889         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14891 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14893         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14894         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14895         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14896         * sysdeps/mips/mips64/Makefile: ... here.
14897         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14898         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14899         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14900         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14901         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14902         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14903         * sysdeps/mips/mips64/n64/Implies: Likewise.
14905 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14907         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14908         <sys/time.h>, <string.h>, and <errno.h>.
14909         (dest_offset, dest_address, value, zero): Remove unused variables.
14910         (ldouble): Remove typedef.
14911         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14912         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14913         1).  Fix code style.
14914         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14915         (check): Function removed.
14916         (CHECK): New macro.
14917         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14918         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14919         Don't call set_sigaction_FP and remove_sigaction_FP here.
14920         (ldouble_test): Just use 'long double' as macro argument, no need for
14921         the 'ldouble' typedef.
14922         (do_test): Set up SIGFPE handler at start, using plain signal rather
14923         than sigaction.  Fix code style.
14925 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14927         [BZ #17949]
14928         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14929         jump label.
14931 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14933         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14934         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14936         * sysdeps/powerpc/configure.ac: Remove file.
14937         * sysdeps/powerpc/configure: Likewise.
14939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14940         [sysdep_routines]: Remove wordcopy-power6 object.
14941         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14942         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14943         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14944         (__memmove_ppc32): Likewise.
14945         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14946         file.
14947         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14948         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14949         Remove preprocessor.
14951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14952         [sysdep_routines]: Remove wide chars objects.
14953         [wcsmbs]: New rule for wide char objects.
14955         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14956         Remove wordcopy-power6 obejct.
14957         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14958         Use local call for wordcopy and memcpy symbols.
14959         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14961         implementation for loader.
14962         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14965         Remove wordcopy-power7 object.
14966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14968         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14969         (_wordcopy_fwd_dest_aligned): Likewise.
14970         (_wordcopy_bwd_aligned): Likewise.
14971         (_wordcopy_bwd_dest_aligned): Likewise.
14973         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14974         Rewrite to call __memmove_ppc instead of include default
14975         implementation.
14977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14978         Remove wide chars objects.
14979         [wcsmbs]: New rule for wide char objects.
14981 2015-02-09  Andreas Schwab  <schwab@suse.de>
14983         [BZ #17912]
14984         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14985         in terms of __O_DIRECTORY.
14987 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14989         * time/getdate.c: Include <stdbool.h>.
14990         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14991         call PTR_MANGLE.
14992         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14993         PTR_DEMANGLE.
14995 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14997         Add ersatz _Static_assert on older C hosts
14998         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14999         pre-C11 C platform that is not known to support _Static_assert.
15001 2015-02-07  Richard Braun  <rbraun@sceen.net>
15003         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15004         sigstate.
15005         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15007 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15009         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15010         priority against unexistent AIO_PRIO_DELTA_MAX.
15011         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15012         instead of int.
15013         * misc/fchflags.c (fchflags): Likewise.
15014         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15015         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15016         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15017         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15018         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15019         Declare macros.
15020         [__USE_MISC] (chflags, fchflags): Declare functions.
15021         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15022         EINVAL when nfds is greater than FD_SETSIZE.
15023         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15024         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15025         45.
15026         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15027         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15028         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15029         MACH_RCV_TIMED_OUT.
15030         * hurd/hurd/signal.h (_hurd_self_sigstate,
15031         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15032         Explicit casts from void *.
15033         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15034         * abi-tags: Rename gnu-gnu os into gnu.
15036         [BZ #4719]
15037         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15038         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15039         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15040         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15041         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15042         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15044         [BZ #17944]
15045         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15046         duplicates ADDR->sun_path with sockaddr LEN limitation.
15047         * sysdeps/mach/hurd/connect.c: Include <string.h>
15048         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15049         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15050         * sysdeps/mach/hurd/sendto.c: Likewise.
15051         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15052         implementing it by hand.
15054 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15056         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15057         Use sfi_breg on ldr.
15058         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15059         Likewise.
15061         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15062         it's defined.
15063         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15064         Test SIGSETXID only if it's defined.
15066         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15068         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15069         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15071         * nptl/tst-align2.c: Moved ...
15072         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15073         * nptl/Makefile (tests): Remove tst-align2.
15074         * sysdeps/unix/sysv/linux/Makefile
15075         [$(subdir) = nptl] (tests): Add tst-align-clone.
15076         * nptl/tst-getpid1.c: Moved ...
15077         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15078         * nptl/tst-getpid2.c: Moved ...
15079         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15080         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15081         * sysdeps/unix/sysv/linux/Makefile
15082         [$(subdir) = nptl] (tests): ... here.
15083         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15084         * sysdeps/unix/sysv/linux/Makefile
15085         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15087         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15088         Drop trailing \n from perror argument.  Use return rather than exit.
15090         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15091         on [SA_SIGINFO].
15092         * nptl/tst-cancel21.c (do_test): Likewise.
15093         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15094         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15095         [!SA_SIGINFO]: Make it a stub test.
15097         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15098         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15100         * posix/tst-getlogin.c: Move to ...
15101         * login/tst-getlogin.c: ... here.
15102         * posix/Makefile (tests): Move tst-getlogin to ...
15103         * login/Makefile (tests): ... here.
15105         * libio/tst-atime.c (do_test): Move local variables SV and E
15106         inside [ST_NOATIME] conditional.
15108         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15110         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15112         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15113         (wait_code): New function replaces macro.
15114         Call nanosleep rather than syscall.
15116         * nptl/pt-system.c: Rewritten.  Put everything under
15117         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15118         Use IFUNC to redirect when possible.
15120         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15121         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15122         Use IFUNC to redirect when possible.
15124         * nptl/pt-fork.c: Rewritten.  Put everything under
15125         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15126         Use IFUNC to redirect when possible.
15127         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15130         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15131         unconditionally nowadays.  This included the only reference to
15132         __vdso_clock_gettime that appears outside libc proper.
15133         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15134         Remove version set (containing only __vdso_clock_gettime).
15135         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15136         Add attribute_hidden.
15137         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15138         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15139         libc_hidden_data_def.
15140         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15141         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15143         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15144         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15145         setrpcent, and getrpcport to ...
15146         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15147         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15148         getrpcbynumber_r, and getrpcent_r to ...
15149         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15150         * inet/getrpcbyname.c: Moved ...
15151         * sunrpc/getrpcbyname.c: ... here.
15152         * inet/getrpcbyname_r.c: Moved ...
15153         * sunrpc/getrpcbyname_r.c: ... here.
15154         * inet/getrpcbynumber.c: Moved ...
15155         * sunrpc/getrpcbynumber.c: ... here.
15156         * inet/getrpcbynumber_r.c: Moved ...
15157         * sunrpc/getrpcbynumber_r.c: ... here.
15158         * inet/getrpcent.c: Moved ...
15159         * sunrpc/getrpcent.c: ... here.
15160         * inet/getrpcent_r.c: Moved ...
15161         * sunrpc/getrpcent_r.c: ... here.
15162         * inet/Makefile (routines): Move those to ...
15163         * sunrpc/Makefile (routines): ... here.
15164         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15165         the $(subdirs) list.
15166         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15167         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15168         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15169         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15171         * elf/Makefile (routines): Include $(all-dl-routines), not just
15172         $(dl-routines).
15173         (rtld-routines): Likewise.  Use = rather than :=.
15174         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15175         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15176         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15177         * sysdeps/arm/Makefile: Likewise.
15178         * sysdeps/i386/Makefile: Likewise.
15179         * sysdeps/x86_64/Makefile: Likewise.
15180         * sysdeps/hppa/Makefile [$(subdir) = elf]
15181         (sysdep_routines, sysdep-rtld-routines): Don't add
15182         $(sysdep-dl-routines) to these.
15183         * sysdeps/ia64/Makefile: Likewise.
15184         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15185         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15186         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15187         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15188         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15189         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15190         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15191         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15192         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15193         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15194         these; sysdep-dl-routines alone is enough.
15196 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15198         [BZ #17932]
15199         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15200         where multiplication results in zero and third argument is finite
15201         and nonzero.
15202         * math/auto-libm-test-in: Add more tests of fma.
15203         * math/auto-libm-test-out: Regenerated.
15205         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15206         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15207         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15208         (_FP_CMP_EQ): Likewise.
15209         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15211         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15212         extra argument CHECK_NAN.  Redefine as wrapper around
15213         _FP_EXTEND_CNAN.
15215 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15217         * version.h (RELEASE): Set to "stable".
15218         (VERSION): Set to "2.21"
15219         * include/features.h (__GLIBC_MINOR__): Set to 21.
15221         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15223 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15224             Paul Eggert  <eggert@cs.ucla.edu>
15226         [BZ #16618]
15227         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15228         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15229         size in bytes. Store needed elements in wpmax. Use needed size
15230         in bytes for extend_alloca.
15232 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15234         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15235         binutls 2.25, and texinfo 5.2.
15236         * INSTALL: Regenerate.
15237         * sysdeps/nios2/configure: Regenerate.
15238         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15239         * manual/contrib.texi: Update.
15240         * po/be.po: Update.
15241         * po/bg.po: Update.
15242         * po/ca.po: Update.
15243         * po/cs.po: Update.
15244         * po/da.po: Update.
15245         * po/de.po: Update.
15246         * po/el.po: Update.
15247         * po/eo.po: Update.
15248         * po/es.po: Update.
15249         * po/fi.po: Update.
15250         * po/fr.po: Update.
15251         * po/gl.po: Update.
15252         * po/hr.po: Update.
15253         * po/hu.po: Update.
15254         * po/ia.po: Update.
15255         * po/id.po: Update.
15256         * po/it.po: Update.
15257         * po/ja.po: Update.
15258         * po/ko.po: Update.
15259         * po/lt.po: Update.
15260         * po/nb.po: Update.
15261         * po/nl.po: Update.
15262         * po/pl.po: Update.
15263         * po/pt_BR.po: Update.
15264         * po/ru.po: Update.
15265         * po/rw.po: Update.
15266         * po/sk.po: Update.
15267         * po/sl.po: Update.
15268         * po/sv.po: Update.
15269         * po/tr.po: Update.
15270         * po/uk.po: Update.
15271         * po/vi.po: Update.
15272         * po/zh_CN.po: Update.
15273         * po/zh_TW.po: Update.
15275         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15276         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15277         * sysdeps/hppa/dl-irel.h: Remove #warning.
15278         * sysdeps/hppa/entry.h: Provide prototype for
15279         __canonicalize_funcptr_for_compare and cast argument.
15280         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15281         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15282         * sysdeps/hppa/sotruss-lib.c: New file.
15283         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15284         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15285         (atomic_compare_and_exchange_bool_acq): Likewise.
15286         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15287         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15289         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15290         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15291         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15293 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15295         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15296         called function in non-PIC case.
15298 2015-01-31  David S. Miller  <davem@davemloft.net>
15300         * sysdeps/sparc/sparc32/bits/atomic.h
15301         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15302         unlock not after it.
15303         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15304         volatile register usage warnings from the compiler.
15306         * sysdeps/sparc/nptl/sem_init.c: Delete.
15307         * sysdeps/sparc/nptl/sem_post.c: Delete.
15308         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15309         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15310         * sysdeps/sparc/sparc32/sem_init.c: New file.
15311         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15312         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15313         padding explicitly initialized.
15314         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15315         padding for in-semaphore spinlock.
15316         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15317         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15318         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15319         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15320         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15321         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15322         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15323         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15324         version.
15325         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15326         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15328 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15330         [BZ #17801]
15331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15332         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15333         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15334         New.
15335         (index_AVX_Fast_Unaligned_Load): Likewise.
15336         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15337         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15338         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15339         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15340         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15341         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15342         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15343         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15344         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15346 2015-01-29  Andreas Schwab  <schwab@suse.de>
15348         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15350 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15352         [BZ #17892]
15353         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15355 2015-01-28  Martin Sebor  <msebor@redhat.com>
15357         * math/README.libm-test: Clarify. Add "How to read the test output."
15359 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15361         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15362         Define to 0.
15364 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15366         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15367         (__HAVE_64B_ATOMICS): Define to 0.
15369 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15371         [BZ #17885]
15372         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15373         value to set as new flag.
15375         [BZ #16576]
15376         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15377         and use _ARCH_PPCSQ instead.
15378         (__ieee754_sqrt): Likewise.
15379         (__ieee754_sqrtf): Likewise.
15380         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15381         _ARCH_PPCSQ is defined.
15382         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15383         fsqrt instruction.
15384         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15385         _ARCH_PPCSQ is defined.
15386         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15387         fsqrts instruction.
15388         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15390 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15392         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15393         bug (GCC BZ #64739).
15395 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15397         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15398         Mark _retval as used.
15399         (lll_futex_wake_unlock): Likewise.
15400         (lll_futex_timed_wait_requeue_pi): Likewise.
15402         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15403         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15404         register variables.
15406         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15407         libm_hidden_def.
15409         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15410         (__bswap_64): Mark as __always_inline.
15412 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15414         [BZ #15378]
15415         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15416         when none of the search directories exist.
15418 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15420         [BZ #17869]
15421         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15422         power8 in .machine directive.
15424         [BZ #17868]
15425         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15426         set dependency from opd value.
15428 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15431         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15432         architecture.
15434 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15436         [BZ #17870]
15437         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15438         with uint64_t.
15439         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15440         (uint64_t) 1.
15441         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15442         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15443         Replace 1UL with (uint64_t) 1.
15444         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15445         int with uint64_t.
15447 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15449         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15450         (if_freenameindex): Likewise.
15452         * resource/getrlimit64.c: Add missing libc_hidden_def.
15454 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15456         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15457         __label__.
15458         (_FP_FMA): Likewise.
15459         (_FP_TO_INT_ROUND): Likewise.
15460         (_FP_FROM_INT): Likewise.
15462 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15464         [BZ #16418]
15465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15466         Make code racy and cancel safe.
15468 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15470         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15471         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15472         attribution.
15474         * pwd/tst-getpw.c: Rewrite.
15476         [BZ #17702]
15477         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15478         (modules-names): Add moddummy1 and moddummy2.
15479         ($(objpfx)tst-rec-dlopen): Define.
15480         * dlfcn/moddummy1.c: New file.
15481         * dlfcn/moddummy2.c: New file.
15482         * dlfcn/tst-rec-dlopen.c: New file.
15483         * elf/dl-cache.c (_dl_load_cache_lookup):
15484         Return char*. Copy result with alloca/strcpy/strdup.
15485         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15486         returns char*. Free cached. If not saving realname
15487         free cached.
15488         * elf/dl-open.c (dl_open_worker): Do not assert that
15489         _r_debug->r_state is RT_CONSISTENT.
15490         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15491         returns char*.
15493 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15494             Carlos O'Donell  <carlos@redhat.com>
15496         [BZ #12674]
15497         * nptl/sem_waitcommon.c: New file.
15498         * nptl/sem_wait.c: Include sem_waitcommon.c.
15499         (__sem_wait_cleanup, do_futex_wait): Remove.
15500         (__new_sem_wait): Adapt.
15501         (__new_sem_trywait): New function.
15502         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15503         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15504         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15505         (sem_timedwait): Adapt.
15506         * nptl/sem_post.c (__new_sem_post): Adapt.
15507         (futex_wake): New function.
15508         (__old_sem_post): Add release MO fence.
15509         * nptl/sem_open.c (sem_open): Adapt.
15510         * nptl/sem_init.c (__new_sem_init): Adapt.
15511         (futex_private_if_supported): New function.
15512         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15513         (__old_sem_getvalue): Add using previous code.
15514         * sysdeps/nptl/internaltypes.h: Adapt.
15515         * nptl/tst-sem13.c (do_test): Adapt.
15516         * nptl/tst-sem11.c (main): Adapt.
15517         * nptl/sem_trywait.c: Remove.
15518         * nptl/DESIGN-sem.txt: Remove.
15519         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15520         (gen-as-const-headers): Remove structsem.sym.
15521         * nptl/structsem.sym: Remove.
15522         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15523         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15524         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15525         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15526         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15527         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15528         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15529         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15530         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15531         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15532         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15533         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15534         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15535         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15536         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15537         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15538         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15539         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15540         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15541         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15542         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15543         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15545 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15547         * INSTALL: Regenerated.
15549         * po/libc.pot: Regenerated.
15551 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15552             Sandra Loosemore  <sandra@codesourcery.com>
15553             Andrew Jenner  <andrew@codesourcery.com>
15554             Joseph Myers  <joseph@codesourcery.com>
15555             Nathan Sidwell  <nathan@codesourcery.com>
15557         * NEWS: Mention new Nios II port.
15558         * sysdeps/nios2/Implies: New file.
15559         * sysdeps/nios2/Makefile: New file.
15560         * sysdeps/nios2/Subdirs: New file.
15561         * sysdeps/nios2/Versions: New file.
15562         * sysdeps/nios2/__longjmp.S: New file.
15563         * sysdeps/nios2/abort-instr.h: New file.
15564         * sysdeps/nios2/backtrace.c: New file.
15565         * sysdeps/nios2/bits/endian.h: New file.
15566         * sysdeps/nios2/bits/fenv.h: New file.
15567         * sysdeps/nios2/bits/link.h: New file.
15568         * sysdeps/nios2/bits/setjmp.h: New file.
15569         * sysdeps/nios2/bsd-_setjmp.S: New file.
15570         * sysdeps/nios2/bsd-setjmp.S: New file.
15571         * sysdeps/nios2/configure: New generated file.
15572         * sysdeps/nios2/configure.ac: New file.
15573         * sysdeps/nios2/crti.S: New file.
15574         * sysdeps/nios2/crtn.S: New file.
15575         * sysdeps/nios2/dl-init.c: New file.
15576         * sysdeps/nios2/dl-machine.h: New file.
15577         * sysdeps/nios2/dl-sysdep.h: New file.
15578         * sysdeps/nios2/dl-tls.h: New file.
15579         * sysdeps/nios2/dl-trampoline.S: New file.
15580         * sysdeps/nios2/gccframe.h: New file.
15581         * sysdeps/nios2/gmp-mparam.h: New file.
15582         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15583         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15584         * sysdeps/nios2/ldsodefs.h: New file.
15585         * sysdeps/nios2/libc-tls.c: New file.
15586         * sysdeps/nios2/libm-test-ulps: New file.
15587         * sysdeps/nios2/machine-gmon.h: New file.
15588         * sysdeps/nios2/math-tests.h: New file.
15589         * sysdeps/nios2/math_private.h: New file.
15590         * sysdeps/nios2/memusage.h: New file.
15591         * sysdeps/nios2/nptl/Makefile: New file.
15592         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15593         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15594         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15595         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15596         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15597         * sysdeps/nios2/nptl/tls.h: New file.
15598         * sysdeps/nios2/preconfigure: New file.
15599         * sysdeps/nios2/s_fma.c: New file.
15600         * sysdeps/nios2/s_fmaf.c: New file.
15601         * sysdeps/nios2/setjmp.S: New file.
15602         * sysdeps/nios2/sfp-machine.h: New file.
15603         * sysdeps/nios2/sotruss-lib.c: New file.
15604         * sysdeps/nios2/stackguard-macros.h: New file.
15605         * sysdeps/nios2/stackinfo.h: New file.
15606         * sysdeps/nios2/start.S: New file.
15607         * sysdeps/nios2/sysdep.h: New file.
15608         * sysdeps/nios2/tls-macros.h: New file.
15609         * sysdeps/nios2/tst-audit.h: New file.
15610         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15611         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15612         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15613         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15614         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15615         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15616         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15617         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15618         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15619         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15620         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15621         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15622         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15623         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15624         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15625         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15626         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15627         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15628         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15629         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15630         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15631         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15632         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15633         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15634         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15635         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15636         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15637         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15638         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15639         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15640         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15641         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15642         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15643         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15644         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15645         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15646         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15647         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15648         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15649         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15650         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15651         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15652         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15653         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15655 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15657         [BZ #17844]
15658         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15659         (getutent): Use weak_alias in non SHARED case
15660         and default_symbol_version in SHARED case.
15661         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15662         (getutent_r, pututline): Likewise.
15663         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15664         (getutid): Likewise.
15665         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15666         (getutid_r): Likewise.
15667         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15668         (getutline): Likewise.
15669         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15670         (getutline_r): Likewise.
15671         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15672         (updwtmp): Likewise.
15674 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15676         [BZ #17848]
15677         * sysdeps/s390/s390-32/memcmp.S
15678         (memcmp_g5): Rename to __memcmp_g5.
15679         * sysdeps/s390/s390-32/memcpy.S
15680         (memcpy_g5): Rename to __memcpy_g5.
15681         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15682         (memcpy_mvcle) Rename to __memcpy_mvcle.
15683         * sysdeps/s390/s390-32/memset.S
15684         (memset_g5): Rename to __memset_g5.
15685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15686         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15687         and use prefixed functions.
15688         * sysdeps/s390/s390-32/multiarch/memcmp.S
15689         (memcmp_z196): Rename to __memcmp_z196.
15690         (memcmp_z10): Rename to __memcmp_z10.
15691         (memcmp): Set alias to __memcmp_g5.
15692         (bcmp): Set alias to __memcmp_g5.
15693         * sysdeps/s390/s390-32/multiarch/memcpy.S
15694         (memcpy_z196): Rename to __memcpy_z196.
15695         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15696         (memcpy_z10): Rename to __memcpy_z10.
15697         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15698         (memcpy): Set alias to __memcpy_g5.
15699         * sysdeps/s390/s390-32/multiarch/memset.S
15700         (memset_z196): Rename to __memset_z196.
15701         Jump to __memset_mvcle instead of memset_mvcle.
15702         (memset_z10): Rename to __memset_z10.
15703         Jump to __memset_mvcle instead of memset_mvcle.
15704         (memset_mvcle) Rename to __memset_mvcle.
15705         (memset): Set alias to __memset_g5.
15706         * sysdeps/s390/s390-64/memcmp.S
15707         (memcmp_z900): Rename to __memcmp_z900.
15708         * sysdeps/s390/s390-64/memcpy.S
15709         (memcpy_z900): Rename to __memcpy_z900.
15710         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15711         (memcpy_mvcle) Rename to __memcpy_mvcle.
15712         * sysdeps/s390/s390-64/memset.S
15713         (memset_z900): Rename to __memset_z900.
15714         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15715         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15716         and use prefixed functions.
15717         * sysdeps/s390/s390-64/multiarch/memcmp.S
15718         (memcmp_z196): Rename to __memcmp_z196.
15719         (memcmp_z10): Rename to __memcmp_z10.
15720         (memcmp): Set alias to __memcmp_z900.
15721         (bcmp): Set alias to __memcmp_z900.
15722         * sysdeps/s390/s390-64/multiarch/memcpy.S
15723         (memcpy_z196): Rename to __memcpy_z196.
15724         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15725         (memcpy_z10): Rename to __memcpy_z10.
15726         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15727         (memcpy): Set alias to __memcpy_z900.
15728         * sysdeps/s390/s390-64/multiarch/memset.S
15729         (memset_z196): Rename to __memset_z196.
15730         Jump to __memset_mvcle instead of memset_mvcle.
15731         (memset_z10): Rename to __memset_z10.
15732         Jump to __memset_mvcle instead of memset_mvcle.
15733         (memset_mvcle) Rename to __memset_mvcle.
15734         (memset): Set alias to __memset_z900.
15736 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15738         [BZ #17748]
15739         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15740         __fesetenv instead of fesetenv.
15742 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15744         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15745         macro.
15747 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15749         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15750         regression on LE.
15752         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15753         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15755         strncmp-power8 object.
15756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15757         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15758         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15759         * NEWS: Update.
15761 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15762             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15764         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15765         trailing byte check.
15767 2015-01-13  David S. Miller  <davem@davemloft.net>
15769         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15771 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15773         * login/logout.c (logout): Use memset rather than bzero.
15774         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15775         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15776         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15777         (_gethtbyaddr): Likewise.
15778         * locale/programs/simple-hash.c (bcopy): Macro removed.
15780 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15783         Add strcmp-power8 object.
15784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15785         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15786         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15787         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15788         __strcmp_power8 implementation.
15789         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15790         * NEWS: Update.
15792         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15793         Add strncpy-power8 and stpncpy-power8 objects.
15794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15795         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15796         implementations.
15797         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15798         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15799         __stpncpy_power8 implementation.
15800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15801         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15802         __strncpy_power8 implementation.
15803         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15804         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15805         * NEWS: Update.
15807         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15808         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15809         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15811         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15812         strncat-power8 object.
15813         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15814         __strcat_power8 implementation.
15815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15816         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15817         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15818         optimized strcat for power8.
15820         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15821         strcpy-power8 and stpcpy-power8 objects.
15822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15823         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15824         implementations.
15825         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15826         multiarch stpcpy implementation for POWER8.
15827         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15828         multiarch strcpy implementation for POWER8.
15829         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15830         __strcpy_power8 function.
15831         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15832         stpcpy for POWER8.
15833         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15834         strcpy for POWER8.
15835         * NEWS: Update.
15837 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15839         [BZ #16009]
15840         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15841         weights and rules. Use do_xfrm_cached if data fits in cache,
15842         do_xfrm otherwise.  Moved former main loop to...
15843         * (do_xfrm_cached): New function.
15844         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15845         find_idx, find_position and stack_push.
15846         * (find_idx): New function.
15847         * (find_position): Likewise.
15848         * localedata/sort-test.sh: Added test run for do_xfrm.
15849         * localedata/xfrm-test.c (main): Added command line option
15850         -nocache to run the test with strings that are too large for
15851         the STRXFRM cache.
15853 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15855         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15856         variable to lll_futex_wake call, not the value itself.
15858 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15860         [BZ #17803]
15861         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15862         twom64.  Adjust value to 0x1p-64L.
15863         (__scalblnl): Only return standard underflowing result for K <=
15864         -64 not K <= -63; adjust exponent for underflowing result by 64
15865         not 63.
15866         * math/libm-test.inc (scalbn_test_data): Add more tests.
15867         (scalbln_test_data): Likewise.
15869         [BZ #17834]
15870         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15871         0x1p63L.
15872         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15873         not HX.
15874         * math/libm-test.inc (scalbn_test_data): Add more tests.
15875         (scalbln_test_data): Likewise.
15877 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15878             Stefani Seibold  <stefani@seibold.net>
15880         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15881         (sysdep_routines): Add dl-vdso here, ...
15882         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15883         (sysdep_routines): ... not here.
15884         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15885         fallback when vDSO is not presented.
15886         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15887         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15888         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15889         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15890         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15891         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15892         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15893         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15894         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15896         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15897         fallback configurable symbol when vDSO is not available.
15898         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15899         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15900         be able to redefine fallback symbol when vDSO is not available.
15901         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15902         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15904 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15907         (TLS_INIT_TP): Add tm_capable initialization.
15908         (TLS_DEFINE_INIT_TP): Likewise.
15909         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15910         TCB.
15911         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15912         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15913         calculation.
15914         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15915         transactoion is lock elision is built and TCB tm_capable is set.
15916         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15918         (INTERNAL_SYSCALL_NCS): Likewise.
15919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15920         (INTERNAL_SYSCALL_NCS): Likewise.
15921         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15923         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15924         for powerpc.
15925         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15926         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15927         and remove it for 32 bits case.
15928         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15930         initialization.
15931         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15932         Disable lock elision with rdlocks if elision is not available.
15934         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15935         (sysdep_routines): Add lock elision objects.
15936         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15937         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15938         [pthread_mutex_t] (__elision): Add field.
15939         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15940         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15941         elision definitions for powerpc.
15942         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15943         implementation of lock elision for powerpc.
15944         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15945         implementation of timed lock elision for powerpc.
15946         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15947         implementation of trylock with lock elision for powerpc.
15948         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15949         implementaion of unlock for lock elision for powerpc.
15950         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15951         automatic enable lock elision for mutexes.
15952         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15953         transaction execution definitions for powerpc.
15954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15955         definitions.
15956         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15957         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15958         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15959         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15960         * NEWS: Update.
15962 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15964         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15965         for #include of <shm-directory.h>.
15967 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15970         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15972 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15974         [BZ #17791]
15975         * NEWS: Mention bug fix.
15976         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15977         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15978         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15980 2015-01-09  Torvald Riegel <triegel@redhat.com>
15982         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15984 2015-01-09  Torvald Riegel <triegel@redhat.com>
15986         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15988 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15990         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15991         pointer and cast to uintptr_t.
15993 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15995         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15996         removed.
15997         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15999 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16001         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16002         of 0.
16004 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16006         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16007         <nptl/pthreadP.h> instead.
16008         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16010         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16011         already defined.
16012         [__SIGRTMIN] (init): Function removed.
16013         [__SIGRTMIN] (initialized): Variable removed.
16014         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16015         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16016         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16017         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16018         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16019         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16020         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16021         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16022         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16023         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16024         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16025         * sysdeps/nptl/allocrtsig.c: New file.
16026         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16027         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16028         * sysdeps/generic/testrtsig.h: File removed.
16030         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16031         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16033         * nptl/nptl-init.c (pthread_functions): Conditionalize
16034         .ptr__nptl_setxid initialization on [SIGSETXID].
16036         * sysdeps/nptl/sys/procfs.h: New file.
16037         * nptl_db/Makefile (headers): Add it.
16038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16040         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16041         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16042         * nptl/pthread_attr_setaffinity.c: Include it.
16043         * nptl/pthread_setattr_default_np.c: Likewise.
16044         * nptl/check-cpuset.h: New file.
16046 2015-01-08  Richard Henderson  <rth@redhat.com>
16048         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16049         (CFLAGS-tst-execstack-prog.c): Likewise.
16050         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16052 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16053             Sandra Loosemore  <sandra@codesourcery.com>
16054             Andrew Jenner  <andrew@codesourcery.com>
16055             Joseph Myers  <joseph@codesourcery.com>
16056             Nathan Sidwell  <nathan@codesourcery.com>
16058         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16059         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16060         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16061         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16062         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16063         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16064         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16065         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16066         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16067         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16068         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16069         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16070         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16071         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16072         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16073         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16074         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16076 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16078         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16079         timespec struct member in syscall macro.
16080         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16081         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16082         first timeval struct member in syscall macro.
16083         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16085 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16087         [BZ #17748]
16088         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16089         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16090         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16091         __feupdateenv and define as weak alias of __feupdateenv.  Use
16092         libm_hidden_weak.
16093         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16094         libm_hidden_def.
16095         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16096         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16097         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16098         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16099         libm_hidden_def.
16100         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16101         __feupdateenv and define as weak alias of __feupdateenv.  Use
16102         libm_hidden_weak.
16103         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16104         libm_hidden_def.
16105         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16106         __feupdateenv and define as weak alias of __feupdateenv.  Use
16107         libm_hidden_weak.
16108         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16109         libm_hidden_def.
16110         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16111         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16112         (__feupdateenv): Likewise.
16113         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16114         __feupdateenv and define as weak alias of __feupdateenv.  Use
16115         libm_hidden_weak.
16116         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16117         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16118         libm_hidden_def.
16119         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16120         function.
16121         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16122         libm_hidden_def.
16123         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16124         __feupdateenv instead of feupdateenv.
16125         (default_libc_feupdateenv_test): Likewise.
16126         (libc_feresetround_ctx): Likewise.
16128 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16130         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16131         prototype.
16133 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16135         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16136         COLL_SYM in a couple of places to avoid uninitialized variable
16137         wanings on tilegx gcc 4.8.2.
16139 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16141         * sysdeps/aarch64/strcpy.S: New file.
16142         * sysdeps/aarch64/stpcpy.S: New file.
16143         * NEWS: Updated.
16145 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16147         * sysdeps/aarch64/strrchr.S: New file.
16148         * NEWS: Updated.
16150 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16152         [BZ #17658]
16153         * stdlib/setenv.c: Fix memory leak when setting large,
16154         duplicate string.
16156 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16158         [BZ #17273]
16159         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16160         and tabs from buffer before parsing fstab entry.
16161         * misc/tst-mntent.c (main): Add test for mount entry with
16162         trailing spaces and tabs.
16164 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16166         [BZ #17748]
16167         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16168         * math/fesetround.c (fesetround): Rename to __fesetround and
16169         define as weak alias of __fesetround.  Use libm_hidden_weak.
16170         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16171         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16172         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16173         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16174         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16175         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16176         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16177         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16178         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16179         __fesetround_inline.
16180         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16181         __fesetround_inline instead of __fesetround.
16182         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16183         __fesetround and define as weak alias of __fesetround.  Use
16184         libm_hidden_weak.  Call __fesetround_inline instead of
16185         __fesetround.
16186         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16187         __fesetround and define as weak alias of __fesetround.  Use
16188         libm_hidden_weak.
16189         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16190         Likewise.
16191         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16192         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16193         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16194         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16195         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16196         __fesetround and define as weak alias of __fesetround.  Use
16197         libm_hidden_weak.
16198         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16199         __fesetround instead of fesetround.
16200         (default_libc_feholdexcept_setround): Likewise.
16201         (libc_feholdsetround_ctx): Likewise.
16202         (libc_feholdsetround_noex_ctx): Likewise.
16204         [BZ #17748]
16205         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16206         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16207         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16208         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16209         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16210         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16211         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16212         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16213         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16214         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16215         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16216         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16217         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16218         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16219         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16220         libm_hidden_def.
16221         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16222         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16223         Likewise.
16224         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16225         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16226         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16227         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16228         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16229         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16230         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16231         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16232         __fesetenv instead of fesetenv.
16233         (libc_feresetround_noex_ctx): Likewise.
16234         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16235         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16236         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16237         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16238         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16239         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16240         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16241         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16242         (__feupdateenv): Likewise.
16243         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16244         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16245         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16246         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16248 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16250         [BZ #17806]
16251         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16252         addresses have been freed.
16254 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16256         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16257         and nservall.
16259 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16261         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16262         Clean up check_pf allocation pattern. addresses
16264 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16266         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16267         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16268         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16269         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16270         * nptl/pthread_join.c (pthread_join): Likewise.
16271         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16272         * sysdeps/posix/waitid.c (__waitid): Likewise.
16273         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16274         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16275         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16276         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16278         Likewise.
16279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16280         (__libc_pread64): Likewise.
16281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16282         (__libc_pwrite): Likewise.
16283         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16284         (__libc_pwrite64): Likewsie.
16285         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16286         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16287         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16288         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16289         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16290         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16291         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16293         Likewise.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16295         (__libc_pread64): Likewise.
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16297         Likewise.
16298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16299         (__libc_pwrite64): Likewise.
16300         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16301         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16302         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16303         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16304         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16305         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16306         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16307         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16308         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16309         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16310         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16311         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16312         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16313         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16314         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16315         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16316         Likewise.
16318 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16320         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16321         (CFLAGS-test-double.c): Likewise.
16322         (CFLAGS-test-ldouble.c): Likewise.
16323         (CPPFLAGS-test-ifloat.c): Likewise.
16324         (CPPFLAGS-test-idouble.c): Likewise.
16325         (CPPFLAGS-test-ildoubl.c): Likewise.
16326         (CFLAGS-test-test-fenv.c): Remove variable.
16327         (CFLAGS-test-misc.c): Likewise.
16329 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16331         [BZ #17797]
16332         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16333         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16334         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16335         CLOCKS_PER_SEC == 1000000.
16336         * time/clocktest.c (main): Replace %ld with %jd and cast to
16337         intmax_t.
16339 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16341         * sysdeps/generic/unwind-resume.h: New file.
16342         * sysdeps/gnu/unwind-resume.c: Include it.
16343         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16344         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16345         argument list.
16346         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16347         global rather than static.
16348         (_Unwind_Resume): Update user.
16349         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16350         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16351         rather than static.  Add __attribute__ ((cold)).
16352         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16353         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16354         * sysdeps/arm/arm-unwind-resume.S: New file.
16355         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16356         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16357         * sysdeps/arm/Makefile [$(subdir) = csu]
16358         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16359         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16360         Add rt-arm-unwind-resume.
16361         [$(subdir) = nptl]
16362         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16363         Add pt-arm-unwind-resume.
16364         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16365         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16367 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16369         [BZ #17748]
16370         * include/fenv.h (__feholdexcept): Declare.  Use
16371         libm_hidden_proto.
16372         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16373         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16374         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16375         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16376         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16377         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16378         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16379         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16380         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16381         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16382         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16383         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16384         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16385         (feholdexcept): Likewise.
16386         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16387         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16388         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16389         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16390         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16391         __feholdexcept instead of feholdexcept.
16392         (default_libc_feholdexcept_setround): Likewise.
16394 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16396         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16397         to avoid using stl/str to align destination.
16399 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16401         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16403 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16405         [BZ #17796]
16406         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16407         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16408         Define as weak alias not strong alias.
16410 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16412         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16413         bltzal with addiupc.
16414         (RTLD_START): Ditto.
16416 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16418         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16419         for __vdso_* functions in declarations.
16420         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16421         definitions.
16422         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16423         INTERNAL_VSYSCALL): Use struct return types to check for error.
16425         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16426         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16427         function with cast from llround().
16428         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16429         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16430         Define.
16432 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16434         [BZ #17793]
16435         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16436         Define as weak alias not strong alias.
16438         [BZ #17635]
16439         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16440         ...
16441         * ctype/ctype-extn.c: ... here.
16442         (__isblank_l): Move to ...
16443         * ctype/ctype-c99_l.c: ... here.  New file.
16444         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16445         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16446         Remove variable.
16447         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16448         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16449         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16450         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16451         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16453         [BZ #17777]
16454         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16455         (posix_fadvise64): Define as weak alias not strong alias.
16456         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16457         (posix_fallocate64): Likewise.
16458         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16459         Remove variable.
16460         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16461         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16462         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16463         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16464         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16466 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16468         [BZ #16191]
16469         * NEWS: Mention bug fix.
16470         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16471         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16472         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16473         (HOST_STACK_END_ADDR): Likewise.
16475 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16477         [BZ #17748]
16478         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16479         * math/fegetround.c (fegetround): Rename to __fegetround and
16480         define as weak alias of __fegetround.  Use libm_hidden_weak.
16481         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16482         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16483         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16484         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16485         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16486         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16487         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16488         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16489         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16490         Undefine after rather than before function definition; use
16491         parentheses around function name in definition.
16492         (__fegetround): Also undefine macro after function definition.
16493         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16494         __fegetround and define as weak alias of __fegetround.  Use
16495         libm_hidden_weak.  Do not undefine as macro.
16496         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16497         Likewise.
16498         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16499         __fegetround and define as weak alias of __fegetround.  Use
16500         libm_hidden_weak.
16501         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16502         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16503         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16504         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16505         __fegetround and define as weak alias of __fegetround.  Use
16506         libm_hidden_weak.
16507         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16508         __fegetround instead of fegetround.
16510         [BZ #17782]
16511         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16512         Condition macro definition on [__USE_MISC].
16514         [BZ #17781]
16515         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16516         (struct sigaction): Change type of sa_flags field to int.
16518         [BZ #17780]
16519         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16520         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16521         __glibc_reserved0.
16523         * nptl/version.c (banner): Use single year in copyright notice.
16525         * NEWS: Update copyright dates.
16526         * catgets/gencat.c (print_version): Likewise.
16527         * csu/version.c (banner): Likewise.
16528         * debug/catchsegv.sh: Likewise.
16529         * debug/pcprofiledump.c (print_version): Likewise.
16530         * debug/xtrace.sh (do_version): Likewise.
16531         * elf/ldconfig.c (print_version): Likewise.
16532         * elf/ldd.bash.in: Likewise.
16533         * elf/pldd.c (print_version): Likewise.
16534         * elf/sotruss.sh: Likewise.
16535         * elf/sprof.c (print_version): Likewise.
16536         * iconv/iconv_prog.c (print_version): Likewise.
16537         * iconv/iconvconfig.c (print_version): Likewise.
16538         * locale/programs/locale.c (print_version): Likewise.
16539         * locale/programs/localedef.c (print_version): Likewise.
16540         * login/programs/pt_chown.c (print_version): Likewise.
16541         * malloc/memusage.sh (do_version): Likewise.
16542         * malloc/memusagestat.c (print_version): Likewise.
16543         * malloc/mtrace.pl: Likewise.
16544         * manual/libc.texinfo: Likewise.
16545         * nptl/version.c (banner): Likewise.
16546         * nscd/nscd.c (print_version): Likewise.
16547         * nss/getent.c (print_version): Likewise.
16548         * nss/makedb.c (print_version): Likewise.
16549         * posix/getconf.c (main): Likewise.
16550         * scripts/test-installation.pl: Likewise.
16551         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16553 2015-01-02  Will Newton  <will.newton@linaro.org>
16555         * sysdeps/arm/armv7/configure: Removed.
16556         * sysdeps/arm/armv7/configure.ac: Likewise.
16558 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16560         * All files with FSF copyright notices: Update copyright dates
16561         using scripts/update-copyrights.
16562         * intl/plural.c: Regenerated.
16563         * locale/programs/charmap-kw.h: Likewise.
16564         * locale/programs/locfile-kw.h: Likewise.
16566 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16568         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16570 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16572         [BZ #17748]
16573         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16574         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16575         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16576         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16577         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16578         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16579         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16580         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16581         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16582         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16583         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16584         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16585         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16586         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16587         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16588         libm_hidden_def.
16589         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16590         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16591         Likewise.
16592         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16593         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16594         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16595         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16596         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16597         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16598         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16599         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16600         __fegetenv instead of fegetenv.
16601         (libc_feholdsetround_noex_ctx): Likewise.
16603 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16605         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16606         (Elf_MIPS_ABIFlags_v0): New structure.
16607         (EF_MIPS_FP64): Define.
16608         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16609         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16610         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16611         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16612         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16613         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16614         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16615         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16616         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16617         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16618         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16619         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16620         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16621         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16622         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16623         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16624         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16625         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16626         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16627         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16628         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16629         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16630         field.
16631         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16632         EF_MIPS_FP64.
16633         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16634         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16635         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16636         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16637         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16638         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16639         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16640         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16641         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16642         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16643         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16644         record the current FP ABI extension.
16645         (mips-mode-switch): Define to show if kernel headers support mode
16646         switching.
16647         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16648         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16649         supported SYSV ABI version to 3.
16650         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16651         feature.
16653 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16654             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16656         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16657         path.
16658         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16660 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16662         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16663         __fegetround and redefine to call __fegetround.  Remove condition
16664         on [!__NO_MATH_INLINES].
16665         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16666         function.
16667         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16668         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16669         Remove macro.
16670         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16671         instead of <fenv_libc.h>.
16672         (__llrintl): Call fegetround instead of __fegetround.
16673         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16674         instead of <fenv_libc.h>.
16675         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16676         (__lrintl): Call fegetround instead of __fegetround.
16677         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16678         instead of <fenv_libc.h>.
16679         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16680         (__rintl): Call fegetround instead of __fegetround.
16682 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16684         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16685         arrays.
16687 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16689         [BZ #17775]
16690         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16691         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16692         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16694 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16696         * sysdeps/i386/tls-macros.h: Include <features.h>.
16697         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16698         (TLS_IE): Likewise.
16699         (TLS_LD): Likewise.
16700         (TLS_GD): Likewise.
16701         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16702         define for GCC >= 5.0.
16704 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16706         * math/test-fenv.c (test_single_exception, set_single_exc,
16707         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16708         feexcp_mask_test, feenable_test, fe_single_test): Add
16709         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16710         case where they are not used.
16711         * math/libm-test.inc: Likewise.
16712         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16713         unused in the absence of FP rounding/exception support.
16714         * stdio-common/tst-printf-round.c: Likewise.
16715         * stdlib/tst-strtod-round.c: Likewise.
16716         * stdlib/tst-strtod-underflow.c: Likewise.
16718 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16720         [BZ #17723]
16721         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16722         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16723         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16724         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16725         libm_hidden_weak.
16726         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16727         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16728         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16729         libm_hidden_def.
16730         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16731         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16732         libm_hidden_weak.
16733         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16734         Likewise.
16735         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16736         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16737         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16738         libm_hidden_weak.
16739         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16740         libm_hidden_def.
16741         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16742         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16743         (__feraiseexcept): Likewise.
16744         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16745         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16746         libm_hidden_weak.
16747         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16748         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16749         libm_hidden_def.
16750         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16751         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16752         Use libm_hidden_def.
16753         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16754         libm_hidden_def.
16755         (feraiseexcept): Define as weak not strong alias.  Use
16756         libm_hidden_weak.
16757         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16758         New inline function.  Factored out of ...
16759         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16760         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16761         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16762         feraiseexcept.
16763         * math/w_acos.c (__acos): Likewise.
16764         * math/w_asin.c (__asin): Likewise.
16765         * math/w_ilogb.c (__ilogb): Likewise.
16766         * math/w_j0.c (y0): Likewise.
16767         * math/w_j1.c (y1): Likewise.
16768         * math/w_jn.c (yn): Likewise.
16769         * math/w_log.c (__log): Likewise.
16770         * math/w_log10.c (__log10): Likewise.
16771         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16772         * sysdeps/aarch64/fpu/math_private.h
16773         (libc_feupdateenv_test_aarch64): Likewise.
16774         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16775         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16776         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16777         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16778         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16779         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16780         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16781         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16782         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16783         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16785 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16787         [BZ #17732]
16788         * io/test-utime.c (main): Replace %ld with %jd and cast to
16789         intmax_t.
16790         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16791         * nptl/tst-mutex5.c: Include <stdint.h>.
16792         (do_test): Replace %ld with %jd and cast to intmax_t.
16793         * posix/tst-regex.c (run_test): Likewise.
16794         (run_test_backwards): Likewise.
16795         * rt/tst-clock.c: Include <stdint.h>.
16796         (clock_test): Replace %ld with %jd and cast to intmax_t.
16797         * rt/tst-cpuclock1.c: Include <stdint.h>.
16798         (do_test): Replace %lu with %ju and cast to uintmax_t.
16799         * rt/tst-cpuclock2.c: Include <stdint.h>.
16800         (do_test): Replace %lu with %ju and cast to uintmax_t.
16801         * rt/tst-mqueue1.c: Include <stdint.h>.
16802         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16803         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16804         intmax_t.
16805         * rt/tst-mqueue4.c (do_test): Likewise.
16806         * rt/tst-timer4.c: Include <stdint.h>.
16807         (check_ts): Replace %ld with %jd and cast to intmax_t.
16808         (do_test): Likewise.
16809         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16810         and cast to intmax_t.
16811         * sysdeps/pthread/tst-timer.c (main): Likewise.
16812         * time/clocktest.c (main): Likewise.
16813         * time/tst-posixtz.c (do_test): Likewise.
16814         * timezone/tst-timezone.c (main): Likewise.
16816 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16817             H.J. Lu  <hongjiu.lu@intel.com>
16819         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16820         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16821         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16822         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16823         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16824         version if bit_Fast_Unaligned_Load is set.
16825         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16826         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16827         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16828         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16829         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16830         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16832         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16833         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16834         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16835         to 4.
16836         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16837         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16838         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16839         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16841 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16843         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16844         instead of #if to avoid a Wundef warning.
16845         * stdlib/tst-limits.c (do_test): Likewise.
16847         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16848         parallel other exception macros.
16849         (fegetenv): Convert from macro to extern inline so that it applies
16850         retroactively to inline functions already seen by the compiler.
16851         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16853         * posix/Makefile (before-compile): Use $(objpfx) for
16854         posix-conf-vars-def.h.
16856 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16858         * posix/getconf.c (main): Use size_t for type of I.
16859         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16860         NSPEC.
16862         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16863         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16864         * posix/posix-envs.def: Likewise.
16865         * sysdeps/posix/sysconf.c: Likewise.
16866         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16867         (specs): Remove array.
16868         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16869         array.
16871         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16872         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16873         (__sysconf): Use CONF_IS_* macros.
16875         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16876         ($(objpfx)posix-conf-vars-def.h): New target.
16877         * posix/posix-conf-vars.list: New file.
16878         * posix/posix-conf-vars.h: New file.
16879         * posix/confstr.c: Include posix-conf-vars.h.
16880         (confstr): Use CONF_IS_* macros.
16881         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16882         CONF_IS_* macros.
16883         * scripts/gen-posix-conf-vars.awk: New file.
16885 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16887         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16888         fegetround): Add no-op macros to avoid linknamespace issues.
16890         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16891         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16893         * sysdeps/unix/sysv/linux/tile/sysdep.h
16894         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16895         assembly-specific section to avoid a redefinition warning.
16897         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16898         long before casting to pointer to avoid a cast warning.
16900 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16902         * sysdeps/tile/tilegx/Implies: New file.
16904 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16906         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16908 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16910         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16912 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16914         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16915         not define.
16916         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16917         <kernel-features.h>.
16918         (__utimes) [__NR_utimes]: Make code unconditional.
16919         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16920         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16921         (__ASSUME_UTIMES): Do not undefine.
16922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16923         (__ASSUME_UTIMES): Likewise.
16924         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16925         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16926         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16927         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16929 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16931         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16933 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16935         [BZ #17747]
16936         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16937         alias to weak alias for j0l, y0l.
16938         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16939         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16941         [BZ #17746]
16942         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16943         conversion.
16945 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16947         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16948         to zero if not already defined.
16950 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16952         [BZ #17724]
16953         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16954         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16955         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16956         (char *) casts added.
16957         * sysdeps/ieee754/k_standardf.c: New file.
16958         * sysdeps/ieee754/k_standardl.c: Likewise.
16959         * math/Makefile (libm-support): Remove k_standard.
16960         (libm-calls): Add k_standard.
16962 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16964         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16965         Optimize to avoid an unnecessary FPCR read.
16967 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16969         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16970         Optimize to reduce FPCR/FPSR accesses.
16972 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16974         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16975         Call libc_fetestexcept_aarch64.
16977 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16979         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16980         Call libc_fesetround_aarch64.
16982 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16984         [BZ #17733]
16985         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16986         (__bind): Do not define as weak alias.
16987         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16988         define.
16989         (__getsockname): Do not define as weak alias.
16991 2014-12-22  Will Newton  <will.newton@linaro.org>
16993         * manual/install.texi: Document that we require bison 2.7
16994         or above.
16995         * INSTALL: Regenerate.
16996         * configure.ac: Use AC_CHECK_PROG_VER instead of
16997         AC_PATH_PROG when checking for bison and check for
16998         version 2.7 or above.
16999         * configure: Regenerate.
17001 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17003         [BZ #17745]
17004         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17005         * sysdeps/tile/ffsll.c (ffsll): To here.
17007         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17009 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17011         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17012         if not defined.
17013         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17014         definition.
17015         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17016         hidden ___tls_get_addr.
17017         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17018         hidden __tls_get_addr.
17019         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17020         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17021         Likewise.
17023 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17025         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17026         _dl_init call.
17028 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17030         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17031         from "call _dl_init@PLT".
17032         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17034 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17036         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17037         guarantees.
17039 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17041         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17043 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17045         [BZ #17744]
17046         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17047         strnlen.
17049 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17051         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17052         of multu on MIPSr6.
17053         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17054         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17055         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17056         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17057         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17059 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17061         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17062         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17063         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17064         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17065         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17066         mips32r6/mips64r6.
17067         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17069 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17071         * string/strncat.c (STRNCAT): Simplify implementation.
17073 2014-12-19  David S. Miller  <davem@davemloft.net>
17075         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17076         access the quad as both a long double and as a series of 4 words.
17078         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17079         link_map->l_info array access.
17081 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17083         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17085         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17086         * math/atest-exp2.c (TIMEOUT): Likewise.
17087         * math/atest-sincos.c (TIMEOUT): Likewise.
17089 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17091         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17092         -Wno-error with -fno-builtin-lround.
17094 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17096         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17097         Contains futex constants and functions moved over from ...
17098         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17099         <lowlevellock-futex.h>.
17100         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17101         (lll_timedwait_tid): Add comments and parentheses around macro
17102         arguments.
17104 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17106         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17107         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17108         (__lll_private_flag): Remove.
17109         (lll_futex_wait): Likewise.
17110         (lll_futex_timed_wait): Likewise.
17111         (lll_futex_wake): Likewise.
17112         (lll_futex_requeue): Likewise.
17113         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17114         (__lll_timedwait_tid): Spell out argument names.
17115         (lll_timedwait_tid): Add comments and parentheses around macro
17116         arguments.
17117         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17118         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17120 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17122         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17123         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17124         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17125         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17126         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17127         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17128         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17129         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17130         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17134         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17136         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17137         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17138         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17139         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17140         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17142 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17144         * sysdeps/x86_64/x32/Makefile: New file.
17146 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17148         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17149         1L with (mp_limb_t) 1.
17151 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17153         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17154         * nptl/libc_pthread_init.c: ... here.
17155         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17156         * nptl/register-atfork.c: ... here.
17158         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17159         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17160         Use assert_perror to check its return value.
17161         (__gai_create_helper_thread): Likewise.
17163         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17165         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17167 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17169         [BZ #17725]
17170         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17171         __profil_counter.
17172         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17173         Likewise.
17174         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17175         Likewise.
17176         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17177         Likewise.
17178         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17179         (profil_counter): Likewise.
17180         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17181         (profil_counter): Likewise.
17182         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17183         Likewise.
17184         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17185         Likewise.
17186         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17187         (profil_counter): Likewise.
17188         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17189         Likewise.
17190         [!__profil_counter] (profil_counter): Define as weak alias of
17191         __profil_counter.
17192         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17193         (profil_counter): Rename to __profil_counter.
17194         [!__profil_counter] (profil_counter): Define as weak alias of
17195         __profil_counter.
17196         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17197         (profil_counter): Rename to __profil_counter.
17198         [!__profil_counter] (profil_counter): Define as weak alias of
17199         __profil_counter.
17200         * sysdeps/posix/profil.c: Update comment referring to
17201         profil_counter.
17202         (__profil): Use __profil_counter instead of profil_counter.
17203         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17204         __profil_counter.  Use __profil_counter_ushort and
17205         __profil_counter_uint in definitions.
17206         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17207         instead of profil_counter_uint and profil_counter_ushort.
17209         [BZ #17722]
17210         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17211         define as weak alias of __inet_makeaddr.
17212         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17213         as weak alias of __inet_addr.
17214         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17215         as weak alias of __inet_pton.  Use libc_hidden_weak.
17216         * include/arpa/inet.h (__inet_pton): Declare.  Use
17217         libc_hidden_proto.
17218         (inet_makeaddr): Don't use libc_hidden_proto.
17219         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17220         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17221         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17222         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17223         Remove variable.
17224         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17225         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17227 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17229         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17231 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17233         * stdio-common/bug-vfprintf-nargs.c (do_test):
17234         Cast value to intptr_t to avoid format warning
17235         for usage with PRIdPTR printing macro.
17237 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17239         * libio/tst-widetext.c (do_test):
17240         Use format type %td instead of %Zd for ptrdiff_t
17241         in order to avoid format warning.
17243 2014-12-17  Andreas Schwab  <schwab@suse.de>
17245         * nscd/mem.c (gc): Add size_t cast to match printf format.
17247 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17249         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17250         (init): Apply PTR_MANGLE to pointers before storing them.
17251         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17252         before using them.
17254 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17256         [BZ #17719]
17257         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17258         define as weak alias of __memrchr.
17259         (__memrchr): Do not define as strong alias of memrchr.
17260         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17261         Remove variable.
17262         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17263         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17264         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17266         [BZ #17717]
17267         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17268         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17269         (if_indextoname): Rename to __if_indextoname and define as weak
17270         alias of __if_indextoname.  Use libc_hidden_weak.
17271         (if_freenameindex): Rename to __if_freenameindex and define as
17272         weak alias of __if_freenameindex.
17273         (if_nameindex): Rename to __if_nameindex and define as weak alias
17274         of __if_nameindex.
17275         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17276         __if_nametoindex and define as weak alias of __if_nametoindex.
17277         Use libc_hidden_weak.
17278         (if_freenameindex): Rename to __if_freenameindex and define as
17279         weak alias of __if_freenameindex.
17280         (if_nameindex): Rename to __if_nameindex and define as weak alias
17281         of __if_nameindex.
17282         (if_indextoname): Rename to __if_indextoname and define as weak
17283         alias of __if_indextoname.  Use libc_hidden_weak.
17284         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17285         __if_nametoindex and define as weak alias of __if_nametoindex.
17286         Use libc_hidden_weak.
17287         (if_freenameindex): Rename to __if_freenameindex and define as
17288         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17289         (if_nameindex_netlink): Use __if_freenameindex instead of
17290         if_freenameindex.
17291         (if_nameindex): Rename to __if_nameindex and define as weak alias
17292         of __if_nameindex.  Use libc_hidden_weak.
17293         (if_indextoname): Rename to __if_indextoname and define as weak
17294         alias of __if_indextoname.  Use libc_hidden_weak.
17295         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17296         libc_hidden_proto.
17297         [!_ISOMAC] (__if_freenameindex): Likewise.
17298         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17299         if_nametoindex.
17300         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17301         variable.
17302         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17303         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17304         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17305         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17306         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17307         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17308         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17310         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17311         Remove variable.
17312         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17313         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17315 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17317         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17318         subscript above bounds'
17320         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17321         bounds.
17323 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17325         * libio/tst-fopenloc.c: Use test-skeleton.c.
17327         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17328         (entry): Rename to ITEM.
17329         (do_test, comp): Adjust.
17331         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17333 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17335         * string/tester.c: Include <libc-internal.h>.
17336         (test_memset): Ignore -Wmemset-transposed-args.
17338 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17340         * misc/tst-mntent2.c (do_test): Fix warning.
17342 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17344         * elf/tst-unique4lib.cc(a): Mark as used.
17346 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17348         [BZ #17630]
17349         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17350         names.
17352 2014-12-16  Allan McRae  <allan@archlinux.org>
17354         * stdio-common/Makefile (tests): Re-add bug26.
17356 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17358         [BZ #17657]
17359         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17360         static array.
17362 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17364         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17365         (__lll_lock_wait): Likewise.
17366         (__lll_timedlock_wait): Likewise.
17367         (__lll_timedwait_tid): Likewise.
17368         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17369         (__lll_robust_timedlock_wait): Likewise.
17370         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17371         (lll_cond_trylock): Likewise.
17372         (__lll_lock): Likewise.
17373         (__lll_robust_lock): Likewise.
17374         (__lll_cond_lock): Likewise.
17375         (lll_robust_cond_lock): Likewise.
17376         (__lll_timedlock): Likewise.
17377         (__lll_robust_timedlock): Likewise.
17378         (__lll_unlock): Likewise.
17379         (__lll_robust_unlock): Likewise.
17380         (lll_wait_tid): Likewise.
17381         (lll_timedwait_tid): Likewise.
17383 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17385         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17387 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17389         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17391 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17393         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17394         * stdio-common/tst-sprintf.c: Likewise.
17396 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17398         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17400 2014-12-15  Jeff Law  <law@redhat.com>
17402         [BZ #16617]
17403         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17404         on the heap.  (CVE-2012-3406)
17405         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17406         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17407         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17409 2014-12-15  Will Newton  <will.newton@linaro.org>
17411         * manual/install.texi: Bump required version of texinfo
17412         to 4.7 from 4.5.
17413         * INSTALL: Regenerated.
17414         * configure.ac: Check for makeinfo version 4.7 and above.
17415         * configure: Regenerated.
17417 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17419         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17420         PREFIX, string constant to insert between directory and name.
17421         * sysdeps/posix/shm_open.c: Update caller.
17422         * sysdeps/posix/shm_unlink.c: Likewise.
17423         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17424         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17425         (SEM_SHM_PREFIX): New macro.
17426         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17427         [$(have-thread-library) = no].
17428         * nptl/Makefile (libpthread-routines): Add shm-directory.
17429         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17430         * sysdeps/nptl/shm-directory.h: New file.
17431         * sysdeps/posix/shm-directory.c
17432         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17433         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17434         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17435         INTERNAL_SYSCALL.
17436         (__where_is_shmfs): Function removed.
17437         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17438         Variables removed.
17439         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17440         Use SHM_GET_NAME.
17441         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17443         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17444         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17445         unconditional for use inside libpthread.
17446         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17448 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17450         * nptl/pthread_getaffinity.c: New file.
17451         * nptl/pthread_setaffinity.c: New file.
17452         * nptl/pthread_getname.c: New file.
17453         * nptl/pthread_setname.c: New file.
17455         * nptl/pthread_create.c (START_THREAD_DEFN)
17456         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17458 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17459             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17461         * resolv/res_send.c (send_vc): Disable warning resplen may
17462         be used uninitialized.
17464 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17466         * nptl/tst-mutex6.c
17467         (ATTR_NULL): New define checks ATTR against NULL.
17468         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17469         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17471 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17473         [BZ #17581]
17474         * malloc/hooks.c
17475         (mem2mem_check): Revert my previous change.
17476         (malloc_check_get_size): Revert my previous change.
17477         (mem2chunk_check): Revert my previous change.
17479 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17481         * sysdeps/posix/shm-directory.c: New file.
17482         * sysdeps/posix/shm-directory.h: New file.
17483         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17484         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17485         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17486         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17487         Transmute EPERM to EACCES.
17488         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17489         from ...
17490         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17491         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17493 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17495         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17496         pointer and cast to uintptr_t.
17497         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17498         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17499         Add cast to avoid warning.
17500         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17502 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17504         * nptl/semaphore.h: Move to ...
17505         * sysdeps/pthread/semaphore.h: ... here.
17506         * Makefile (installed-headers): Change nptl/semaphore.h to
17507         sysdeps/pthread/semaphore.h.
17509 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17511         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17512         generated error format strings.
17514         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17515         -Wformat-extra-args warnings for scanf formats.
17516         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17517         test of zero-length format (duh).
17518         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17519         corner-case scanf format test.
17520         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17521         generated fprintf format string.
17522         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17523         corner-case sprintf format tests.
17524         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17525         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17526         -Wformat-extra-args warnings throughout.
17527         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17528         (CFLAGS-scanf4.c): Likewise.
17529         (CFLAGS-scanf7.c): Likewise.
17530         (CFLAGS-tst-sprintf.c): Likewise.
17531         (CFLAGS-tst-printf.c): Likewise.
17532         (CFLAGS-tst-printfsz.c): Likewise.
17534 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17536         * include/cpio.h: New file.
17537         * include/fmtmsg.h: Likewise.
17539         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17540         corresponding format argument to size_t.
17541         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17542         arguments.
17543         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17544         corresponding format argument to size_t.
17545         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17546         arguments.
17547         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17548         corresponding format argument to size_t.
17549         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17550         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17551         (CFLAGS-tst-mbswcs2.c): Likewise.
17552         (CFLAGS-tst-mbswcs3.c): Likewise.
17553         (CFLAGS-tst-mbswcs4.c): Likewise.
17554         (CFLAGS-tst-mbswcs5.c): Likewise.
17555         (CFLAGS-tst-trans.c): Likewise
17557 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17559         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17560         rather than assuming they won't contain any '%'s.
17562 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17564         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17565         inhibit_loop_to_libcall to avoid recursive calls.
17566         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17567         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17569 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17571         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17572         prototype.
17574 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17576         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17577         integer value instead of boolean.
17579 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17581         * malloc/malloc.c: Fix powerof2 check.
17583 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17585         * locale/programs/locfile.h (maybe_swap_uint32):
17586         Remove inline and add unused attribute.
17588 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17590         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17591         Truncating assembler expression to a .long expression.
17593 2014-12-11  Andreas Schwab  <schwab@suse.de>
17595         * elf/rtld.c (struct map_args): Constify str member.
17596         (do_preload): Constify fname argument.
17598 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17600         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17601         constants definition.
17603 2014-12-11  Andreas Schwab  <schwab@suse.de>
17605         [BZ #16657]
17606         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17607         FORCE_ELISION instead of DO_ELISION.
17608         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17609         Remove.
17610         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17611         Likewise.
17613         * iconvdata/gconv-modules: Remove duplicate entry.
17615 2014-12-11  Will Newton  <will.newton@linaro.org>
17617         Merge gettext 0.19.3 into intl/.
17619         This involves a number of cosmetic changes to comments
17620         and ANSI function definitions and prototypes throughout
17621         all the files. The gettext copyright header is used but
17622         with the date ranges taken from the glibc copy.
17624         * NEWS: Add gettext merge to 2.21.
17625         * intl/bindtextdom.c: Switch to gettext copyright.
17626         Use ANSI definitions and prototypes.
17627         Use gl_* locking primitives rather than __libc_* ones.
17628         Use __builtin_expect rather than __glibc_likely/unlikely.
17629         * intl/dcgettext.c: Switch to gettext copyright.
17630         Use ANSI definitions and prototypes.
17631         * intl/dcigettext.c: Switch to gettext copyright.
17632         Use ANSI definitions and prototypes.
17633         (INTDIV0_RAISES_SIGFPE): New define.
17634         Use gl_* locking primitives rather than __libc_* ones.
17635         Include eval-plural.h instead of plural-eval.c.
17636         Use __builtin_expect rather than __glibc_likely/unlikely.
17637         * intl/dcngettext.c: Switch to gettext copyright.
17638         Use ANSI definitions and prototypes.
17639         * intl/dgettext.c: Likewise.
17640         * intl/dngettext.c: Likewise.
17641         * intl/plural-eval.c: Renamed to...
17642         * intl/eval-plural.h: ...this.
17643         * intl/explodename.c: Switch to gettext copyright.
17644         Use ANSI definitions and prototypes.
17645         (_nl_explode_name): Use strchr instead of __rawmemchr.
17646         * intl/finddomain.c: Switch to gettext copyright.
17647         Use ANSI definitions and prototypes.
17648         Use gl_* locking primitives rather than __libc_* ones.
17649         (_nl_find_domain): Use malloc rather than alloca for
17650         allocation of temporary locale name.
17651         * intl/gettext.c: Switch to gettext copyright.
17652         Use ANSI definitions and prototypes.
17653         * intl/gettextP.h: Switch to gettext copyright.
17654         Use ANSI definitions and prototypes.
17655         Use gl_* locking primitives rather than __libc_* ones.
17656         * intl/gmo.h: Switch to gettext copyright.
17657         (struct sysdep_string): Move struct segment_pair outside of
17658         struct definition.
17659         * intl/hash-string.c: Use ANSI definitions and prototypes.
17660         * intl/hash-string.h: Switch to gettext copyright.
17661         Use ANSI definitions and prototypes.
17662         * intl/l10nflist.c: Switch to gettext copyright.
17663         Use ANSI definitions and prototypes.
17664         (_nl_normalize_codeset): Avoid integer overflow.
17665         * intl/loadinfo.h: Switch to gettext copyright.
17666         Use ANSI definitions and prototypes.
17667         (LIBINTL_DLL_EXPORTED): New define.
17668         (PATH_SEPARATOR): New define.
17669         * intl/loadmsgcat.c: Switch to gettext copyright.
17670         * intl/localealias.c: Switch to gettext copyright.
17671         Use ANSI definitions and prototypes.
17672         (_nl_expand_alias): Use PATH_SEPARATOR.
17673         * intl/ngettext.c: Switch to gettext copyright.
17674         Use ANSI definitions and prototypes.
17675         * intl/plural-exp.c: Likewise.
17676         * intl/plural-exp.h: Switch to gettext copyright.
17677         Use ANSI definitions and prototypes.
17678         (struct expression): Move definition of enum operator outside
17679         of struct definition.
17680         * intl/plural.c: Regenerate.
17681         * intl/plural.y: Switch to gettext copyright.
17682         Use ANSI definitions and prototypes.
17683         Port to bison 3.0.
17684         * intl/textdomain.c: Switch to gettext copyright.
17685         Use ANSI definitions and prototypes.
17686         Use gl_* locking primitives rather than __libc_* ones.
17688 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17690         * debug/warning-nop.c: Add used atrribute.
17692 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17694         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17696         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17697         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17698         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17700 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17703         [BZ #17634]
17704         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17705         Undefine after defining function.  Define as weak alias of
17706         __wcschr.  Use libc_hidden_weak.
17707         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17708         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17709         (libc_hidden_def): Also define __GI___wcschr alias.
17710         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17711         __wcschr and define as weak alias of __wcschr.
17712         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17713         __wcschr.
17714         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17715         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17716         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17717         libc_hidden_weak.  Do not use libc_hidden_def.
17718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17719         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17720         __GI___wcschr alias.
17721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17722         [IS_IN (libc)] (wcschr): Define as macro expanding to
17723         __redirect_wcschr.
17724         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17725         [IS_IN (libc)] (__wcschr_power6): Likewise.
17726         [IS_IN (libc)] (__wcschr_power7): Likewise.
17727         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17728         instead of wcschr.
17729         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17730         __libc_wcschr.
17731         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17732         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17733         __wcschr and define as weak alias of __wcschr.  Use
17734         libc_hidden_builtin_def.
17735         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17736         as weak alias of __wcschr.  Use libc_hidden_weak.
17737         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17738         wcschr.
17739         * time/era.c (_nl_init_era_entries): Likewise.
17740         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17741         variable.
17742         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17743         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17745 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17747         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17748         format for long int variable.
17750 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17752         [BZ #10672]
17753         * manual/search.texi: (Array Sort Function): Remove claim how to make
17754         qsort stable.
17756 2014-12-10  Andreas Schwab  <schwab@suse.de>
17758         [BZ #12847]
17759         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17760         user-controlled locks.
17762 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17764         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17765         register.
17767 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17769         * configure.ac (--disable-werror): New configure option.
17770         (enable_werror): New AC_SUBST.
17771         * configure: Regenerated.
17772         * config.make.in (enable-werror): New variable.
17773         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17774         -Wno-error=undef.
17775         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17776         * manual/install.texi (Configuring and compiling): Document
17777         --disable-werror.
17778         * INSTALL: Regenerated.
17779         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17780         (CFLAGS-tst-chk2.c): Likewise.
17781         (CFLAGS-tst-chk3.c): Likewise.
17782         (CFLAGS-tst-chk4.cc): Likewise.
17783         (CFLAGS-tst-chk5.cc): Likewise.
17784         (CFLAGS-tst-chk6.cc): Likewise.
17785         (CFLAGS-tst-lfschk1.c): Likewise.
17786         (CFLAGS-tst-lfschk2.c): Likewise.
17787         (CFLAGS-tst-lfschk3.c): Likewise.
17788         (CFLAGS-tst-lfschk4.cc): Likewise.
17789         (CFLAGS-tst-lfschk5.cc): Likewise.
17790         (CFLAGS-tst-lfschk6.cc): Likewise.
17792         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17793         (main): Disable -Wdeprecated-declarations around calls to
17794         register_printf_function.
17796         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17797         (do_test): Disable -Wdiv-by-zero around some calls to
17798         fwrite_unlocked and fread_unlocked.
17800         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17801         (DIAG_POP_NEEDS_COMMENT): Likewise.
17802         (_DIAG_STR1): Likewise.
17803         (_DIAG_STR): Likewise.
17804         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17805         * stdio-common/bug21.c: Include <libc-internal.h>.
17806         (do_test): Disable -Wformat around call to sscanf.
17807         * stdio-common/scanf14.c: Include <libc-internal.h>.
17808         (main): Disable -Wformat around some calls to scanf functions.
17810 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17812         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17814 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17816         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17817         stack variable alignment.
17819 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17821         [BZ #17682]
17822         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17823         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17824         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17825         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17826         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17827         __getrlimit instead of getrlimit.
17828         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17829         __gettimeofday instead of gettimeofday.
17830         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17831         Likewise.
17832         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17833         Likewise.
17834         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17835         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17836         Remove variable.
17837         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17838         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17840 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17842         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17843         for wide-character tests.
17845 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17847         * io/openat64.c: #include <libc-internal.h>
17848         (__openat64): Prototypify.  Use ignore_value on MODE.
17849         * io/openat.c: Likewise.
17850         * misc/reboot.c: #include <libc-internal.h>
17851         (reboot): Prototypify.  Use ignore_value on HOWTO.
17852         * misc/ptrace.c: #include <libc-internal.h>
17853         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17855 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17857         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17858         XPG4, UNIX98 and XOPEN2K.
17859         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17860         Remove variable.
17861         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17863 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17865         * libio/fileops.c: Use ISO C style for function definitions.
17866         * libio/iofopen.c: Likewise.
17867         * libio/wfileops.c: Likewise.
17869         [BZ #17653]
17870         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17871         offset on EOF.
17872         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17873         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17874         (fgets_func): Function pointer to fgets and fgetws.
17875         (do_ftell_test): Add test to verify ftell value after read
17876         EOF.
17877         (do_test): Set fgets_func.
17879         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17880         O_TRUNC flag for w and w+ modes.
17881         (do_rewind_test): Likewise.
17882         (do_ftell_test): Likewise.
17883         (do_write_test): Likewise.
17885         [BZ #17647]
17886         * libio/fileops.c (do_ftell): Seek only when there are
17887         unflushed writes.
17888         * libio/wfileops.c (do_ftell_wide): Likewise.
17889         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17890         test case.
17891         (do_one_test): Call it.
17893 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17895         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17896         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17897         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17898         Remove variable.
17899         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17900         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17901         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17903 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17905         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17906         Remove variable.
17907         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17909         [BZ #17668]
17910         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17911         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17912         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17913         __freeifaddrs.  Use libc_hidden_weak.
17914         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17915         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17916         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17917         __freeifaddrs.  Use libc_hidden_weak.
17918         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17919         __getifaddrs and define as weak alias of __getifaddrs.  Use
17920         libc_hidden_weak.
17921         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17922         __freeifaddrs.  Use libc_hidden_weak.
17923         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17924         Remove variable.
17925         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17926         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17928 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17930         [BZ #17601]
17931         * sysdeps/mips/start.S (__start): Use indirect jump to call
17932         __libc_start_main.
17934 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17936         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17938         * nptl/tst-mutex1.c: Include <stdbool.h>.
17939         [!ATTR] (ATTR_NULL): New macro.
17940         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17941         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17942         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17944         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17945         to char *.
17947         [BZ #17665]
17948         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17949         Change conditional to [__USE_MISC].
17951         [BZ #17664]
17952         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17953         fgets_unlocked.
17954         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17955         __fgets_unlocked.
17956         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17957         fgets_unlocked.
17958         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17959         Remove variable.
17960         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17961         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17962         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17963         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17964         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17965         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17966         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17967         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17968         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17970         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17972 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17975         Remove strpbrk objects.
17976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17977         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17979         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17980         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17981         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17983         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17984         Remove strcspn objects.
17985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17986         (__libc_ifunc_impl_list): Remove strcspn implementation.
17987         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17989         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17990         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17992         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17993         Remove strspn objetcs.
17994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17995         (__libc_ifunc_impl_list): Remove strspn implementation.
17996         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17997         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17998         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17999         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18001 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18003         [BZ #17581]
18004         * malloc/hooks.c
18005         (mem2mem_check): Add a terminator to the chain of checking blocks.
18006         (malloc_check_get_size): Use it here.
18007         (mem2chunk_check): Ditto.
18009 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18011         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18012         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18014 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18016         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18018         * nptl/nptl-init.c: Include libc-internal.h.
18019         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18021         * elf/ldconfig.c (search_dir): Expand comment.
18023 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18025         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18026         variable.
18027         (linknamespace-symlist-stdlibs-tests): Likewise.
18028         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18029         instead of $(objpfx)symlist-stdlibs.
18030         (linknamespace-libs-isoc): New variable.
18031         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18032         (linknamespace-libs-ISO): New variable.
18033         (linknamespace-libs-ISO99): Likewise.
18034         (linknamespace-libs-ISO11): Likewise.
18035         (linknamespace-libs-XPG3): Likewise.
18036         (linknamespace-libs-XPG4): Likewise.
18037         (linknamespace-libs-POSIX): Likewise.
18038         (linknamespace-libs-UNIX98): Likewise.
18039         (linknamespace-libs-XOPEN2K): Likewise.
18040         (linknamespace-libs-POSIX2008): Likewise.
18041         (linknamespace-libs-XOPEN2K8): Likewise.
18042         ($(objpfx)symlist-stdlibs): Replace by
18043         $(linknamespace-symlist-stdlibs-tests).  Use
18044         $(linknamespace-libs-$*) as set of libraries.
18045         ($(linknamespace-header-tests)): Update dependencies.  Use
18046         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18047         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18048         * conform/linknamespace.pl: Remove comment about considering
18049         definitions of symbols from irrelevant libraries.
18051 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18053         [BZ #13862]
18054         * elf/dl-tls.c: Include <atomic.h>.
18055         (oom): Remove #ifdef SHARED/#endif.
18056         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18057         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18058         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18059         big enough.
18060         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18061         * nptl/Makefile (tests): Add tst-stack4.
18062         (modules-names): Add tst-stack4mod.
18063         ($(objpfx)tst-stack4): New.
18064         (tst-stack4mod.sos): Likewise.
18065         ($(objpfx)tst-stack4.out): Likewise.
18066         ($(tst-stack4mod.sos)): Likewise.
18067         (clean): Likewise.
18068         * nptl/tst-stack4.c: New file.
18069         * nptl/tst-stack4mod.c: Likewise.
18071 2014-11-27  J. Brown  <jb999@gmx.de>
18073         * sysdeps/x86/bits/string.h: Add recent CPUs.
18075 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18077         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18078         sigblock.
18080         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18081         feof.
18083         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18084         variable.
18086 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18088         * nscd/connections.c: Include libc-internal.h because of macro
18089         usage ignore_value.
18091 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18093         * string/bits/string3.h (__warn_memset_zero_len): Don't
18094         declare for gcc newer than 5.0.
18095         (memset): Don't test for zero-length __LEN for gcc newer than
18096         5.0.
18098 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18100         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18101         size_t for %zu format.
18103         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18104         difference, not %ju.
18106 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18108         * include/libc-internal.h (ignore_value): New macro.
18109         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18110         with ignore_value.
18112         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18113         definition.
18115         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18116         pthread_cleanup_push to void *.
18118         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18119         Undefine.
18121         [BZ #16619]
18122         [BZ #16740]
18123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18124         instead of 1L << 52.
18126         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18127         * libio/bug-rewind2.c (do_test): Likewise.
18129         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18130         * debug/test-strcpy_chk-ifunc.c: Likewise.
18131         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18132         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18133         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18134         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18135         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18136         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18137         * Rules [$(multi-arch) = no] (tests): Do not filter out
18138         $(tests-ifunc).
18139         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18140         * debug/Makefile (tests-ifunc): Remove variable.
18141         (tests): Do not add $(tests-ifunc).
18142         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18143         (tests): Do not add $(tests-ifunc).
18144         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18145         [TEST_IFUNC]: Remove conditionals.
18146         * string/test-string.h (TEST_IFUNC): Remove macro.
18147         [TEST_IFUNC]: Remove conditionals.
18149         * string/test-strchr.c [!WIDE] (L): New macro.
18150         [WIDE] (L): Likewise.
18151         (check1): Use CHAR instead of char.  Use L on string and character
18152         constants.
18154 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18156         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18157         tests.
18158         * sysdeps/powerpc/bits/atomic.h
18159         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18160         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18161         (atomic_exchange_and_add_acq): Likewise.
18162         (atomic_exchange_and_add_rel): Likewise.
18163         * sysdeps/powerpc/powerpc32/bits/atomic.h
18164         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18165         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18166         * sysdeps/powerpc/powerpc64/bits/atomic.h
18167         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18168         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18170 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18172         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18173         Change synchronization of __sched_fifo_min_prio and
18174         __sched_fifo_max_prio.
18175         * nptl/pthread_mutexattr_getprioceiling.c
18176         (pthread_mutexattr_getprioceiling): Likewise.
18177         * nptl/pthread_mutexattr_setprioceiling.c
18178         (pthread_mutexattr_setprioceiling): Likewise.
18179         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18180         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18181         Likewise.
18183 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18185         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18186         void.
18188 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18190         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18191         third argument const.
18193 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18195         fnmatch: work around GCC compiler warning bug with uninit var
18196         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18197         This works around a bug with x86-64 GCC 4.9.2 and earlier
18198         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18199         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18200         used uninitialized in this function [-Wmaybe-uninitialized]".
18202 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18204         * posix/bug-regex31.c (main): Return RES not 0.
18206 2014-11-25  Anton Blanchard <anton@samba.org>
18208         * sysdeps/powerpc/bits/atomic.h
18209         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18211 2014-11-24  Sterling Augustine  <saugustine@google.com>
18213         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18215 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18217         [BZ #17608]
18218         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18220 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18222         [BZ #17633]
18223         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18224         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18225         variable.
18226         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18227         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18229 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18231         * string/strncpy.c (strncpy): Improve performance by using memset.
18233 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18235         * string/strcpy.c (strcpy):
18236         Improve performance by using strlen and memcpy.
18238 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18240         * string/strcoll_l.c (get_next_seq): __always_inline.
18241         * string/strcoll_l.c (do_compare): __always_inline.
18243 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18245         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18246         defined.
18247         * include/mqueue.h: Likewise.
18248         * include/stdlib.h: Likewise.
18250         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18251         (get_null_defines): Adjust.
18252         * sunrpc/Makefile: Adjust comment.
18253         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18254         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18255         (CFLAGS-interp.c): Likewise.
18256         (CFLAGS-ldconfig.c): Likewise.
18257         (CPPFLAGS-.os): Likewise.
18258         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18259         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18260         * extra-modules.mk (extra-modules.mk): Likewise.
18261         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18262         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18263         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18264         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18265         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18266         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18267         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18268         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18269         * iconvdata/Makefile (CPPFLAGS): Likewise.
18270         (cpp-srcs-left): Add libof for all iconvdata routines.
18271         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18272         * include/assert.h: Likewise.
18273         * include/ctype.h: Likewise.
18274         * include/errno.h: Likewise.
18275         * include/libc-symbols.h: Likewise.
18276         * include/math.h: Likewise.
18277         * include/netdb.h: Likewise.
18278         * include/resolv.h: Likewise.
18279         * include/stdio.h: Likewise.
18280         * include/stdlib.h: Likewise.
18281         * include/string.h: Likewise.
18282         * include/sys/stat.h: Likewise.
18283         * include/wctype.h: Likewise.
18284         * intl/l10nflist.c: Likewise.
18285         * libidn/idn-stub.c: Likewise.
18286         * libio/libioP.h: Likewise.
18287         * nptl/libc_multiple_threads.c: Likewise.
18288         * nptl/pthreadP.h: Likewise.
18289         * posix/regex_internal.h: Likewise.
18290         * resolv/res_hconf.c: Likewise.
18291         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18292         * sysdeps/arm/memmove.S: Likewise.
18293         * sysdeps/arm/sysdep.h: Likewise.
18294         * sysdeps/generic/_itoa.h: Likewise.
18295         * sysdeps/generic/symbol-hacks.h: Likewise.
18296         * sysdeps/gnu/errlist.awk: Likewise.
18297         * sysdeps/gnu/errlist.c: Likewise.
18298         * sysdeps/i386/i586/memcpy.S: Likewise.
18299         * sysdeps/i386/i586/memset.S: Likewise.
18300         * sysdeps/i386/i686/memcpy.S: Likewise.
18301         * sysdeps/i386/i686/memmove.S: Likewise.
18302         * sysdeps/i386/i686/mempcpy.S: Likewise.
18303         * sysdeps/i386/i686/memset.S: Likewise.
18304         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18305         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18306         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18307         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18308         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18309         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18310         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18311         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18312         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18313         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18314         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18315         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18316         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18317         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18318         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18319         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18320         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18321         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18322         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18323         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18324         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18325         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18326         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18327         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18328         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18329         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18330         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18331         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18332         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18333         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18334         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18335         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18336         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18337         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18338         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18340         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18341         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18342         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18343         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18344         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18345         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18346         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18347         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18348         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18349         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18350         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18351         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18352         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18353         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18354         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18355         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18356         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18357         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18358         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18359         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18360         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18361         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18362         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18363         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18364         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18365         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18366         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18367         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18368         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18369         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18370         * sysdeps/posix/closedir.c: Likewise.
18371         * sysdeps/posix/opendir.c: Likewise.
18372         * sysdeps/posix/readdir.c: Likewise.
18373         * sysdeps/posix/rewinddir.c: Likewise.
18374         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18375         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18376         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18377         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18378         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18383         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18384         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18385         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18387         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18388         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18389         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18390         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18394         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18395         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18396         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18397         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18402         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18408         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18409         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18410         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18411         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18412         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18413         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18414         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18415         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18416         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18417         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18418         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18419         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18420         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18421         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18422         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18423         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18424         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18425         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18427         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18428         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18431         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18432         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18433         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18434         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18435         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18436         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18437         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18438         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18439         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18440         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18441         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18442         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18443         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18444         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18445         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18446         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18447         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18448         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18449         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18450         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18451         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18452         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18453         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18454         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18456         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18457         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18458         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18459         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18460         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18461         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18462         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18463         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18464         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18465         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18466         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18468         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18470         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18471         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18472         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18473         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18474         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18475         * sysdeps/unix/alpha/sysdep.S: Likewise.
18476         * sysdeps/unix/alpha/sysdep.h: Likewise.
18477         * sysdeps/unix/make-syscalls.sh: Likewise.
18478         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18480         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18481         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18482         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18483         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18484         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18485         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18486         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18487         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18489         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18491         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18492         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18493         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18494         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18495         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18496         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18497         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18498         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18499         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18500         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18501         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18502         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18503         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18504         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18507         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18508         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18512         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18516         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18517         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18519         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18520         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18521         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18522         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18525         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18528         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18529         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18530         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18531         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18532         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18533         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18534         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18536         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18537         * sysdeps/x86_64/memcpy.S: Likewise.
18538         * sysdeps/x86_64/memmove.c: Likewise.
18539         * sysdeps/x86_64/memset.S: Likewise.
18540         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18542         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18543         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18544         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18547         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18549         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18550         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18551         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18552         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18553         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18555         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18556         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18557         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18558         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18559         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18560         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18561         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18562         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18563         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18564         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18565         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18566         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18567         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18568         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18569         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18570         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18571         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18572         * sysdeps/x86_64/strcmp.S: Likewise.
18574         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18576         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18577         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18578         * elf/rtld-Rules: Likewise.
18579         * elf/setup-vdso.h: Likewise.
18580         * include/assert.h: Likewise.
18581         * include/bits/stdlib-float.h: Likewise.
18582         * include/errno.h: Likewise.
18583         * include/sys/stat.h: Likewise.
18584         * include/unistd.h: Likewise.
18585         * sysdeps/aarch64/setjmp.S: Likewise.
18586         * sysdeps/alpha/setjmp.S: Likewise.
18587         * sysdeps/arm/__longjmp.S: Likewise.
18588         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18589         * sysdeps/arm/setjmp.S: Likewise.
18590         * sysdeps/arm/sysdep.h: Likewise.
18591         * sysdeps/generic/_itoa.h: Likewise.
18592         * sysdeps/generic/dl-sysdep.h: Likewise.
18593         * sysdeps/generic/ldsodefs.h: Likewise.
18594         * sysdeps/i386/dl-tls.h: Likewise.
18595         * sysdeps/i386/setjmp.S: Likewise.
18596         * sysdeps/m68k/setjmp.c: Likewise.
18597         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18598         * sysdeps/mach/hurd/opendir.c: Likewise.
18599         * sysdeps/posix/getcwd.c: Likewise.
18600         * sysdeps/posix/opendir.c: Likewise.
18601         * sysdeps/posix/profil.c: Likewise.
18602         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18604         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18605         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18606         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18607         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18608         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18609         * sysdeps/s390/dl-tls.h: Likewise.
18610         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18611         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18612         * sysdeps/sh/sh3/setjmp.S: Likewise.
18613         * sysdeps/sh/sh4/setjmp.S: Likewise.
18614         * sysdeps/unix/alpha/sysdep.h: Likewise.
18615         * sysdeps/unix/arm/sysdep.S: Likewise.
18616         * sysdeps/unix/i386/sysdep.S: Likewise.
18617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18618         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18619         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18620         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18621         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18622         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18623         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18624         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18625         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18626         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18627         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18632         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18634         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18635         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18636         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18637         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18640         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18641         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18644         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18645         * sysdeps/x86_64/setjmp.S: Likewise.
18647         * include/math.h: Use IS_IN instead of IS_IN_libm.
18648         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18649         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18650         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18651         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18653         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18654         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18655         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18656         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18657         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18658         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18659         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18660         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18661         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18662         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18663         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18664         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18665         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18666         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18667         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18668         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18669         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18670         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18671         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18672         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18673         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18674         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18675         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18676         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18677         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18678         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18679         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18680         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18682         Likewise.
18683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18684         Likewise.
18685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18686         Likewise.
18687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18688         Likewise.
18689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18690         Likewise.
18691         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18692         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18693         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18694         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18695         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18696         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18702         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18703         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18704         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18705         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18706         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18707         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18708         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18709         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18710         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18711         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18712         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18713         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18715         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18717         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18719         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18720         * nptl/pthreadP.h: Likewise.
18721         * nptl_db/structs.def: Likewise.
18722         * sysdeps/arm/sysdep.h: Likewise.
18723         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18724         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18725         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18726         * sysdeps/unix/alpha/sysdep.h: Likewise.
18727         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18728         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18729         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18730         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18731         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18732         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18734         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18735         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18736         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18737         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18738         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18739         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18740         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18745         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18746         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18748         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18749         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18750         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18751         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18752         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18754         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18755         * nptl/pthreadP.h: Likewise.
18756         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18757         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18758         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18759         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18760         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18761         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18762         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18763         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18764         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18765         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18766         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18767         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18769         Likewise.
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18771         Likewise.
18772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18774         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18777         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18778         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18779         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18781         * dlfcn/dladdr.c: Use IS_IN.
18782         * dlfcn/dladdr1.c: Likewise.
18783         * dlfcn/dlclose.c: Likewise.
18784         * dlfcn/dlerror.c: Likewise.
18785         * dlfcn/dlinfo.c: Likewise.
18786         * dlfcn/dlmopen.c: Likewise.
18787         * dlfcn/dlopen.c: Likewise.
18788         * dlfcn/dlsym.c: Likewise.
18789         * dlfcn/dlvsym.c: Likewise.
18791         * include/ifaddrs.h: Use IS_IN.
18792         * inet/check_pf.c: Likewise.
18793         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18794         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18796         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18797         IS_IN_ldconfig.
18798         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18799         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18801         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18802         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18803         IS_IN (libc).
18805         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18807         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18808         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18809         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18810         * include/libc-symbols.h (IS_IN_LIB): New macro.
18811         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18812         * include/netdb.h: Likewise.
18813         * include/stap-probe.h: Remove all uses of IN_LIB.
18815         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18816         instead of IN_MODULE.
18817         * include/libc-symbols.h (IN_MODULE): Define using
18818         MODULE_NAME.
18819         (PASTE_NAME, PASTE_NAME1): New macros.
18820         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18821         of IN_LIB.
18822         (STAP_PROBE_ASM): Likewise.
18824 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18826         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18827         __mach_init in dlopened libc.
18829 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18831         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18832         * sysdeps/arm/preconfigure: Regenerate.
18834 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18836         * nptl/pthread_create.c (__pthread_create_2_1): Set
18837         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18838         when copying values from IATTR into PD.
18840 2014-11-21  Will Newton  <will.newton@linaro.org>
18841             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18843         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18844         Refactor inline-asm.  Also add comment.
18846         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18847         ElfW macro instead of hardcoded Elf64 types.
18848         (la_aarch64_gnu_pltenter): Likewise.
18849         * sysdeps/aarch64/dl-machine.h
18850         (elf_machine_runtime_setup): Use ElfW(Addr).
18852         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18853         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18854         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18855         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18856         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18857         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18858         (R_AARCH64_TLS_DTPMOD): This.
18859         (R_AARCH64_TLS_DTPREL64): Rename to ...
18860         (R_AARCH64_TLS_DTPREL): This.
18861         (R_AARCH64_TLS_TPREL64): Rename to ...
18862         (R_AARCH64_TLS_TPREL): This.
18863         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18864         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18865         R_AARCH64_TLS_TPREL64.
18866         (elf_machine_rela): Likewise.
18868 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18870         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18871         by setting it to 0.  64b atomics are not supported currently.
18873 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18875         [BZ #16469]
18876         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18877         search domain names.
18879 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18881         [BZ #16469]
18882         * NEWS: Update.
18883         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18884         trailing dot.
18885         * posix/tst-getaddrinfo5.c: New.
18886         * posix/Makefile (tests): Add it.
18888 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18890         [BZ #14498]
18891         * NEWS: Fixed.
18892         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18893         after parsing line but before break_if_match.
18894         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18895         if there is a protocol mismatch.
18897 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18899         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18900         because the potential race is on the user-supplied stream.
18902 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18904         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18905         string literal if not passed a buffer.
18906         * manual/job.texi (ctermid): Update reasoning, note deviation
18907         from posix, suggest mtasurace when not passed a buffer, for
18908         future non-preliminary safety notes.
18910 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18912         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18913         of not passing it a buffer.
18914         Reported by Peng Haitao.
18916 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18918         * manual/Makefile ($(objpfx)stamp-summary): Require
18919         check-safety.sh to pass.
18920         * manual/check-safety.sh: Wish for verification that every
18921         @deftypefn and @deftypefun is followed by a @safety remark.
18923 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18925         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18927         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18928         PTHREAD_CANCEL_ASYNCHRONOUS.
18929         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18930         send SIGCANCEL.
18932         * nptl/default-sched.h: New file.
18933         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18934         * nptl/pthread_create.c: Include it.
18935         (__pthread_create_2_1): Use collect_default_sched instead of making
18936         Linux syscalls here directly.
18938 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18940         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18941         __pthread_once): Use C11 atomics.
18943 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18945         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18947 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18949         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18950         atomic_thread_fence_acquire, atomic_thread_fence_release,
18951         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18952         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18953         atomic_compare_exchange_weak_relaxed,
18954         atomic_compare_exchange_weak_acquire,
18955         atomic_compare_exchange_weak_release,
18956         atomic_exchange_acquire, atomic_exchange_release,
18957         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18958         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18959         atomic_fetch_and_acquire,
18960         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18962 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18964         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18965         USE_ATOMIC_COMPILER_BUILTINS): Define.
18966         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18968         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18970         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18972         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18974         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18976         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18978         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18980         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18982         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18984         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18986         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18988         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18990         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18992         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18994         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18996         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18998         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19000         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19001         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19002         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19004         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19007 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19009         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19010         the sched_priority value here.  It was already checked when the user
19011         called pthread_attr_setschedparam.
19013         * nptl/tst-bad-schedattr.c: New file.
19014         * nptl/Makefile (tests): Add it.
19016 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19017             Florian Weimer  <fweimer@redhat.com>
19018             Joseph Myers  <joseph@codesourcery.com>
19019             Adam Conrad  <adconrad@0c3.net>
19020             Andreas Schwab  <schwab@suse.de>
19021             Brooks  <bmoses@google.com>
19023         [BZ #17625]
19024         * wordexp-test.c (__dso_handle): Add prototype.
19025         (__register_atfork): Likewise.
19026         (__app_register_atfork): New function.
19027         (registered_forks): New global.
19028         (register_fork): New function.
19029         (test_case): Add 3 new tests for WRDE_CMDSUB.
19030         (main): Call __app_register_atfork.
19031         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19032         fork count is non-zero fail the test.
19033         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19034         is set.
19035         (parse_dollars): Remove check for WRDE_NOCMD.
19036         (parse_dquote): Likewise.
19038 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19040         * Makeconfig (built-modules): List non-library modules to be
19041         built.
19042         (module-cppflags): Include libc-modules.h for
19043         everything except shlib-versions.v.i.
19044         (CPPFLAGS): Use it.
19045         (before-compile): Add libc-modules.h.
19046         ($(common-objpfx)libc-modules.h,
19047         $(common-objpfx)libc-modules.stmp): New targets.
19048         (common-generated): Add libc-modules.h and libc-modules.stmp.
19049         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19050         * include/libc-symbols.h: Don't include libc-modules.h.
19051         * include/libc-modules.h: Remove file.
19052         * scripts/gen-libc-modules.awk: New script to generate
19053         libc-modules.h.
19054         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19055         Depend on libc-modules.stmp.
19057         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19059         * Makeconfig (in-module): Get value of libof set for the
19060         translation unit.
19061         (CPPFLAGS): Use $(in-module).
19062         * Makerules: Don't suffix routine names for nonlib.
19063         * include/libc-modules.h: New file.
19064         * include/libc-symbols.h: Include libc-modules.h
19065         (IS_IN): New macro to replace IS_IN_* macros.
19066         * elf/Makefile: Set libof-* for each routine.
19067         * elf/rtld-Rules: Likewise.
19068         * extra-modules.mk: Likewise.
19069         * iconv/Makefile: Likewise.
19070         * iconvdata/Makefile: Likewise.
19071         * locale/Makefile: Likewise.
19072         * malloc/Makefile: Likewise.
19073         * nss/Makefile: Likewise.
19074         * sysdeps/gnu/Makefile: Likewise.
19075         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19076         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19077         * sysdeps/s390/s390-64/Makefile: Likewise.
19078         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19079         CPPFLAGS for nscd instead of nonlib.
19081 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19083         * nptl/createthread.c: New file.
19085         * nptl/createthread.c: Moved ...
19086         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19088         * nptl/createthread.c: Add proper top-line comment.
19089         (do_clone): Folded into ...
19090         (create_thread): ... here.  Take new arguments STOPPED_START and
19091         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19092         increment __nptl_threads, do event-reporting logic, do
19093         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19094         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19095         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19096         just send SIGCANCEL.
19097         * nptl/pthread_create.c: Forward-declare create_thread before
19098         including createthread.c.
19099         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19100         declaration, and new macro START_THREAD_SELF to replace argument.
19101         Remove return statement.
19102         (report_thread_creation): New function.
19103         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19104         synchronization logic, and __nptl_nthreads increment here, around
19105         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19106         PD->parent_cancelhandling here, before create_thread.  When
19107         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19108         __deallocate_stack, and ENOMEM translation here.
19110 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19112         [BZ #17616]
19113         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19114         (mptwo): Rename to __mptwo.
19115         (__inv): Use __mptwo instead of mptwo.
19116         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19117         (mptwo): Rename to __mptwo.
19118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19119         of mpone and __mptwo instead of mptwo.
19120         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19121         instead of mpone.
19122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19123         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19124         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19125         of mpone and __mptwo instead of mptwo.
19126         (__mpranred): Use __mpone instead of mpone.
19127         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19128         variable.
19129         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19130         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19131         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19132         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19133         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19134         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19135         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19136         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19137         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19138         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19139         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19140         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19141         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19142         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19143         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19144         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19145         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19146         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19147         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19149 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19151         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19152         replace BSD Handler xref with BSD Signal Handling.
19154 2014-11-17  Richard Henderson  <rth@redhat.com>
19156         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19157         (_FP_PACK_RAW_2): Remove.
19158         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19159         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19160         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19161         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19162         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19163         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19164         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19165         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19166         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19167         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19168         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19169         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19170         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19171         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19172         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19173         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19175 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19177         * signal/signal.h [__USE_MISC]
19178         (struct sigvec): Remove type.
19179         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19180         (sigvec): Remove declaration.
19181         * sysdeps/posix/sigvec.c: Moved ...
19182         * signal/sigvec.c: ... here, replacing old file.
19183         (struct sigvec): New type, copied from old signal.h definition.
19184         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19185         (__sigvec): Convert definition to prototype.
19186         (sigvec): Replace weak_alias with compat_symbol.
19187         * signal/Versions (libc: GLIBC_2.21): New version set.
19188         * include/signal.h: Remove __sigvec declaration.
19189         * sysdeps/unix/bsd/sigvec.c: Remove file.
19190         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19191         * manual/signal.texi (BSD Handler): Remove subsection.
19192         Move siginterrupt up to ...
19193         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19194         (Blocking in BSD): Fold subsection into its parent.
19195         * NEWS: Mention sigvec removal.
19197 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19199         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19200         (DLA_FMS): Make definition conditional only on [__FMA4__].
19201         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19202         definition.
19204         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19205         Make definition conditional only on [PROF].
19206         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19207         definition.
19208         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19209         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19211         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19212         !__GNUC__].
19213         * include/signal.h (__sigpause): Move declaration above call to
19214         libc_hidden_proto.
19215         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19216         variable.
19217         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19218         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19220 2014-11-14  David S. Miller  <davem@davemloft.net>
19222         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19223         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19225 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19227         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19228         * configure: Regenerated.
19229         * manual/install.texi (Tools for Compilation): Document a
19230         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19231         compiler verified to work.
19232         * INSTALL: Regenerated.
19234         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19235         redeclare with asm name.
19236         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19237         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19238         including <string.h>.
19239         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19240         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19241         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19242         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19243         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19245         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19247 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19249         * stdlib/strtol.c (__strtol): Use prototype definition.
19251         [BZ #17594]
19252         * stdlib/strtol.c (SYM__): New macro.
19253         (SYM__1): Likewise.
19254         (__strtol): Likewise.
19255         (strtol): Rename to __strtol and define as weak alias of
19256         __strtol.  Use libc_hidden_weak.
19258 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19260         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19261         Use numbered labels in inline assembly.
19263 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19265         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19266         Add setjmp LIBC_PROBE.
19267         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19268         Likewise.
19269         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19270         Add longjmp, longjmp_target LIBC_PROBE.
19271         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19272         Likewise.
19274 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19276         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19277         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19278         to get rid of unused variable warning.
19280 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19282         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19283         Check for unwind_backtrace ==  NULL only in SHARED case.
19284         (__backchain_backtrace): Compile only in SHARED case.
19285         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19286         Likewise.
19287         (__backchain_backtrace): Declare as static.
19289 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19291         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19292         (__libc_multiple_threads_ptr): Variable moved ...
19293         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19295 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19297         * conform/GlibcConform.pm: New file.
19298         * conform/conformtest.pl: Use GlibcConform module.
19299         * conform/linknamespace.pl: New file.
19300         * conform/list-header-symbols.pl: Likewise.
19301         * conform/Makefile (linknamespace-symlists-base): New variable.
19302         (linknamespace-symlists-tests): Likewise.
19303         (linknamespace-header-base): Likewise.
19304         (linknamespace-header-tests): Likewise.
19305         (tests-special): Add new tests.
19306         ($(linknamespace-symlists-tests)): New rule.
19307         (linknamespace-libs): New variable.
19308         ($(objpfx)symlist-stdlibs): New rule.
19309         ($(linknamespace-header-tests)): Likewise.
19310         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19311         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19312         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19313         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19314         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19315         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19316         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19317         (test-xfail-ISO/math.h/linknamespace): Likewise.
19318         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19319         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19320         (test-xfail-ISO/time.h/linknamespace): Likewise.
19321         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19322         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19323         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19324         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19325         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19326         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19327         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19328         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19329         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19330         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19331         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19332         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19333         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19334         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19335         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19336         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19337         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19338         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19339         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19340         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19341         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19342         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19343         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19344         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19345         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19346         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19347         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19348         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19349         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19350         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19351         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19352         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19353         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19354         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19355         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19356         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19357         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19358         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19359         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19360         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19361         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19362         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19363         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19364         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19365         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19366         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19367         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19368         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19369         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19370         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19371         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19372         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19373         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19374         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19375         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19376         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19377         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19378         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19379         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19380         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19381         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19382         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19383         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19384         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19385         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19386         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19387         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19388         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19389         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19390         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19391         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19392         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19393         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19394         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19395         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19396         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19397         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19398         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19399         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19400         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19401         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19402         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19403         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19404         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19405         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19406         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19407         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19408         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19409         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19410         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19411         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19412         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19413         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19414         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19415         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19416         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19417         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19418         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19419         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19420         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19421         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19422         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19423         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19424         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19425         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19426         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19427         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19428         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19429         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19430         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19431         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19432         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19433         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19434         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19435         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19436         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19437         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19438         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19439         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19440         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19441         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19442         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19443         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19444         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19445         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19446         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19447         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19448         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19449         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19450         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19451         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19452         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19453         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19454         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19455         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19456         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19457         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19458         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19459         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19460         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19461         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19462         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19463         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19464         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19465         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19466         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19467         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19468         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19469         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19470         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19472         [BZ #17589]
19473         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19474         of fgets_unlocked.
19476         [BZ #17585]
19477         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19478         (memmem): Rename to __memmem and define as weak alias of
19479         __memmem.  Use libc_hidden_weak.
19480         (__memmem): Use libc_hidden_def.
19481         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19482         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19483         memmem.
19485         [BZ #17582]
19486         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19487         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19488         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19489         and define as weak alias of __fgets_unlocked.  Use
19490         libc_hidden_weak.
19491         (__fgets_unlocked): Use libc_hidden_def.
19492         * include/stdio.h (__fgets_unlocked): Declare.  Use
19493         libc_hidden_proto.
19494         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19495         __fgets_unlocked instead of fgets_unlocked.
19496         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19497         (GET_NPROCS_CONF_PARSER): Likewise.
19498         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19499         (GET_NPROCS_CONF_PARSER): Likewise.
19501         [BZ #17574]
19502         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19503         weak alias of __wmemset.  Use libc_hidden_weak.
19504         (__wmemset): Use libc_hidden_def.
19505         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19506         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19507         of wmemset.
19509         [BZ #17573]
19510         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19511         with asm name __mempcpy.
19512         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19514         [BZ #17572]
19515         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19516         and define as weak alias of __rawmemchr.
19517         (__rawmemchr): Do not define as strong alias of rawmemchr.
19519         [BZ #17571]
19520         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19521         alias of __qsort_r.
19522         (qsort): Call __qsort_r instead of qsort_r.
19523         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19524         (__qsort_r): Declare.  Call libc_hidden_proto.
19525         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19526         instead of qsort_r.
19527         * nscd/gai.c (__qsort_r): Define to qsort_r.
19528         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19529         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19530         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19532         [BZ #17570]
19533         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19534         define as weak alias of __malloc_info.
19536         [BZ #17584]
19537         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19538         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19539         (__rewinddir): Use libc_hidden_def.
19540         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19541         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19542         (__rewinddir): Use libc_hidden_def.
19543         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19544         weak alias of __rewinddir.  Don't use libc_hidden_def.
19545         (__rewinddir): Use libc_hidden_def.
19546         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19547         (__rewinddir): Use libc_hidden_proto.
19548         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19549         rewinddir.
19550         (__getcwd): Use __rewinddir instead of rewinddir.
19552         [BZ #17583]
19553         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19554         alias of __fileno.  Use libc_hidden_weak.
19555         (__fileno): Use libc_hidden_def.
19556         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19557         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19558         alias of __ftello.
19559         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19560         __ftello.
19561         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19562         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19563         libc_hidden_def.
19564         (fread_unlocked): Don't use libc_hidden_ver.
19565         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19566         and define as weak alias of __fread_unlocked.  Don't use
19567         libc_hidden_def.
19568         (__fread_unlocked): Use libc_hidden_def.
19569         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19570         (ftello): Don't use libc_hidden_proto.
19571         (__ftello): Declare.  Use libc_hidden_proto.
19572         (fread_unlocked): Don't use libc_hidden_proto.
19573         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19574         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19575         and __ftello instead of fileno, fread_unlocked and ftello.
19577 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19579         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19580         GOT12.
19581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19582         Likewise.
19583         (_dl_start_user): Likewise.
19584         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19586 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19587             Siddhesh Poyarekar  <siddhesh@redhat.com>
19589         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19590         Move argv and envp down instead of moving argc up.
19591         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19593 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19595         [BZ #17506]
19596         * test-skeleton.c (main): Return successful if one of
19597         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19598         * string/tst-strcoll-overflow.c: Define expected status.
19600 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19602         [BZ #17475]
19603         * locale/iso-639.def: Define Bhili and Tulu language codes.
19605 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19607         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19609 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19611         [BZ #17555]
19612         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19614 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19616         * configure.ac: Updated check of minimal required version to
19617         2.22.
19618         * manual/install.texi (Tools for Compilation): Updated version
19619         number.
19620         * configure: Regenerated.
19621         * INSTALL: Likewise.
19623 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19625         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19626         __tls_get_addr.
19628 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19630         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19631         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19632         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19633         libc_hidden_weak.
19634         (waitpid): Define as alias of __waitpid.
19635         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19636         __waitpid.
19637         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19638         libc_hidden_weak.
19639         (waitpid): Define as alias of __waitpid.
19640         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19641         __libc_waitpid alias.
19642         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19643         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19644         Likewise.
19645         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19646         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19647         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19648         alias.
19649         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19650         __waitpid.
19651         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19652         libc_hidden_weak.
19653         (waitpid): Define as alias of __waitpid.
19655 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19657         * manual/llio.texi: Add comment that write safety has been
19658         fixed in Linux.
19660         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19661         (localplt-build-dso): Add elf/ld.so.
19662         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19663         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19664         and free for ld.so.
19665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19666         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19668         Likewise.
19669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19670         Likewise.
19671         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19672         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19673         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19674         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19675         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19676         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19677         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19678         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19679         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19680         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19681         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19683 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #14132]
19686         * include/libc-symbols.h (INTUSE): Remove macro.
19687         (INTDEF): Likewise.
19688         (INTVARDEF): Likewise.
19689         (_INTVARDEF): Likewise.
19690         (INTDEF2): Likewise.
19691         (INTVARDEF2): Likewise.
19692         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19693         rtld_hidden_def instead of INTVARDEF.
19694         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19695         (_dl_starting_up_internal): Remove declaration.
19696         (_dl_starting_up): Use rtld_hidden_proto.
19697         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19698         declaration.
19699         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19700         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19701         _dl_starting_up.
19702         * elf/dl-writev.h (_dl_writev): Likewise.
19703         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19704         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19705         _dl_starting_up_internal.
19707 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19709         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19710         test-skeleton.c.
19712 2014-11-05  Will Newton  <will.newton@linaro.org>
19714         * benchtests/Makefile: (bench-malloc): Add malloc thread
19715         scalability benchmark.
19716         * benchtests/bench-malloc-threads.c: New file.
19718 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19720         * sysdeps/aarch64/strchrnul.S: New file.
19722 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19724         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19725         definition.
19726         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19727         Likwise.
19728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19729         Likewise.
19730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19731         Likewise.
19732         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19733         Likewise.
19734         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19735         Likewise.
19737 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19739         * catgets/test-gencat.c: Use test-skeleton.c.
19740         * catgets/tst-catgets.c: Likewise.
19741         * csu/tst-empty.c: Likewise.
19742         * elf/tst-audit2.c: Likewise.
19743         * elf/tst-global1.c: Likewise.
19744         * elf/tst-pathopt.c: Likewise.
19745         * elf/tst-piemod1.c: Likewise.
19746         * elf/tst-tls10.c: Likewise.
19747         * elf/tst-tls11.c: Likewise.
19748         * elf/tst-tls12.c: Likewise.
19749         * gnulib/tst-gcc.c: Likewise.
19750         * iconvdata/tst-e2big.c: Likewise.
19751         * iconvdata/tst-loading.c: Likewise.
19752         * iconv/tst-iconv1.c: Likewise.
19753         * iconv/tst-iconv2.c: Likewise.
19754         * inet/test-inet6_opt.c: Likewise.
19755         * inet/tst-gethnm.c: Likewise.
19756         * inet/tst-network.c: Likewise.
19757         * inet/tst-ntoa.c: Likewise.
19758         * intl/tst-codeset.c: Likewise.
19759         * intl/tst-gettext2.c: Likewise.
19760         * intl/tst-gettext3.c: Likewise.
19761         * intl/tst-ngettext.c: Likewise.
19762         * intl/tst-translit.c: Likewise.
19763         * io/test-stat.c: Likewise.
19764         * libio/test-fmemopen.c: Likewise.
19765         * libio/tst-freopen.c: Likewise.
19766         * libio/tst-sscanf.c: Likewise.
19767         * libio/tst-ungetwc1.c: Likewise.
19768         * libio/tst-ungetwc2.c: Likewise.
19769         * libio/tst-widetext.c: Likewise.
19770         * localedata/tst-ctype.c: Likewise.
19771         * localedata/tst-digits.c: Likewise.
19772         * localedata/tst-leaks.c: Likewise.
19773         * localedata/tst-mbswcs1.c: Likewise.
19774         * localedata/tst-mbswcs2.c: Likewise.
19775         * localedata/tst-mbswcs3.c: Likewise.
19776         * localedata/tst-mbswcs4.c: Likewise.
19777         * localedata/tst-mbswcs5.c: Likewise.
19778         * localedata/tst-setlocale.c: Likewise.
19779         * localedata/tst-trans.c: Likewise.
19780         * localedata/tst-wctype.c: Likewise.
19781         * localedata/tst-xlocale1.c: Likewise.
19782         * login/tst-grantpt.c: Likewise.
19783         * malloc/tst-calloc.c: Likewise.
19784         * malloc/tst-malloc.c: Likewise.
19785         * malloc/tst-mallocstate.c: Likewise.
19786         * malloc/tst-mcheck.c: Likewise.
19787         * malloc/tst-mtrace.c: Likewise.
19788         * malloc/tst-obstack.c: Likewise.
19789         * math/atest-exp2.c: Likewise.
19790         * math/atest-exp.c: Likewise.
19791         * math/atest-sincos.c: Likewise.
19792         * math/test-matherr.c: Likewise.
19793         * math/test-misc.c: Likewise.
19794         * math/test-powl.c: Likewise.
19795         * math/tst-definitions.c: Likewise.
19796         * misc/tst-dirname.c: Likewise.
19797         * misc/tst-efgcvt.c: Likewise.
19798         * misc/tst-fdset.c: Likewise.
19799         * misc/tst-hsearch.c: Likewise.
19800         * misc/tst-mntent2.c: Likewise.
19801         * nptl/tst-sem7.c: Likewise.
19802         * nptl/tst-sem8.c: Likewise.
19803         * nptl/tst-sem9.c: Likewise.
19804         * nss/test-netdb.c: Likewise.
19805         * posix/tst-fnmatch.c: Likewise.
19806         * posix/tst-getlogin.c: Likewise.
19807         * posix/tst-gnuglob.c: Likewise.
19808         * posix/tst-mmap.c: Likewise.
19809         * pwd/tst-getpw.c: Likewise.
19810         * resolv/tst-inet_ntop.c: Likewise.
19811         * rt/tst-timer.c: Likewise.
19812         * stdio-common/test-fseek.c: Likewise.
19813         * stdio-common/test-popen.c: Likewise.
19814         * stdio-common/test-vfprintf.c: Likewise.
19815         * stdio-common/tst-cookie.c: Likewise.
19816         * stdio-common/tst-fileno.c: Likewise.
19817         * stdio-common/tst-gets.c: Likewise.
19818         * stdio-common/tst-obprintf.c: Likewise.
19819         * stdio-common/tst-perror.c: Likewise.
19820         * stdio-common/tst-sprintf2.c: Likewise.
19821         * stdio-common/tst-sprintf3.c: Likewise.
19822         * stdio-common/tst-sprintf.c: Likewise.
19823         * stdio-common/tst-swprintf.c: Likewise.
19824         * stdio-common/tst-tmpnam.c: Likewise.
19825         * stdio-common/tst-unbputc.c: Likewise.
19826         * stdio-common/tst-wc-printf.c: Likewise.
19827         * stdlib/tst-environ.c: Likewise.
19828         * stdlib/tst-fmtmsg.c: Likewise.
19829         * stdlib/tst-limits.c: Likewise.
19830         * stdlib/tst-rand48-2.c: Likewise.
19831         * stdlib/tst-rand48.c: Likewise.
19832         * stdlib/tst-random2.c: Likewise.
19833         * stdlib/tst-random.c: Likewise.
19834         * stdlib/tst-strtol.c: Likewise.
19835         * stdlib/tst-strtoll.c: Likewise.
19836         * stdlib/tst-tls-atexit.c: Likewise.
19837         * stdlib/tst-xpg-basename.c: Likewise.
19838         * string/test-ffs.c: Likewise.
19839         * string/tst-bswap.c: Likewise.
19840         * string/tst-inlcall.c: Likewise.
19841         * string/tst-strtok.c: Likewise.
19842         * string/tst-strxfrm.c: Likewise.
19843         * sysdeps/x86_64/tst-audit10.c: Likewise.
19844         * sysdeps/x86_64/tst-audit3.c: Likewise.
19845         * sysdeps/x86_64/tst-audit4.c: Likewise.
19846         * sysdeps/x86_64/tst-audit5.c: Likewise.
19847         * time/tst-ftime_l.c: Likewise.
19848         * time/tst-getdate.c: Likewise.
19849         * time/tst-mktime3.c: Likewise.
19850         * time/tst-mktime.c: Likewise.
19851         * time/tst-posixtz.c: Likewise.
19852         * time/tst-strptime2.c: Likewise.
19853         * time/tst-strptime3.c: Likewise.
19854         * wcsmbs/tst-btowc.c: Likewise.
19855         * wcsmbs/tst-mbrtowc.c: Likewise.
19856         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19857         * wcsmbs/tst-wchar-h.c: Likewise.
19858         * wcsmbs/tst-wcpncpy.c: Likewise.
19859         * wcsmbs/tst-wcrtomb.c: Likewise.
19860         * wcsmbs/tst-wcsnlen.c: Likewise.
19861         * wcsmbs/tst-wcstof.c: Likewise.
19863 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19865         [BZ #14132]
19866         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19867         INTDEF.
19868         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19869         declaration.
19870         (_dl_mcount): Use rtld_hidden_proto.
19871         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19872         _dl_mcount.
19873         * elf/rtld.c (_rtld_global_ro): Likewise.
19875         [BZ #14132]
19876         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19877         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19878         of _dl_init_internal.
19879         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19880         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19881         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19882         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19883         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19884         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19885         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19886         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19887         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19888         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19889         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19890         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19891         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19892         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19893         * sysdeps/tile/dl-start.S (_start): Likewise.
19894         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19895         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19897         [BZ #14132]
19898         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19899         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19900         (rtld_progname): Make macro definition unconditional.
19901         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19902         INTDEF.
19903         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19904         (dl_main): Likewise.
19905         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19906         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19907         instead of _dl_argv_internal.
19908         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19909         __GI__dl_argv instead of INTUSE(_dl_argv).
19910         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19911         __GI__dl_argv instead of _dl_argv_internal.
19913         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19914         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19915         macro.
19916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19917         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19918         New macro.
19919         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19920         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19921         macro.
19922         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19923         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19925 2014-11-04  Andreas Schwab  <schwab@suse.de>
19927         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19929 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19931         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19932         mtvsrd instruction in binary form.
19934 2014-11-03  Andreas Schwab  <schwab@suse.de>
19936         [BZ #17522]
19937         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19938         for less than MB_LEN_MAX use a local buffer of that size.
19939         * libio/tst-fputws.c: New file.
19940         * libio/Makefile (tests): Add tst-fputws.
19942 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19944         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19945         the size of the fpu_fr.fpu_dregs[] array.
19947 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19949         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19950         (__nanosleep): Do not define as alias.
19951         (nanosleep): Define as alias of __nanosleep.
19952         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19953         __libc_nanosleep name.
19955 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19957         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19958         install.texi in comment.
19960 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19962         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19963         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19964         ... add here and use lwsync or sync ...
19965         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19966         ... and add here using lwsync.
19968 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19970         * elf/dl-machine-reject-phdr.h: New file.
19971         * elf/dl-load.c: #include that.
19972         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19973         if that returned true.
19975 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19977         [BZ #17496]
19978         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19979         gen-as-const-headers chunk.  Add a big scare comment after the last
19980         safe place to touch before-compile.
19982 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19984         * manual/install.texi (Tools for Compilation): Update autoconf
19985         version requirements.
19986         * INSTALL: Regenerated.
19988         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19989         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19990         (__libc_pselect): Likewise.
19992         [BZ #14138]
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19998 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20000         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20001         correct barrier instruction.
20002         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20003         Likewise.
20004         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20005         Likewise.
20007 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20009         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20010         after defining inlines.  Instead, just use parens to defeat macro
20011         expansion of __isctype in its declaration.
20013 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20015         * include/sys/uio.h (__libc_readv): Remove declaration.
20016         (__libc_writev): Likewise.
20017         * misc/readv.c (__libc_readv): Rename to __readv.
20018         (__readv): Do not define as alias.
20019         (readv): Define as alias of __readv.
20020         * misc/writev.c (__libc_writev): Rename to __writev.
20021         (__writev): Do not define as alias.
20022         (writev): Define as alias of __writev.
20023         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20024         (__readv): Do not define as alias.
20025         (readv): Define unconditionally as alias of __readv.
20026         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20027         (__writev): Do not define as alias.
20028         (writev): Define unconditionally as alias of __writev.
20029         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20030         name.
20031         (writev): Do not define __libc_writev name.
20033 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20035         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20036         (convert_charseq): New function, broken out of ...
20037         (use_from_charmap): ... here.  Call it.
20038         (use_to_charmap): Use convert_charseq and free instead of duplicating
20039         its code with a variable-length stack struct.
20041 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20043         * include/fcntl.h (__libc_creat): Remove declaration.
20044         * io/creat.c (__libc_creat): Rename to creat.
20045         (creat): Do not define as alias.
20046         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20047         of creat instead of __libc_creat.
20048         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20049         to creat.
20050         (creat): Do not define as alias.
20051         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20052         __libc_creat.
20053         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20054         __libc_creat name.
20055         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20056         Likewise.
20058 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20060         * manual/llio.texi: Add comments discussing why write() may be
20061         considered MT-unsafe on Linux.
20063 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20065         * dl-load.c (local_strdup): Remove.
20066         (expand_dynamic_string_token): Use __strdup.
20067         (decompose_rpath): Likewise.
20068         (_dl_map_object): Likewise.
20070 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #14132]
20073         * sysdeps/generic/unwind-dw2-fde.c
20074         (__register_frame_info_bases_internal): Do not declare.
20075         (__register_frame_info_table_bases_internal): Likewise.
20076         (__deregister_frame_info_bases_internal): Likewise.
20077         (__register_frame_info_bases): Declare and use hidden_proto before
20078         definition.  Use hidden_def instead of INTDEF.
20079         (__register_frame_info_table_bases): Likewise.
20080         (__deregister_frame_info_bases): Likewise.
20081         (__register_frame_info): Do not use INTUSE.
20082         (__register_frame): Likewise.
20083         (__register_frame_info_table): Likewise.
20084         (__register_frame_table): Likewise.
20085         (__deregister_frame_info): Likewise.
20086         (__deregister_frame): Likewise.
20088 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20090         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20091         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20092         not undefine.
20093         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20094         Likewise.
20095         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20096         Likewise.
20098 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20100         [BZ #14138]
20101         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20102         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20103         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20104         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20105         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20106         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20107         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20108         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20109         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20110         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20111         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20112         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20113         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20114         syscall.
20115         (setfsuid): Likewise.
20116         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20117         (setfsuid): Likewise.
20118         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20119         (setfsuid): Likewise.
20120         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20121         Likewise.
20122         (setfsuid): Likewise.
20123         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20124         (setfsuid): Likewise.
20125         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20126         Likewise.
20127         (setfsuid): Likewise.
20129 2014-10-27  Andreas Schwab  <schwab@suse.de>
20131         [BZ #17501]
20132         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20133         check for Slow_SSE4_2 feature bit.
20134         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20135         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20136         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20137         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20139 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20141         * configure.ac: Validate compiler version with a empirical test of
20142         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20143         $CC -v output.
20144         * configure: Regenerated.
20146         * inet/htons.c (htons): Prototypify.
20147         * inet/htonl.c (htonl): Likewise.
20149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20151         * string/strncat.c (strncat): Improve performance by using strlen.
20153 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20155         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20157 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20159         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20160         Call libc_fetestexcept_aarch64.
20162 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20164         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20165         Call libc_feholdexcept_aarch64.
20167 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20169         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20170         Call get_rounding_mode.
20172 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20174         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20175         Simplify logic.
20177 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20179         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20180         Simplify logic.
20182 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20184         [BZ #14138]
20185         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20186         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20187         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20188         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20189         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20190         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20191         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20192         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20193         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20194         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20195         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20196         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20197         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20198         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20199         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20200         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20201         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20202         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20203         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20204         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20205         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20206         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20207         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20208         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20209         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20210         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20211         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20212         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20213         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20214         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20215         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20216         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20217         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20218         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20219         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20220         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20221         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20222         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20223         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20224         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20225         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20226         syscall.
20227         (geteuid): Likewise.
20228         (getgid): Likewise.
20229         (getuid): Likewise.
20230         (getresgid): Likewise.
20231         (getresuid): Likewise.
20232         (getgroups): Likewise.
20233         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20234         (geteuid): Likewise.
20235         (getgid): Likewise.
20236         (getuid): Likewise.
20237         (getresgid): Likewise.
20238         (getresuid): Likewise.
20239         (getgroups): Likewise.
20240         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20241         (geteuid): Likewise.
20242         (getgid): Likewise.
20243         (getuid): Likewise.
20244         (getresgid): Likewise.
20245         (getresuid): Likewise.
20246         (getgroups): Likewise.
20247         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20248         Likewise.
20249         (geteuid): Likewise.
20250         (getgid): Likewise.
20251         (getuid): Likewise.
20252         (getresgid): Likewise.
20253         (getresuid): Likewise.
20254         (getgroups): Likewise.
20255         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20256         (geteuid): Likewise.
20257         (getgid): Likewise.
20258         (getuid): Likewise.
20259         (getresgid): Likewise.
20260         (getresuid): Likewise.
20261         (getgroups): Likewise.
20262         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20263         Likewise.
20264         (geteuid): Likewise.
20265         (getgid): Likewise.
20266         (getuid): Likewise.
20267         (getgroups): Likewise.
20269         [BZ #14138]
20270         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20271         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20272         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20273         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20274         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20275         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20276         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20277         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20278         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20279         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20280         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20281         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20282         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20283         __chown.
20284         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20285         (lchown): Likewise.
20286         (fchown): Likewise.
20287         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20288         Likewise.
20289         (lchown): Likewise.
20290         (fchown): Likewise.
20291         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20292         (lchown): Likewise.
20293         (fchown): Likewise.
20294         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20295         Likewise.
20296         (lchown): Likewise.
20297         (fchown): Likewise.
20299 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20301         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20302         Simplify logic.
20304 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20306         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20307         Cleanup logic.
20309 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20311         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20312         Remove unused include.
20314 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20316         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20317         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20318         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20319         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20321 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20322             Helge Deller <deller@gmx.de>
20324         [BZ #17508]
20325         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20326         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20327         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20329 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20331         [BZ #14132]
20332         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20333         Remove macro definition.
20334         (__ashrdi3_v_glibc20): Likewise.
20335         (__lshrdi3_v_glibc20): Likewise.
20336         (__cmpdi2_v_glibc20): Likewise.
20337         (__ucmpdi2_v_glibc20): Likewise.
20338         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20339         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20340         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20341         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20342         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20343         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20345 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20347         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20348         old GNU extension [0] syntax.
20349         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20350         alloca rather than an array member with variable length.
20351         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20352         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20353         (parse_opt): ... here.  Likewise use alloca there.
20354         Validate the -i argument before checking for rootness.
20355         (send_shutdown): New function, broken out of ...
20356         (parse_opt): ... here.
20358 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20360         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20361         macro to get at the _rt_local_ro field.
20362         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20363         ([PIC] case) or _dl_hwcap ([!PIC] case).
20364         * sysdeps/arm/setjmp.S: Likewise.
20366         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20367         * sysdeps/arm/configure.ac: New check to define it.
20368         * sysdeps/arm/configure: Regenerated.
20369         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20370         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20371         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20372         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20373         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20374         Use move/movt pair instead of a load.
20375         (LDST_GLOBAL): Macro removed.
20376         (LDR_GLOBAL): New macro replaces it.
20377         (LDR_HIDDEN): New macro.
20378         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20379         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20381         * setjmp/tst-setjmp-static.c: New file.
20382         * setjmp/Makefile (tests): Add it.
20383         (tests-static): New variable.
20385 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20387         [BZ #17485]
20388         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20390 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20392         [BZ #14132]
20393         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20395 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20397         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20399 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20401         * io/fts.c (dirent_not_directory): New function.
20402         (fts_build): Call it.
20404 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20406         * nptl/version.c (__nptl_main): Use normal __write rather than
20407         INTERNAL_SYSCALL.
20408         (banner): Update copyright years.
20410         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20411         gettimeofday.
20412         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20413         * nptl/pthread_cond_timedwait.c: Likewise.
20414         * nptl/pthread_mutex_timedlock.c: Likewise.
20415         * nptl/sem_timedwait.c: Likewise.
20417         * sysdeps/nptl/bits/libc-lock.h
20418         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20419         (__libc_lock_init_recursive): Return void, not 0.
20420         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20421         (__libc_rwlock_init): Likewise.
20422         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20424 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20426         [BZ #15215]
20427         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20428         (__pthread_once_slow): ... here.
20429         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20430         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20432 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20434         [BZ #15215]
20435         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20436         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20437         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20438         * nptl/pthread_once.c (__pthread_once): Likewise.
20439         Update comments.
20441 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20443         [BZ #14138]
20444         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20445         name.
20446         (writev): Use __libc_writev as strong name.
20447         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20448         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20450 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20452         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20454         * sysdeps/i386/nptl/tls.h
20455         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20456         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20457         New macros.
20458         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20459         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20460         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20461         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20462         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20463         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20465         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20466         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20467         on [__NR_futex].
20468         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20469         broken out of ...
20470         (__pthread_mutex_init): ... here.  Call it.
20471         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20472         Conditionalize PI cases on [__NR_futex].
20473         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20474         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20475         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20477         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20478         conditional on [SIGSETXID].
20479         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20480         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20481         is defined.  Likewise for SIGSETXID.
20482         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20483         Conditionalize definitions on [SIGSETXID].
20484         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20485         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20486         unblocking on [SIGCANCEL].
20488         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20489         [__NR_set_robust_list].
20491 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20493         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20494         (do_compare): Likewise.
20496 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20498         [BZ #15884]
20499         * string/strcoll_l.c: Don't include stdio.h.
20500         (coll_seq): Remove members idxarr and rulearr.
20501         (get_next_seq_cached): Remove function.
20502         (get_next_seq): Likewise.
20503         (get_next_seq_nocache): Rename to get_next_seq.
20504         (do_compare): Remove function.
20505         (do_compare_nocache): Rename to do_compare.
20506         (STRCOLL): Remove weight and rules cache.
20508 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20510         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20511         * sysdeps/arm/sfp-machine.h: ... to here.
20512         * sysdeps/arm/Implies: Remove arm/soft-fp.
20514 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20516         * conform/data/sys/utsname.h-data (*_t): Allow.
20517         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20518         [POSIX] (WEXITED): Do not expect constant.
20519         [POSIX] (WSTOPPED): Likewise.
20520         [POSIX] (WNOHANG): Likewise.
20521         [POSIX] (WNOWAIT): Likewise.
20522         [POSIX] (siginfo_t): Do not expect type or elements.
20523         [POSIX] (pid_t): Do not expect type.
20524         [POSIX] (signal.h): Do not allow header.
20525         [POSIX] (sys/resource.h): Likewise.
20526         [POSIX] (si_*): Do not allow pattern.
20527         [POSIX] (W*): Likewise.
20528         [POSIX] (P_*): Likewise.
20529         [POSIX] (BUS_*): Likewise.
20530         [POSIX] (CLD_*): Likewise.
20531         [POSIX] (FPE_*): Likewise.
20532         [POSIX] (ILL_*): Likewise.
20533         [POSIX] (POLL_*): Likewise.
20534         [POSIX] (SEGV_*): Likewise.
20535         [POSIX] (SI_*): Likewise.
20536         [POSIX] (TRAP_*): Likewise.
20537         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20538         variable.
20540 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20542         [BZ #12926]
20543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20544         infinite loop when __recvmsg returns 0.
20546 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20548         * CANCEL-FCT-WAIVE: Remove file.
20549         * CANCEL-FILE-WAIVE: Likewise.
20551         [BZ #14132]
20552         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20553         instead of INTVARDEF.
20554         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20555         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20556         rtld_hidden_data_def instead of INTVARDEF.
20557         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20558         * elf/dl-deps.c (expand_dst): Likewise.
20559         * elf/dl-load.c (_dl_dst_count): Likewise.
20560         (_dl_dst_substitute): Likewise.
20561         (decompose_rpath): Likewise.
20562         (_dl_init_paths): Likewise.
20563         (open_path): Likewise.
20564         (_dl_map_object): Likewise.
20565         * elf/rtld.c (dl_main): Likewise.
20566         (process_dl_audit): Likewise.
20567         (process_envvars): Likewise.
20568         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20569         Remove declaration.
20570         (__libc_enable_secure): Use rtld_hidden_proto.
20572 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20574         * elf/dl-load.c
20575         (add_path): New function broken out of _dl_rtld_di_serinfo.
20576         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20578 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20580         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20581         parentheses around macro arguments.
20582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20587         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20593         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20594         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20595         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20596         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20597         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20598         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20605         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20611         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20613         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20614         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20615         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20616         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20617         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20618         Likewise.
20619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20626         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20627         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20628         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20629         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20630         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20631         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20640         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20641         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20642         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20643         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20644         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20645         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20646         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20647         (_FP_FRAC_SRS_1): Likewise.
20648         (_FP_FRAC_CLZ_1): Likewise.
20649         (_FP_MUL_MEAT_1_imm): Likewise.
20650         (_FP_MUL_MEAT_1_wide): Likewise.
20651         (_FP_MUL_MEAT_1_hard): Likewise.
20652         (_FP_SQRT_MEAT_1): Likewise.
20653         (_FP_FRAC_ASSEMBLE_1): Likewise.
20654         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20655         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20656         (__FP_CLZ_2): Likewise.
20657         (_FP_MUL_MEAT_2_wide): Likewise.
20658         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20659         (_FP_MUL_MEAT_2_gmp): Likewise.
20660         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20661         (_FP_SQRT_MEAT_2): Likewise.
20662         (_FP_FRAC_ASSEMBLE_2): Likewise.
20663         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20664         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20665         (_FP_FRAC_CLZ_4): Likewise.
20666         (_FP_MUL_MEAT_4_wide): Likewise.
20667         (_FP_MUL_MEAT_4_gmp): Likewise.
20668         (_FP_SQRT_MEAT_4): Likewise.
20669         (_FP_FRAC_ASSEMBLE_4): Likewise.
20670         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20671         * soft-fp/op-common.h (_FP_CMP): Likewise.
20672         (_FP_CMP_EQ): Likewise.
20673         (_FP_CMP_UNORD): Likewise.
20674         (_FP_TO_INT): Likewise.
20675         (_FP_FROM_INT): Likewise.
20676         [!__FP_CLZ] (__FP_CLZ): Likewise.
20677         (_FP_DIV_HELP_imm): Likewise.
20678         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20679         Likewise.
20680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20685         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20686         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20691         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20693         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20694         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20695         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20696         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20709         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20711         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20712         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20713         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20714         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20715         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20716         (FP_UNPACK_RAW_SP): Likewise.
20717         (FP_PACK_RAW_S): Likewise.
20718         (FP_PACK_RAW_SP): Likewise.
20719         (FP_UNPACK_S): Likewise.
20720         (FP_UNPACK_SP): Likewise.
20721         (FP_UNPACK_SEMIRAW_S): Likewise.
20722         (FP_UNPACK_SEMIRAW_SP): Likewise.
20723         (FP_PACK_S): Likewise.
20724         (FP_PACK_SP): Likewise.
20725         (FP_PACK_SEMIRAW_S): Likewise.
20726         (FP_PACK_SEMIRAW_SP): Likewise.
20727         (_FP_SQRT_MEAT_S): Likewise.
20728         (FP_CMP_S): Likewise.
20729         (FP_CMP_EQ_S): Likewise.
20730         (FP_CMP_UNORD_S): Likewise.
20731         (FP_TO_INT_S): Likewise.
20732         (FP_FROM_INT_S): Likewise.
20734         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20736         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20737         (FP_EX_INVALID_IMZ): Likewise.
20738         (FP_EX_INVALID_IMZ_FMA): Likewise.
20739         (FP_EX_INVALID_ISI): Likewise.
20740         (FP_EX_INVALID_ZDZ): Likewise.
20741         (FP_EX_INVALID_IDI): Likewise.
20742         (FP_EX_INVALID_SQRT): Likewise.
20743         (FP_EX_INVALID_CVI): Likewise.
20744         (FP_EX_INVALID_VC): Likewise.
20745         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20746         "invalid" exceptions.
20747         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20748         (_FP_ADD_INTERNAL): Likewise.
20749         (_FP_MUL): Likewise.
20750         (_FP_FMA): Likewise.
20751         (_FP_DIV): Likewise.
20752         (_FP_CMP_CHECK_NAN): Likewise.
20753         (_FP_SQRT): Likewise.
20754         (_FP_TO_INT): Likewise.
20755         (FP_EXTEND): Likewise.
20757 2014-10-09  Allan McRae  <allan@archlinux.org>
20759         * po/fr.po: Update French translation from translation project.
20761 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20763         [BZ #14132]
20764         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20765         of INTDEF.
20766         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20767         (__cxa_atexit): Use libc_hidden_proto.
20768         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20770         [BZ #14132]
20771         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20772         declaration.
20773         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20774         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20775         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20776         [!_ISOMAC] (__iswctype_internal): Likewise.
20777         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20778         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20779         alias.
20780         (fcntl): Remove __fcntl_internal alias.
20781         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20782         __connect_internal alias.
20783         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20784         Likewise.
20786         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20787         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20788         FP_DENORM_ZERO.
20789         (_FP_CHECK_FLUSH_ZERO): New macro.
20790         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20791         (_FP_CMP): Likewise.
20792         (_FP_CMP_EQ): Likewise.
20793         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20794         FP_DENORM_ZERO.
20795         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20796         (FP_TRUNC): Likewise.
20798         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20799         treated as invalid conversion, not as normal exponent.
20801         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20802         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20803         (_FP_CMP_EQ): Likewise.
20804         (_FP_CMP_UNORD): Likewise.
20805         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20806         (FP_CMP_EQ_D): Likewise.
20807         (FP_CMP_UNORD_D): Likewise.
20808         * soft-fp/extended.h (FP_CMP_E): Likewise.
20809         (FP_CMP_EQ_E): Likewise.
20810         (FP_CMP_UNORD_E): Likewise.
20811         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20812         (FP_CMP_EQ_Q): Likewise.
20813         (FP_CMP_UNORD_Q): Likewise.
20814         * soft-fp/single.h (FP_CMP_S): Likewise.
20815         (FP_CMP_EQ_S): Likewise.
20816         (FP_CMP_UNORD_S): Likewise.
20817         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20818         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20819         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20820         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20821         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20822         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20823         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20824         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20825         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20826         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20827         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20828         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20829         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20830         to FP_CMP_Q.
20831         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20832         FP_CMP_Q.
20833         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20834         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20835         FP_CMP_EQ_Q.
20836         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20837         FP_CMP_Q.
20838         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20839         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20840         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20841         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20842         FP_CMP_EQ_Q.
20843         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20844         FP_CMP_Q.
20845         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20846         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20847         FP_CMP_EQ_Q.
20848         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20849         FP_CMP_Q.
20850         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20851         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20852         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20853         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20854         FP_CMP_EQ_Q.
20856         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20857         a subnormal result, set the underflow exception if trapping on
20858         underflow is enabled.
20859         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20860         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20861         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20862         redefine to 0.
20863         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20864         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20865         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20866         * soft-fp/extendxftf2.c (__extendxftf2): Use
20867         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20869         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20870         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20871         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20872         FP_HANDLE_EXCEPTIONS.
20873         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20874         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20875         FP_HANDLE_EXCEPTIONS.
20876         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20877         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20878         FP_HANDLE_EXCEPTIONS.
20879         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20880         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20881         FP_HANDLE_EXCEPTIONS.
20883 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20885         [BZ #14132]
20886         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20887         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20888         use INTUSE.
20889         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20890         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20891         Remove alias.
20892         (__adjtimex): Define using libc_hidden_ver.
20893         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20894         Remove declaration.
20895         (ntp_gettime): Call __adjtimex directly.
20896         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20897         Remove declaration.
20898         (ntp_gettimex): Call __adjtimex directly.
20899         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20900         __adjtimex_internal alias.
20902 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20904         [BZ #17460]
20905         * nscd/nscd.c (more_help): Rewrite list of tables collection
20906         using xstrdup and asprintf.
20908         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20910 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20911             Roland McGrath  <roland@hack.frob.com>
20913         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20914         (do_lookup_unique): ... local function 'enter' here; update callers.
20916 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20918         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20919         compat_symbol calls on [SHARED].
20920         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20921         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20922         Remove.
20923         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20924         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20925         (oldsetrlimit): Remove.
20926         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20928         (lchown): New syscall entry.
20929         (oldsetrlimit): Remove.
20930         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20931         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20932         (oldsetrlimit): Remove.
20933         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20935         [BZ #14138]
20936         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20937         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20938         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20939         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20940         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20941         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20942         (fchown): Likewise.
20943         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20944         (fchown): Likewise.
20945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20946         Likewise.
20948 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20950         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20951         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20952         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20953         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20954         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20955         Likewise.
20956         (__old_sem_post): Likewise.
20958 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20960         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20961         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20962         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20963         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20964         Use INLINE_VSYSCALL macro.
20965         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20966         __vdso_clock_gettime.
20967         * sysdeps/unix/sysv/linux/tile/init-first.c
20968         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20969         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20970         __vdso_clock_gettime.
20972         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20973         to set up frame more cleanly.
20975         * sysdeps/tile/memcmp.c: New file.
20977         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20979         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20980         * sysdeps/tile/tilegx/strcasestr.c: New file.
20981         * sysdeps/tile/tilegx/strnlen.c: New file.
20982         * sysdeps/tile/tilegx/strstr.c: New file.
20984         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20986 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20988         * nptl/tst-setuid3.c: Write errors to stdout.
20990 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20992         * elf/dl-deps.c
20993         (preload): New functions broken out of _dl_map_object_deps.
20994         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20996 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20998         [BZ #14138]
20999         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21000         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21002 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21004         * sysdeps/mips/strcmp.S: New.
21006 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21008         [BZ #14138]
21009         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21010         (linkat): Likewise.
21011         (mkdirat): Likewise.
21012         (readlinkat): Likewise.
21013         (renameat): Likewise.
21014         (symlinkat): Likewise.
21015         (unlinkat): Likewise.
21016         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21017         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21018         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21019         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21020         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21021         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21022         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21024 2014-09-30  Will Newton  <will.newton@linaro.org>
21026         * math/math.h: Define long double math functions if
21027         _LIBC_TEST is defined.
21028         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21030         * localedata/Makefile: Move assignment to tests-special
21031         into an ifdef testing run-built-tests.
21032         * timezone/Makefile: Likewise.
21034 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21036         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21037         with $(BASH) not $(SHELL).
21039 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21040             Matthew LeGendre  <legendre1@llnl.gov>
21042         [BZ #17411]
21043         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21044         l_reloc_result.
21046 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21048         * stdio-common/printf_fp.c
21049         (hack_digit): New function, broken out of ...
21050         (__printf_fp): ... local function here.  Update call sites.
21051         hack_digit now takes an additional parameter that is a pointer
21052         to a struct of the referenced locals.  Those locals moved inside
21053         the struct and references updated.
21055 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21057         * aclocal.m4: Require autoconf 2.69.
21058         * configure: Regenerated.
21059         * sysdeps/aarch64/configure: Likewise.
21060         * sysdeps/alpha/configure: Likewise.
21061         * sysdeps/arm/armv7/configure: Likewise.
21062         * sysdeps/arm/configure: Likewise.
21063         * sysdeps/ia64/configure: Likewise.
21064         * sysdeps/mach/configure: Likewise.
21065         * sysdeps/mips/configure: Likewise.
21066         * sysdeps/s390/configure: Likewise.
21067         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21070         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21071         file.
21072         * sysdeps/ia64/configure.ac: Likewise.
21074 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21077         specify symbol version for ld.so.  Do not include entry for
21078         libpthread.
21079         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21080         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21081         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21083         [BZ #14171]
21084         * Makeconfig [$(build-shared) = yes]
21085         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21086         makefiles.
21087         [$(build-shared) = yes && $(soversions.mk-done) = t]
21088         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21089         [$(build-shared) = yes && $(soversions.mk-done) = t]
21090         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21091         to Makerules.
21092         [$(build-shared) = yes && $(soversions.mk-done) = t]
21093         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21094         here.
21095         [$(build-shared) = yes && $(soversions.mk-done) = t]
21096         (common-generated): Don't append gnu/lib-names.h and
21097         gnu/lib-names.stmp here.
21098         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21099         (lib-names-h-abi): New variable.
21100         [$(build-shared) = yes && $(soversions.mk-done) = t]
21101         (lib-names-stmp-abi): Likewise.
21102         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21103         abi-variants] (before-compile): Append
21104         $(common-objpfx)$(lib-names-h-abi).
21105         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21106         abi-variants] (common-generated): Append gnu/lib-names.h.
21107         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21108         abi-variants] (install-others-nosubdir): Depend on
21109         $(inst_includedir)/$(lib-names-h-abi).
21110         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21111         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21112         [$(build-shared) = yes && $(soversions.mk-done) = t]
21113         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21114         [$(build-shared) = yes && $(soversions.mk-done) = t]
21115         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21116         [$(build-shared) = yes && $(soversions.mk-done) = t]
21117         (common-generated): Append $(lib-names-h-abi) and
21118         $(lib-names-stmp-abi).
21119         * scripts/lib-names.awk: Do not handle multi being set.
21120         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21121         Remove variable.
21122         (abi-lp64_be-ld-soname): Likewise.
21123         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21124         Likewise.
21125         (abi-hard-ld-soname): Likewise.
21126         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21127         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21128         Remove variable.
21129         (abi-o32_hard-ld-soname): Likewise.
21130         (abi-o32_soft_2008-ld-soname): Likewise.
21131         (abi-o32_hard_2008-ld-soname): Likewise.
21132         (abi-n32_soft-ld-soname): Likewise.
21133         (abi-n32_hard-ld-soname): Likewise.
21134         (abi-n32_soft_2008-ld-soname): Likewise.
21135         (abi-n32_hard_2008-ld-soname): Likewise.
21136         (abi-n64_soft-ld-soname): Likewise.
21137         (abi-n64_hard-ld-soname): Likewise.
21138         (abi-n64_soft_2008-ld-soname): Likewise.
21139         (abi-n64_hard_2008-ld-soname): Likewise.
21140         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21141         Likewise.
21142         (abi-64-v2-ld-soname): Likewise.
21143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21144         ld.so entries.
21145         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21146         variable.
21147         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21148         entry.
21149         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21150         variable.
21151         (abi-64-ld-soname): Likewise.
21152         (abi-x32-ld-soname): Likewise.
21153         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21154         entry.
21155         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21157 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21159         [BZ #14138]
21160         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21161         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21162         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21163         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21164         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21165         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21166         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21167         syscall entry for GLIBC_2.2 symbol version.
21168         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21169         Likewise.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21171         (setrlimit): Likewise.
21172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21173         Likewise.
21175 2014-09-23  Will Newton  <will.newton@linaro.org>
21177         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21178         _LINUX_ARM_SYSDEP_H include guard too.
21179         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21180         define.
21182 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21184         * sysdeps/unix/sysv/linux/eventfd.c:
21185         Make first argument unsigned.
21186         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21187         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21189 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21191         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21192         * socket/sys/socket.h: Likewise
21193         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21195 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21197         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21199 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21201         * time/tst-ftime.c: New test.
21202         * time/Makefile (tests): Add tst-ftime.
21204 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21206         * soft-fp/extended.h: Fix comment formatting.
21207         * soft-fp/op-1.h: Likewise.
21208         * soft-fp/op-2.h: Likewise.
21209         * soft-fp/op-4.h: Likewise.
21210         * soft-fp/op-8.h: Likewise.
21211         * soft-fp/op-common.h: Likewise.
21212         * soft-fp/soft-fp.h: Likewise.
21214         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21216 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21218         [BZ #6652]
21219         * Makeconfig (soversions-default-setname): Remove variable.
21220         ($(common-objpfx)soversions.i): Don't pass default_setname to
21221         soversions.awk.
21222         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21223         oldest_abi to abi-versions.awk.
21224         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21225         * config.make.in (oldest-abi): Remove variable.
21226         * configure.ac (--enable-oldest-abi): Remove configure option.
21227         * configure: Regenerated.
21228         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21229         text.
21230         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21231         * scripts/soversions.awk: Do not handle default_setname variable.
21232         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21233         variable.
21234         * sysdeps/mach/hurd/configure: Regenerated.
21235         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21236         variable.
21237         * sysdeps/unix/sysv/linux/configure: Regenerated.
21239 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21241         * elf/Makefile (CFLAGS-interp.c): Remove.
21242         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21243         path string.
21244         * elf/interp.c: Include generated runtime-linker.h
21246         * Makerules (lib%.so): Don't include $(+interp) in
21247         prerequisites.
21248         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21249         * dlfcn/eval.c: Remove file.
21251         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21252         macros.
21254         [BZ #17266]
21255         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21256         4.2 and newer.
21258         [BZ #17370]
21259         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21261 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21262             Jakub Jelinek  <jakub@redhat.com>
21264         [BZ #17266]
21265         * libio/stdio.h: Check definition of __fortify_function
21266         instead of __extern_always_inline to include bits/stdio2.h.
21267         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21268         check if __extern_always_inline is defined.
21269         [__USE_MISC || __USE_XOPEN]: Likewise.
21270         [__USE_ISOC99] Likewise.
21271         * misc/sys/cdefs.h (__fortify_function): Define only if
21272         __extern_always_inline is defined.
21273         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21274         __extern_always_inline and __extern_inline only for g++-4.3
21275         and newer or a compatible gcc.
21277 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21279         [BZ #17371]
21280         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21281         last change to handle zero prefix length.
21283 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21285         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21286         _SC_REGEX_VERSION.
21288         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21289         _POSIX_RAW_SOCKETS.
21291 2014-09-13  Allan McRae  <allan@archlinux.org>
21293         * po/ru.po: Update Russian translation from translation project.
21295 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21297         * locale/programs/locale.c (show_locale_vars): Inline local function
21298         into its sole call site.  Clean up some style nits.
21299         (print_item): New function, broken out of ...
21300         (show_info): ... local function here.  Clean up style nits.
21302         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21303         out of ...
21304         (set_class_defaults): ... local function set_default here.
21305         Define set_default as a macro locally to pass constant parameters.
21306         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21307         rather than a shared local.
21309         * stdlib/rpmatch.c (try): New function, broken out of ...
21310         (rpmatch): ... local function here.  Also, prototypify definition.
21312 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21314         * scripts/soversions.awk: Do not handle configuration names.
21315         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21316         vendor and os variables to soversions.awk.
21317         * configure.ac: Do not modify gnu-* host_os.
21318         * configure: Regenerated
21319         * shlib-versions: Remove first column with configuration names.
21320         * nptl/shlib-versions: Likewise.
21321         * nptl_db/shlib-versions: Likewise.
21322         * sysdeps/hppa/shlib-versions: Likewise.
21323         * sysdeps/m68k/shlib-versions: Likewise.
21324         * sysdeps/mach/hurd/shlib-versions: Likewise.
21325         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21326         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21327         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21328         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21329         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21330         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21331         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21332         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21334         Likewise.
21335         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21336         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21337         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21338         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21339         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21340         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21341         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21342         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21345         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21347         Regenerated.
21348         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21350         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21352         * shlib-versions: Remove OS-specific entries.  Moved to files in
21353         sysdeps.
21354         * sysdeps/mach/hurd/shlib-versions: New file.
21355         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21357         * nptl/shlib-versions: Remove architecture-specific entries.
21358         Moved to files in sysdeps.
21359         * shlib-versions: Likewise.
21360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21361         file.
21362         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21363         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21364         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21365         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21367         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21368         (UDP_NO_CHECK6_RX): Likewise.
21370 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21372         * sysdeps/posix/sysconf.c (__sysconf): Spell
21373         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21375 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21377         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21378         loading.
21379         * iconv/Versions (__gconv_transliterate): Export for use from
21380         gconv modules.
21381         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21382         (struct __gconv_trans_data, __gconv_trans_fct,
21383         __gconv_trans_context_fct, __gconv_trans_query_fct,
21384         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21385         definitions.
21386         (struct __gconv_step_data): Remove __trans member.
21387         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21388         longer hidden.  Remove unused trans_data argument.
21389         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21390         (__gconv_translit_find): Remove declaration.
21391         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21392         prototype.
21393         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21394         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21395         trans_data argument.  Add hidden definition.
21396         (__gconv_translit_find): Remove.
21397         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21398         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21399         * iconv/skeleton.c: Remove transliteration initialization.
21400         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21401         __gconv_step_data initialization.
21402         * libio/iofwide.c (__libio_translit_): Remove.
21403         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21404         * wcsmbs/btowc.c (__btowc): Likewise.
21405         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21406         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21407         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21408         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21409         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21410         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21411         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21412         * wcsmbs/wctob.c (wctob): Likewise.
21414 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21416         [BZ #16194]
21417         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21418         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21419         register usage.
21420         * sysdeps/x86/Makefile: Adjust.
21422 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21423             Roland McGrath  <roland@hack.frob.com>
21425         * locale/weight.h: Add include guard.
21426         (findidx): Make static rather than auto; take new parameters
21427         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21428         * locale/weightwc.h: Likewise.
21429         * posix/fnmatch_loop.c
21430         (FCT): Change type of EXTRA from int32_t to wint_t.
21431         Don't include either header inside the function.
21432         Call FINDIDX rather than findidx, and pass new arguments.
21433         #undef FINDIDX at the end of the file.
21434         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21435         FINDIDX before including fnmatch_loop.c for the non-wide version.
21436         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21437         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21438         for the wide version.
21439         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21440         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21441         Pass new arguments to findidx.
21442         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21443         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21444         Don't #include it inside the function.  Pass new arguments to findidx.
21445         * posix/regex_internal.h
21446         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21447         (re_string_elem_size_at): Don't #include it inside the function.
21448         Pass new arguments to findidx.
21449         * string/strcoll_l.c: #include WEIGHT_H at top level.
21450         (get_next_seq): Don't #include it inside the function.
21451         Pass new arguments to findidx.
21452         (get_next_seq_nocache): Likewise.
21453         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21454         (STRXFRM): Don't #include it inside the function.
21455         Pass new arguments to findidx.
21457 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21459         [BZ #17344]
21460         * malloc/malloc.c (unlink): Turn asserts into a call to
21461         malloc_printerr.
21463 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21465         [BZ #17370]
21466         * libio/wfileops (do_ftell_wide): Free OUT.
21468 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21470         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21472 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21474         [BZ #17363]
21475         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21476         group if the current group is empty.
21478 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21480         * benchtests/bench-memset.c (test_main): Add more test from size
21481         from 32 to 512 bytes.
21482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21483         Add POWER8 memset object.
21484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21485         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21486         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21487         implementation.
21488         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21489         Likewise.
21490         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21491         multiarch POWER8 memset optimization.
21492         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21493         POWER8 memset optimization.
21495         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21496         Remove bzero multiarch objects.
21497         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21500         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21501         Remove define.
21502         [__bzero]: Redefine to specific name.
21503         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21504         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21505         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21506         define.
21507         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21508         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21510 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21512         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21513         warnings into errors.
21515         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21516         __cxa_thread_atexit_impl prototype.
21518 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21520         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21521         Fix capitalization of error message.
21523 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21525         * sysdeps/mips/preconfigure: Modify ABI tests.
21527 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21529         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21531 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21532             Carlos O'Donell  <carlos@systemhalted.org>
21534         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21535         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21536         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21537         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21538         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21539         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21540         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21541         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21542         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21543         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21545         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21547         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21549         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21550         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21551         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21552         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21553         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21554         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21555         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21556         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21557         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21558         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21559         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21560         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21561         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21562         Deconditionalize the code that was previously under [RESET_PID].
21563         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21564         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21565         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21566         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21567         include sysdep.h.
21569 2014-09-08  Allan McRae  <allan@archlinux.org>
21571         * version.h (RELEASE): Set to "development".
21572         (VERSION): Set to "2.20.90"
21574 2014-09-07  Allan McRae  <allan@archlinux.org
21576         * version.h (RELEASE): Set to "stable".
21577         (VERSION): Set to "2.20"
21578         * include/features.h (__GLIBC_MINOR__): Set to 20.
21580         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21581         Liebler.
21583         * po/ko.po: Update Korean translation from translation project.
21585 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21587         [BZ #17354]
21588         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21589         macro for handling signed relocations.
21591 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21593         [BZ #17325]
21594         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21595         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21596         assert.
21597         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21598         * iconvdata/ibm935.c (BODY): Likewise.
21599         * iconvdata/ibm937.c (BODY): Likewise.
21600         * iconvdata/ibm939.c (BODY): Likewise.
21601         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21602         assert.
21603         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21604         script.
21605         * iconvdata/run-iconv-test.sh: New test loop for checking for
21606         decoder crashers.
21608 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21610         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21611         libm_hidden_ver.
21613 2014-09-01  Allan McRae  <allan@archlinux.org>
21615         * po/eo.po: Update Esperanto translation from translation project.
21617         * po/ca.po: Update Catalan translation from translation project.
21619 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21621         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21622         __proc_dostop call.
21624 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21626         [BZ #17319]
21627         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21628         to call set_thread_area instead of hand written asm.
21629         (__NR_set_thread_area): Removed define.
21630         (TLS_FLAG_WRITABLE): Likewise.
21631         (__ASSUME_SET_THREAD_AREA): Remove check.
21632         (TLS_EBX_ARG): Remove define.
21633         (TLS_LOAD_EBX): Likewise.
21635 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21637         Simplify atomicity of socket creation in bind.
21639         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21640         looking up the name after linking the file.
21642 2014-08-27  Allan McRae  <allan@archlinux.org>
21644         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21646 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21648         [BZ #17187]
21649         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21650         trans_compare, open_translit, __gconv_translit_find):
21651         Remove module loading code.
21653 2014-08-26  Allan McRae  <allan@archlinux.org>
21655         * po/vi.po: Update Vietnamese translation from translation project.
21657         * po/uk.po: Update Ukrainian translation from translation project.
21659         * po/fr.po: Update French translation from translation project.
21661         * po/ru.po: Update Russian translation from translation project.
21663         * po/pl.po: Update Polish translation from translation project.
21665         * po/cs.po: Update Czech translation from translation project.
21667         * po/de.po: Update German translation from translation project.
21669         * po/bg.po: Update Bulgarian translation from translation project.
21671         * po/sv.po: Update Sweedish translation from translation project.
21673         * po/nl.po: Update Dutch translation from translation project.
21675         * po/es.po: Update Spanish translation from translation project.
21677 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21679         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21681         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21682         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21683         (CPPFLAGS-iconvconfig): Likewise.
21684         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21686         * include/libc-symbols.h: Remove unnecessary check for
21687         NOT_IN_libc.
21688         * nptl/pthreadP.h: Likewise.
21689         * sysdeps/aarch64/setjmp.S: Likewise.
21690         * sysdeps/alpha/setjmp.S: Likewise.
21691         * sysdeps/arm/sysdep.h: Likewise.
21692         * sysdeps/i386/setjmp.S: Likewise.
21693         * sysdeps/m68k/setjmp.c: Likewise.
21694         * sysdeps/posix/getcwd.c: Likewise.
21695         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21696         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21697         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21698         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21699         * sysdeps/sh/sh3/setjmp.S: Likewise.
21700         * sysdeps/sh/sh4/setjmp.S: Likewise.
21701         * sysdeps/unix/alpha/sysdep.h: Likewise.
21702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21703         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21704         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21705         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21710         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21713         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21715         * sysdeps/x86_64/setjmp.S: Likewise.
21717 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21719         [BZ #17263]
21720         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21721         <stdint.h>.
21722         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21723         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21725 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21727         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21729         [BZ #17262]
21730         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21731         and __x86_64__ when disabling x87 inline functions.
21733 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21735         [BZ #17259]
21736         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21737         asm statement with __cpuid_count.
21739 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21741         * configure.ac: Change __ehdr_start code to dereference the struct.
21742         Run readelf on the output to look for relocations.
21743         * configure: Regenerated.
21745 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21747         [BZ #17261]
21748         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21749         value to 0.
21750         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21752 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21754         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21756 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21758         [BZ #16892]
21759         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21760         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21762 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21764         * malloc/malloc.c: Fix typo in comment.
21766 2014-08-09  Allan McRae  <allan@archlinux.org>
21768         * Regenerate libc.po.
21770 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21772         * intl/tst-gettext2.sh: Check every lang file for creation.
21774 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21776         * sysdeps/aarch64/fpu/math_private.h
21777         (libc_feholdsetround_noex_aarch64_ctx): New function.
21779 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21781         * sysdeps/arm/armv6/strcpy.S (strcpy):
21782         Fix performance issue in misaligned cases.
21784 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21786         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21787         Move definition from termios.h.
21788         (struct termio): Likewise.
21789         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21790         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21791         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21792         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21793         Likewise.
21794         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21795         Move definition to ioctl-types.h
21796         (struct termio): Likewise.
21797         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21798         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21799         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21800         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21801         Likewise.
21803 2014-08-05  Richard Henderson  <rth@redhat.com>
21805         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21806         exceptions.
21807         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21808         Add fraiseexcpt.
21809         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21810         Use __feraiseexcept.
21811         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21812         Protect libm symbols with IS_IN_libm.
21814         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21816 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21818         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21820 2014-08-04  Will Newton  <will.newton@linaro.org>
21822         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21823         file.
21825 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21827         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21828         variants for each function.
21830 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21832         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21833         appended ...
21834         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21835         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21836         appended ...
21837         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21838         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21839         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21840         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21841         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21842         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21843         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21844         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21845         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21846         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21847         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21848         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21849         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21850         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21851         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21852         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21853         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21854         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21855         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21856         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21857         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21858         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21859         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21860         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21861         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21862         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21863         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21864         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21865         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21866         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21867         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21868         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21869         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21870         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21871         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21872         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21873         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21874         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21875         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21876         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21877         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21878         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21879         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21880         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21881         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21882         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21883         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21884         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21885         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21886         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21887         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21888         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21889         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21890         Update #include.
21891         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21892         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21894 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21896         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21897         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21898         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21899         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21900         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21901         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21903 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21905         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21906         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21907         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21908         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21910 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21912         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21913         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21914         (__libc_vfork): Define function under this name.
21915         (__vfork): Define as an alias.
21916         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21917         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21919 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21921         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21922         that was previously under [RESET_PID].
21923         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21925 2014-08-04  Andreas Schwab  <schwab@suse.de>
21927         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21929 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21931         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21932         (main): Likewise.
21934 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21936         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21938 2014-08-01  Richard Henderon  <rth@redhat.com>
21940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21941         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21942         typo in exact zero test.
21943         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21944         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21947 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21949         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21950         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21951         * sysdeps/arm/sysdep.h: ... here.
21952         [!__ASSEMBLER__]: Include <stdint.h>.
21954 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21956         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21957         (HAVE_WCTYPE_H): Likewise.
21958         (HAVE_ISWCTYPE): Likewise.
21959         (ENABLE_NLS): Likewise.
21960         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21961         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21963         * posix/regex_internal.c: Check if DEBUG is defined and is
21964         set.
21966         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21967         (HAVE_MBSRTOWCS): Likewise.
21968         * posix/fnmatch.c: Include string.h unconditionally.
21970 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21972         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21973         reversal.
21975 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21977         * sysdeps/generic/safe-fatal.h: New file.
21978         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21979         * nptl/forward.c: Include it.
21980         (__pthread_unwind): Use __safe_fatal as default action, rather
21981         than a bogus use of INTERNAL_SYSCALL that could never work.
21983         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21984         * configure.ac (libc_cv_builtin_trap): New test.
21985         * configure: Regenerated.
21986         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21987         (ABORT_INSTRUCTION): Define using __builtin_trap.
21989         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21990         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21991         * sysdeps/nptl/nptl-signals.h: New file.
21992         * nptl/pthreadP.h: Include <nptl-signals.h>.
21994 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21996         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21997         (ONE_DIRECTION): Define.
21998         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21999         (ONE_DIRECTION): Define.
22000         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22001         (ONE_DIRECTION): Define.
22003 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22005         * sysdeps/s390/Makefile: Delete file.
22006         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22007         * sysdeps/s390/__longjmp.c: Delete file.
22008         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22009         Remove fields __flags and __reserved.
22010         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22011         and add versioning.
22012         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22013         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22014         * sysdeps/s390/rtld-setjmp.S: Likewise.
22015         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22016         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22017         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22018         * sysdeps/s390/s390-32/setjmp.S: ... here.
22019         Add versioning.
22020         (__sigsetjmp): Remove setting __flags field.
22021         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22022         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22023         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22024         * sysdeps/s390/s390-64/setjmp.S: ... here.
22025         Add versioning.
22026         (__sigsetjmp): Remove setting __flags field.
22027         * sysdeps/s390/setjmp.S: Delete file.
22028         * sysdeps/s390/sigjmp.c: Likewise.
22029         * sysdeps/s390/v1-longjmp.c: Likewise.
22030         * sysdeps/s390/v1-setjmp.h: Likewise.
22031         * sysdeps/s390/v1-sigjmp.c: Likewise.
22032         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22033         Remove v1-longjmp_chk.
22034         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22035         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22036         Include debug/longjmp_chk.c and add versioning.
22037         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22038         Include nptl/pt-longjmp.c and add versioning.
22039         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22040         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22041         Include __longjmp.c.
22042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22043         Move to ...
22044         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22045         (__getcontext): Remove setting __flags field.
22046         Add versioning.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22048         Don't restore upper high grps.
22049         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22050         Likewise.
22051         (__swapcontext): Remove setting uc_flags field.
22052         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22053         Delete file.
22054         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22055         Include __longjmp.c.
22056         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22057         Move to ...
22058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22059         (__getcontext): Remove setting __flags field.
22060         Add versioning.
22061         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22062         (__swapcontext): Remove setting uc_flags field.
22063         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22064         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22065         Remove fields uc_high_gprs and __reserved.
22066         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22067         New file with reverted content.
22068         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22069         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22070         Regenerated.
22071         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22072         Regenerated.
22074 2014-07-31  Andreas Schwab  <schwab@suse.de>
22076         * config.h.in (HAVE_IFUNC): Define to 0.
22077         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22078         definedness.
22080 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22083         memmove-avx-unaligned, memcpy-avx-unaligned and
22084         mempcpy-avx-unaligned.
22085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22086         Add tests for AVX memcpy functions.
22087         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22088         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22089         memcpy_chk.
22090         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22091         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22092         memmove_chk.
22093         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22094         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22095         mempcpy_chk.
22096         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22097         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22098         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22100 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22102         [BZ #17213]
22103         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22104         powerpc64le.
22106 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22108         [BZ #16839]
22109         * manual/llio.texi: Add section about open file description locks.
22110         * manual/examples/ofdlocks.c: Example of open file description
22111         lock usage.
22112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22113         F_OFD_SETLK, and F_OFD_SETLKW.
22115 2014-07-23  Allan McRae  <allan@archlinux.org>
22117         * po/es.po: Update Spanish translation from translation project.
22119 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22121         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22123 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22125         [BZ #17078]
22126         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22127         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22128         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22130 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22132         [BZ #17088]
22133         * math/fesetenv.c (__fesetenv)
22134         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22135         * math/feupdateenv.c (__feupdateenv)
22136         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22138         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22139         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22140         (__ASSUME_SOCKETCALL): Do not define.
22142         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22143         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22144         (__ASSUME_SOCKETCALL): Do not define.
22145         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22146         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22147         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22148         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22149         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22150         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22152         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22154         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22155         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22156         (__ASSUME_SOCKETCALL): Do not define.
22157         (__ASSUME_IPC64): Define unconditionally.
22158         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22159         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22160         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22161         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22162         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22163         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22164         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22165         Likewise.
22167         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22168         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22169         (__ASSUME_SOCKETCALL): Do not define.
22170         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22171         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22172         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22173         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22174         (__ASSUME_REQUEUE_PI): Define unconditionally.
22175         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22176         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22177         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22178         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22179         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22180         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22182         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22183         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22184         (__ASSUME_SOCKETCALL): Do not define.
22185         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22187         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22188         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22190         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22192         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22193         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22194         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22195         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22197         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22199         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22200         (__ASSUME_GETCPU_SYSCALL): Likewise.
22202         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22203         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22204         cases for individual architectures.
22205         * sysdeps/gnu/configure: Regenerated.
22206         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22207         LIBC_SLIBDIR_RTLDDIR.
22208         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22209         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22210         LIBC_SLIBDIR_RTLDDIR.
22211         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22213         LIBC_SLIBDIR_RTLDDIR.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22215         Regenerated.
22216         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22217         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22218         file.
22219         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22220         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22221         file.
22222         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22223         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22224         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22225         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22227         * sysdeps/aarch64/shlib-versions: Move to ...
22228         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22229         * sysdeps/alpha/shlib-versions: Move to ...
22230         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22231         * sysdeps/arm/shlib-versions: Move to ...
22232         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22233         * sysdeps/hppa/shlib-versions: Move all contents except for
22234         libgcc_s entry to ...
22235         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22236         entry from ...
22237         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22238         * sysdeps/ia64/shlib-versions: Move to ...
22239         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22240         entry from ...
22241         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22242         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22243         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22244         * sysdeps/microblaze/shlib-versions: Move to ...
22245         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22246         * sysdeps/mips/shlib-versions: Move to ...
22247         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22248         entry from ...
22249         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22250         * sysdeps/tile/shlib-versions: Move to ...
22251         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22252         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22253         from ...
22254         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22255         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22256         entry from ...
22257         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22259 2014-07-17  Will Newton  <will.newton@linaro.org>
22261         * sysdeps/arm/bits/atomic.h
22262         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22263         (__arch_compare_and_exchange_bool_16_int): Likewise.
22264         (__arch_compare_and_exchange_bool_64_int): Likewise.
22266         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22267         into an #else block.
22269 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22271         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22272         just Linux configurations.  Test empirically that the compiler sets
22273         __ARM_EABI__, rather than using the tuple to decide.
22274         * sysdeps/arm/preconfigure: Regenerated.
22275         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22276         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22277         contents appended ...
22278         * sysdeps/arm/configure.ac: ... here.
22279         * sysdeps/arm/configure: Regenerated.
22281 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22283         * nptl/pthread_kill.c: New file.
22284         * nptl/pthread_sigmask.c: New file.
22285         * nptl/pthread_sigqueue.c: New file.
22287         * sysdeps/nptl/lowlevellock.h: New file.
22288         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22289         * sysdeps/nptl/lowlevellock-futex.h: New file.
22291         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22292         Remove dead declarations.
22294 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22296         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22297         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22298         config-cflags-avx2.
22299         * sysdeps/x86_64/configure.ac: Likewise.
22300         * sysdeps/i386/configure: Regenerated.
22301         * sysdeps/x86_64/configure: Likewise.
22302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22303         memset-avx2 only if config-cflags-avx2 is yes.
22304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22305         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22306         defined.
22307         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22308         only if HAVE_AVX2_SUPPORT is defined.
22309         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22311 2014-07-14  Alan Modra  <amodra@gmail.com>
22313         [BZ #17153]
22314         * elf/elf.h (DT_PPC64_NUM): Correct value.
22315         * NEWS: Add to fixed bug list.
22317 2014-07-13  Jim Meyering  <meyering@fb.com>
22319         [BZ 17150]
22320         regex: don't deref NULL upon heap allocation failure
22321         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22322         failure in one more place.
22323         To trigger the segfault, configure grep -with-included-regex,
22324         build it, and run these commands:
22325         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22327 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22329         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22331 2014-07-11  Richard Henderson  <rth@redhat.com>
22333         * sysdeps/aarch64/libm-test-ulps: Update.
22335 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22337         [BZ #17135]
22338         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22339         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22340         (__nptl_setxid): Initialize error member.  Call
22341         __nptl_setxid_error.
22342         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22343         * nptl/descr.h (struct xid_command): Add error member.
22344         * nptl/tst-setuid3.c: New file.
22345         * nptl/Makefile (tests): Add it.
22347 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22349         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22350         New define.
22351         (__lll_trylock): Use __lll_base_trylock.
22352         (__lll_cond_trylock): Likewise.
22354 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22356         * nptl/pthread_create.c (start_thread): Use atomic_or and
22357         lll_futex_wake directly rather than lll_robust_dead.
22358         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22359         (lll_robust_dead): Macro removed.
22360         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22361         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22362         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22363         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22364         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22365         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22366         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22367         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22368         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22369         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22370         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22373         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22374         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22376         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22377         Use atomic_compare_and_exchange_val_acq directly rather than
22378         lll_robust_trylock.
22379         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22380         (__lll_robust_trylock, lll_robust_trylock): Removed.
22381         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22382         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22385         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22386         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22387         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22388         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22391         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22392         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22396 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22398         * manual/locale.texi (Locale Names): New section documenting
22399         locale name syntax.  Adjust menu and node chaining accordingly.
22400         (Choosing Locale): Reference Locale Names, Locale Categories.
22401         Mention setting LC_ALL=C.  Reflect that name syntax is now
22402         documented.
22403         (Locale Categories): New section title.  Reference Locale Names.
22404         LC_ALL is an environment variable, but not a category.
22405         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22406         description, now in Locale Name.  Reference that section.  Locale
22407         name syntax is now documented.
22409 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22411         [BZ #17137]
22412         * locale/findlocale.c (name_present, valid_locale_name): New
22413         functions.
22414         (_nl_find_locale): Use the loc_name variable to store name
22415         candidates.  Call name_present and valid_locale_name to check and
22416         validate locale names.  Return an error if the locale is invalid.
22418 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22420         * locale/setlocale.c (setlocale): Use strdup for allocating
22421         composite name copy.
22423 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22425         Sync up with gnulib.
22426         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22427         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22428         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22429         and _GL_ARG_NONNULL.
22430         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22431         [!_LIBC]: Include code for Windows and Cygwin.
22432         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22433         Include prototype for int strerror_r.
22434         [!_LIBC] (is_open): New function.
22435         (flush_stdout): New function.
22436         (print_errno_message): Use it.
22437         (error): Likewise.
22438         (error_at_line): Likewise.
22439         (error_tail) Add function attribute macros.  Use
22440         __builtin_expect.
22442         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22444         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22446         * io/ftw.c: Include sys/param.h unconditionally.
22448         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22450         [BZ #17125]
22451         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22452         libc_freeres_ptr.
22453         (freecache): New function to free CACHE on exit.
22455         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22456         initialization.
22458 2014-07-09  David S. Miller  <davem@davemloft.net>
22460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22462         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22463         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22464         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22465         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22466         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22467         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22468         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22469         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22470         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22471         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22472         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22473         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22474         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22476 2014-07-09  Andreas Schwab  <schwab@suse.de>
22478         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22479         output.
22480         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22481         (do_test): Likewise.
22483         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22485 2014-07-09  Will Newton  <will.newton@linaro.org>
22487         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22488         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22489         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22490         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22491         * sysdeps/hppa/start.S (_start): Likewise.
22493 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22495         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22497         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22498         defined.
22500 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22503         after checking that it is non-NULL.
22505         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22507 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22509         * sysdeps/powerpc/memmove.c: Remove file.
22510         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22511         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22512         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22513         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22514         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22515         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22516         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22517         string memmove instead of removed powerpc one.
22519         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22520         [weak_alias]: Fix compiler warning due trailing data.
22521         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22522         [weak_alias]: Likewise.
22523         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22524         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22527         (__libc_ifunc_impl_list): Add memmove functions.
22529 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22531         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22532         Remove code.
22533         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22534         Likewise
22535         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22536         Likewise
22537         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22538         Likewise
22539         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22540         Likewise
22541         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22542         Likewise
22543         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22544         Likewise
22545         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22546         Likewise
22547         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22548         Likewise
22549         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22550         Likewise
22551         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22552         Likewise
22553         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22554         Likewise
22555         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22556         Likewise
22557         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22558         Likewise
22559         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22560         Likewise
22561         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22562         Likewise
22563         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22564         Likewise
22566 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22568         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22569         to avoid alignment traps in non-cacheable memory.
22570         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22573         multiarch objects.
22574         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22575         file: multiarch power7 memmove.
22576         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22577         multiarch default memmove.
22578         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22579         multiarch memove for powerpc32/power4.
22581         * string/bcopy.c: Use full path to include memmove.c.
22582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22583         multiarch objects.
22584         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22585         bcopy for powerpc64.
22586         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22587         bcopy for powerpc64.
22588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22589         and memmove implementations.
22590         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22591         optimized multiarch memmove for POWER7/powerpc64.
22592         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22593         default multiarch memmove for powerpc64.
22594         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22595         multiarch for powerpc64.
22596         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22597         for POWER7/powerpc64.
22598         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22599         memmove for POWER7/powerpc64.
22601         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22602         glibc default one.
22604         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22605         __ELF_NATIVE_CLASS equal to 64.
22607 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22609         * sysdeps/nptl/lowlevellock.h: File removed.
22611         * NEWS: NPTL is no longer an add-on!
22612         * nptl/internaltypes.h: Moved ...
22613         * sysdeps/nptl/internaltypes.h: ... here.
22614         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22615         * sysdeps/nptl/fork.c: Likewise.
22616         * sysdeps/nptl/gai_misc.h: Likewise.
22617         * sysdeps/nptl/librt-cancellation.c: Likewise.
22618         * sysdeps/nptl/jmp-unwind.c: Likewise.
22619         * sysdeps/nptl/setxid.h: Likewise.
22620         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22621         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22622         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22623         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22624         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22625         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22626         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22627         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22628         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22629         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22630         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22631         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22632         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22633         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22634         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22635         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22636         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22637         * nptl/Makeconfig: Moved ...
22638         * sysdeps/nptl/Makeconfig: ... here.
22639         * nptl/configure: File removed.
22640         * nptl/ANNOUNCE: File removed.
22641         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22642         * sysdeps/unix/sysv/linux/configure: Regenerated.
22644         * nptl/Makefile (routines): Add libc_pthread_init,
22645         libc_multiple_threads, register-atfork and unregister-atfork.
22646         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22647         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22648         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22649         pthread-pi-defines.sym, structsem.sym.
22650         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22651         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22652         [$(subdir) = nptl] (tests): Add tst-setgetname.
22653         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22654         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22655         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22656         [!LIBC_SIGACTION]: Remove aliases.
22657         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22658         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22659         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22660         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22661         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22662         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22663         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22664         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22665         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22666         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22667         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22668         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22669         __libc_allocate_rtsig_private.
22670         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22671         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22672         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22673         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22674         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22675         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22676         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22677         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22678         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22679         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22680         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22681         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22682         * nptl/internaltypes.h: ... here.
22683         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22684         * sysdeps/nptl/jmp-unwind.c: ... here.
22685         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22686         * nptl/libc-lowlevellock.c: ... here.
22687         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22688         * nptl/libc_multiple_threads.c: ... here.
22689         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22690         * nptl/libc_pthread_init.c: ... here.
22691         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22692         * nptl/lowlevelbarrier.sym: ... here.
22693         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22694         * nptl/lowlevelcond.sym: ... here.
22695         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22696         * nptl/lowlevellock.c: ... here.
22697         * nptl/lowlevellock.h: Moved ...
22698         * sysdeps/nptl/lowlevellock.h: ... here.
22699         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22700         * nptl/lowlevelrobustlock.c: ... here.
22701         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22702         * nptl/lowlevelrobustlock.sym: ... here.
22703         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22704         * nptl/lowlevelrwlock.sym: ... here.
22705         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22706         * nptl/pt-fork.c: ... here.
22707         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22708         * nptl/pthread-pi-defines.sym: ... here.
22709         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22710         * nptl/pthread_attr_getaffinity.c: ... here.
22711         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22712         * nptl/pthread_attr_setaffinity.c: ... here.
22713         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22714         * nptl/pthread_mutex_cond_lock.c: ... here.
22715         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22716         Update #include.
22717         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22718         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22719         * nptl/pthread_once.c: ... here, replacing old file.
22720         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22721         * nptl/pthread_yield.c: ... here.
22722         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22723         * nptl/register-atfork.c: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22725         * nptl/sem_post.c: ... here.
22726         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22727         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22728         * nptl/sem_timedwait.c: ... here.
22729         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22730         * nptl/sem_trywait.c: ... here.
22731         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22732         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22733         * nptl/sem_wait.c: ... here.
22734         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22735         * nptl/structsem.sym: ... here.
22736         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22737         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22738         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22739         * nptl/unregister-atfork.c: ... here.
22740         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22741         * nptl/unwindbuf.sym: ... here.
22742         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22743         * sysdeps/nptl/fork.c: ... here.
22744         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22745         * sysdeps/nptl/fork.h: ... here.
22746         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22747         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22748         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22749         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22750         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22751         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22752         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22754         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22756         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22757         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22758         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22759         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22760         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22761         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22762         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22763         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22764         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22765         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22766         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22767         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22768         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22769         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22770         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22771         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22772         * sysdeps/unix/sysv/linux/raise.c: ... here.
22773         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22774         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22775         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22776         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22777         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22778         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22779         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22780         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22781         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22782         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22783         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22784         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22785         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22786         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22787         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22789 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791         * sysdeps/generic/memcopy.h: Add comment for
22792         MEMCPY_OK_FOR_FWD_MEMMOVE.
22794 2014-07-04  Will Newton  <will.newton@linaro.org>
22796         * string/memchr.c: Merge from gnulib.
22797         [_LIBC]: Remove conditionals.
22798         (__ptr_t): Remove define.
22799         (LONG_MAX_32_BITS): Likewise.
22800         (LONG_MAX): Likewise.
22801         (MEMCHR): Use ANSI prototype and optimize algorithm.
22803         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22805 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22807         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22808         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22810         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22811         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22812         in a bare environment with no <stdlib.h> installed.
22813         * sysdeps/nptl/configure: Regenerated.
22815         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22817         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22818         AC_EGREP_CPP for kernel header checks, so they only succeed if
22819         including <linux/version.h> actually works right.
22820         * sysdeps/unix/sysv/linux/configure: Regenerated.
22822         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22823         value so it's not diagnosed as unused.
22825         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22826         thing) with "ifeq ($(subdir),rt)".
22828 2014-07-03  Richard Henderson  <rth@redhat.com>
22830         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22831         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22832         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22834         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22835         (math_force_eval): New.
22837         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22838         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22840         * sysdeps/alpha/fpu/s_round.c: Remove file.
22841         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22843         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22844         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22845         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22846         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22847         (_dl_start, print_statistics): Likewise.
22848         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22849         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22851         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22852         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22853         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22854         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22856         (HP_SMALL_TIMING_AVAIL): Define.
22857         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22858         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22859         (HP_SMALL_TIMING_AVAIL): Define.
22860         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22861         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22863         * sysdeps/aarch64/hp-timing.h: New file.
22865         * sysdeps/generic/hp-timing.h: Remove dead comment.
22866         * sysdeps/generic/hp-timing-common.h: New file.
22867         * sysdeps/alpha/hp-timing.h: Include it.
22868         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22869         * sysdeps/i386/i686/hp-timing.h: Likewise.
22870         * sysdeps/ia64/hp-timing.h: Likewise.
22871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22872         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22873         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22874         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22875         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22876         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22877         (hp_timing_t): New.
22879         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22880         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22881         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22882         * elf/rtld.c (_dl_start_final): Likewise.
22883         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22884         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22885         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22886         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22887         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22889         (HP_TIMING_DIFF_INIT): Remove.
22890         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22891         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22892         (HP_TIMING_DIFF_INIT): Remove.
22893         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22894         * sysdeps/i386/i686/hp-timing.c: Remove file.
22895         * sysdeps/x86_64/hp-timing.c: Remove file.
22896         * sysdeps/ia64/hp-timing.c: Remove file.
22897         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22898         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22899         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22900         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22902         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22903         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22904         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22905         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22906         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22907         (HP_TIMING_ACCUM): Remove.
22908         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22909         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22910         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22912         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22913         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22914         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22915         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22916         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22917         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22919         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22921         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22923 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22925         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22927 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22929         Sync up with gettext.
22930         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22931         [_MSC_VER]: Include malloc.h
22932         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22933         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22934         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22935         TEMP_FAILURE_RETRY.  Cast return of alloca.
22936         [!_LIBC] Call gl_rwlock_init.
22937         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22939 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22941         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22942         before checking its value.
22944 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22946         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22948         * debug/memcpy_chk.c: Don't include pagecopy.h.
22949         * debug/mempcpy_chk.c: Likewise.
22950         * string/memcpy.c: Likewise.
22951         * string/memmove.c: Likewise.
22952         * sysdeps/powerpc/memmove.c: Likewise.
22953         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22954         definition of PAGE_COPY_FWD_MAYBE here...
22955         * sysdeps/generic/pagecopy.h: ... from here.
22956         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22958 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22959             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22961         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22963         optimizations.
22964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22965         (__libc_ifunc_impl_list): Likewise.
22966         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22967         multiarch strcat for PPC64.
22968         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22969         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22971 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22973         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22975 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22977         * intl/loadmsgcat.c: Remove declaration of
22978         get_sysdep_segment_value.
22979         (get_sysdep_segment_value): Use ISO C style.
22980         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22981         semicolon.  Fix typo and formatting in comment.
22982         (_nl_unload_domain): Use ISO C style.
22984         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22986 2014-07-02  Will Newton  <will.newton@linaro.org>
22988         * malloc/obstack.c: Merge from gnulib master.
22989         [HAVE_CONFIG_H]: Remove conditional code.
22990         [!_LIBC]: Include config.h.
22991         [!ELIDE_CODE]: Don't include inttypes.h, include
22992         stdint.h unconditionally.
22993         (print_and_abort): Mark as _Noreturn.
22994         (_obstack_allocated_p): Mark as __attribute_pure__.
22995         (obstack_free): Rename to __obstack_free.
22996         [!__attribute__]: Remove conditional code.
22997         * malloc/obstack.h: Merge from gnulib master.
22998         [__cplusplus]: Move conditional down.
22999         [!__attribute_pure__]: Define __attribute_pure__ here
23000         if it is not already defined.
23001         (_obstack_memory_used): Mark as __attribute_pure__.
23002         [!__obstack_free]: Define as obstack_free.
23003         [__GNUC__]: Remove check for ancient NeXT gcc.
23005 2014-07-02  Will Newton  <will.newton@linaro.org>
23006             Paul Eggert  <eggert@cs.ucla.edu>
23008         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23010 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23012         * resolv/gethnamaddr.c: Add comment warning that the file is
23013         not maintained.
23015 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23017         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23018         entries.
23020         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23021         entry for aio_cancel and aio_cancel64.
23022         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23023         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23024         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23025         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23026         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23027         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23028         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23029         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23030         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23031         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23032         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23033         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23034         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23036 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23038         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23039         * nptl/pthread_mutex_lock.c: Likewise.
23040         * nptl/pthread_mutex_timedlock.c: Likewise.
23041         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23043 2014-07-01  Richard henderson  <rth@redhat.com>
23045         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23046         (__isnan, __isnanl): Remove.
23047         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23049         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23051 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23053         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23055 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23057         * resolv/nss_dns/dns-host.c (getanswer_r)
23058         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23060 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23063         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23064         undefine.
23065         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23066         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23068 2014-07-01  Roland McGrath <roland@hack.frob.com>
23070         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23071         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23073         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23074         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23076         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23077         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23078         ... here.
23079         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23080         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23082         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23083         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23084         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23085         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23087         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23088         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23089         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23090         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23091         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23092         Moved ...
23093         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23094         ... here.
23095         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23096         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23097         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23098         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23099         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23100         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23101         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23102         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23103         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23104         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23105         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23106         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23107         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23108         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23109         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23110         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23111         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23112         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23113         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23114         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23115         ... here.
23116         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23118         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23119         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23120         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23121         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23122         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23123         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23125 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23127         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23128         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23129         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23130         Add sysdep.
23132 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23136 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23138         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23139         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23141         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23143         * sysdeps/arm/libm-test-ulps: Regenerated.
23145 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23146             Roland McGrath <roland@hack.frob.com>
23148         * test-skeleton.c (signal_handler): Kill the whole process group
23149         before killing the child individually.
23150         (main): Report any failure on `setpgid'.
23152 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23155         from _TLS_H to _ARM_NPTL_TLS_H.
23156         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23157         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23159 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23161         [BZ #16539]
23162         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23163         (__expm1l): Return argument unchanged when small but not
23164         subnormal.
23166         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23167         include macro name.
23168         (_FP_UNPACK_RAW_1_P): Likewise.
23169         (_FP_PACK_RAW_1): Likewise.
23170         (_FP_PACK_RAW_1_P): Likewise.
23171         (_FP_MUL_MEAT_1_wide): Likewise.
23172         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23173         (_FP_MUL_MEAT_1_hard): Likewise.
23174         (_FP_DIV_MEAT_1_imm): Likewise.
23175         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23176         (_FP_DIV_MEAT_1_udiv): Likewise.
23177         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23178         (_FP_UNPACK_RAW_2): Likewise.
23179         (_FP_UNPACK_RAW_2_P): Likewise.
23180         (_FP_PACK_RAW_2): Likewise.
23181         (_FP_PACK_RAW_2_P): Likewise.
23182         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23183         (_FP_MUL_MEAT_2_wide): Likewise.
23184         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23185         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23186         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23187         (_FP_MUL_MEAT_2_gmp): Likewise.
23188         (_FP_DIV_MEAT_2_udiv): Likewise.
23189         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23190         (_FP_FRAC_SRL_4): Likewise.
23191         (_FP_FRAC_SRST_4): Likewise.
23192         (_FP_FRAC_SRS_4): Likewise.
23193         (_FP_UNPACK_RAW_4): Likewise.
23194         (_FP_UNPACK_RAW_4_P): Likewise.
23195         (_FP_PACK_RAW_4): Likewise.
23196         (_FP_PACK_RAW_4_P): Likewise.
23197         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23198         (_FP_MUL_MEAT_4_wide): Likewise.
23199         (_FP_MUL_MEAT_4_gmp): Likewise.
23200         (umul_ppppmnnn): Likewise.
23201         (_FP_DIV_MEAT_4_udiv): Likewise.
23202         (__FP_FRAC_ADD_4): Likewise.
23203         (__FP_FRAC_SUB_3): Likewise.
23204         (__FP_FRAC_SUB_4): Likewise.
23205         (__FP_FRAC_DEC_3): Likewise.
23206         (__FP_FRAC_DEC_4): Likewise.
23207         (__FP_FRAC_ADDI_4): Likewise.
23208         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23209         (_FP_FRAC_SRL_8): Likewise.
23210         (_FP_FRAC_SRS_8): Likewise.
23212         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23213         include macro name.
23214         (FP_UNPACK_RAW_EP): Likewise.
23215         (FP_PACK_RAW_E): Likewise.
23216         (FP_PACK_RAW_EP): Likewise.
23217         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23218         (_FP_ISSIGNAN): Likewise.
23219         (_FP_ADD_INTERNAL): Likewise.
23220         (_FP_FMA): Likewise.
23221         (_FP_CMP): Likewise.
23222         (_FP_SQRT): Likewise.
23223         (_FP_TO_INT): Likewise.
23224         (_FP_FROM_INT): Likewise.
23225         (FP_EXTEND): Likewise.
23226         (_FP_DIV_MEAT_N_loop): Likewise.
23228 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23230         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23231         throughout.
23233 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23235         [BZ #17097]
23236         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23237         result with correct sign in case of exponents that produce
23238         overflow except for X very close to 1.
23240 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23242         mktime: merge #if/#ifdef usage from glibc
23243         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23244         as that works with both Glibc's and Gnulib's style.
23245         See thread starting at Siddhesh Poyarekar's bug report at:
23246         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23248 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23250         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23251         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23252         * sysdeps/tile/tilegx/memmove.c: Remove file.
23254 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23256         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23257         abi-name definition.
23258         * scripts/soversions.awk: Do not handle or generate ABI lines.
23259         * shlib-versions: Remove ABI entries.
23260         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23261         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23263 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23266         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23267         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23268         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23270         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23272         Moved ...
23273         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23274         ... here.
23275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23276         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23278         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23280         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23282         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23284         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23286         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23288         Moved ...
23289         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23291         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23293         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23295         Moved ...
23296         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23298         Moved ...
23299         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23301         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23303         Moved ...
23304         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23306         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23308         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23310         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23312         Moved ...
23313         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23315         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23316         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23317         Moved ...
23318         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23320         Moved ...
23321         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23323         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23325         Moved ...
23326         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23327         ... here.
23328         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23329         Identical file removed.
23330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23331         Moved ...
23332         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23334         Identical file removed.
23335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23336         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23338         Moved ...
23339         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23341         Identical file removed.
23342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23343         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23345         Identical file removed.
23346         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23347         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23349         Identical file removed.
23350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23351         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23353         Identical file removed.
23354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23355         Moved ...
23356         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23358         Identical file removed.
23359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23360         Moved ...
23361         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23363         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23365         Identical file removed.
23366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23367         Moved ...
23368         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23369         ... here.
23370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23371         Identical file removed.
23372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23373         Moved ...
23374         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23376         Identical file removed.
23377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23378         Moved ...
23379         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23381         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23382         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23383         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23385         Moved ...
23386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23387         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23388         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23390         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23391         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23392         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23393         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23394         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23396 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23398         [BZ #17092]
23399         * nscd/nscd.c (monitor_child): Return exit status of child
23400         instead of return value from wait syscall.
23402 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23404         * configure.ac (libc_commonpagesize): Remove variable.
23405         (libc_relro_required): Likewise.
23406         (libc_cv_z_relro): Remove configure test.
23407         * configure: Regenerated.
23408         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23409         variable.
23410         (libc_relro_required): Likewise.
23411         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23412         (libc_relro_required): Likewise.
23413         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23414         (libc_relro_required): Likewise.
23415         * sysdeps/arm/preconfigure: Regenerated.
23416         * sysdeps/ia64/preconfigure: Remove file.
23417         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23418         variable.
23419         (libc_relro_required): Likewise.
23421         [BZ #16561]
23422         [BZ #16562]
23423         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23424         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23425         recompute overflowing results in original rounding mode.
23426         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23427         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23428         recompute overflowing results in original rounding mode.
23429         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23430         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23431         recompute overflowing results in original rounding mode.
23432         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23433         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23434         recompute overflowing results in original rounding mode.
23435         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23436         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23437         recompute overflowing results in original rounding mode.
23438         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23439         (libc_feholdsetround_ctx): New macro.
23440         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23441         * sysdeps/i386/fpu/libm-test-ulps: Update.
23442         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23444 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23446         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23447         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23448         corresponding .cpsetup call.
23450 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23452         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23453         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23454         * sysdeps/arm/Makefile [$(subdir) = csu]
23455         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23456         (static-only-routines): Add aeabi_read_tp here.
23457         (shared-only-routines): Add libc-aeabi_read_tp here.
23458         (CFLAGS-libc-start.c): Add -fexceptions here.
23459         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23460         (sysdep_routines, static-only-routines, shared-only-routines):
23461         Don't add to these here.
23462         (CFLAGS-libc-start.c): Likewise.
23464         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23465         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23466         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23467         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23468         * sysdeps/arm/Makefile [$(subdir) = rt]
23469         (librt-sysdep_routines, librt-shared-only-routines):
23470         Append rt-aeabi_unwind_cpp_pr1 here.
23471         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23472         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23473         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23474         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23475         Append nptl-aeabi_unwind_cpp_pr1 here.
23476         (tests): Filter out tst-cleanupx4 here.
23477         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23478         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23479         Don't do those here.
23481 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23483         * scripts/list-sources.sh: Do not handle ports specially.
23485 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23487         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23488         * sysdeps/arm/feupdateenv.c: Likewise.
23490         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23492 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23494         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23495         trailing whitespace removed.
23496         * scripts/config.guess: Update to version 2014-03-23.
23497         * scripts/config.sub: Update to version 2014-05-01
23498         * scripts/install-sh: Update to version 2013-12-25.23.
23499         * scripts/move-if-change: Update from gnulib.
23501 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23503         * debug/memmove_chk.c: Remove pagecopy.h include.
23505 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23507         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23508         identical to gnulib mktime.
23510 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23512         * configure.ac: Do not test for machine being rs6000.  Do not test
23513         for powerpc*-*soft.
23514         * configure: Regenerated.
23516         [BZ #11505]
23517         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23518         test.
23519         * configure: Regenerated.
23520         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23521         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23522         Remove configure test.
23523         * sysdeps/arm/configure: Regenerated.
23524         * sysdeps/nptl/configure.ac: Do not check
23525         libc_cv_asm_cfi_directives.
23526         * sysdeps/nptl/configure: Regenerated.
23527         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23528         * sysdeps/x86_64/nptl/configure: Remove generated file.
23529         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23530         unconditional.
23531         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23533 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23535         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23536         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23537         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23538         it is defined.
23540         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23541         instead of whether it is defined.
23542         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23543         * sysdeps/hppa/dl-machine.h: Likewise.
23544         * sysdeps/ia64/dl-machine.h: Likewise.
23545         * sysdeps/m68k/dl-machine.h: Likewise.
23546         * sysdeps/microblaze/dl-machine.h: Likewise.
23547         * sysdeps/mips/dl-machine.: Likewise.
23548         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23549         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23550         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23551         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23552         * sysdeps/sh/dl-machine.h: Likewise.
23553         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23554         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23555         * sysdeps/tile/dl-machine.h: Likewise.
23556         * sysdeps/x86_64/dl-machine.h: Likewise.
23558         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23559         code.
23560         (verify_persistent_db): Likewise.
23562 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23565         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23567         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23569         Moved ...
23570         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23571         ... here.
23572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23573         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23575         Identical file removed.
23576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23577         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23579         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23581         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23585         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23587         Moved ...
23588         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23590         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23592         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23594         Moved ...
23595         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23597         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23599         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23601         Identical file removed.
23602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23603         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23607         Moved ...
23608         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23609         ... here.
23610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23611         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23613         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23615         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23617         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23619         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23621         Moved ...
23622         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23624         Moved ...
23625         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23627         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23629         Moved ...
23630         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23632         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23634         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23635         folded into ...
23636         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23637         * sysdeps/unix/sysv/linux/s390/Versions
23638         (libpthread: GLIBC_2.19): New version set.
23639         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23640         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23641         (librt: GLIBC_2.3.3): New version set.
23642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23643         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23644         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23645         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23646         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23647         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23648         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23649         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23650         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23651         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23652         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23653         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23654         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23655         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23656         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23657         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23658         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23659         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23660         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23661         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23662         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23664         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23666         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23667         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23668         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23669         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23670         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23671         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23672         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23673         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23678         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23680         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23682         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23684         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23686         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23688         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23689         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23690         (__libc_vfork): Define the function under this name.
23691         [!NOT_IN_libc] (__vfork): Make this an alias.
23692         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23694         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23695         (__libc_vfork): Define the function under this name.
23696         [!NOT_IN_libc] (__vfork): Make this an alias.
23697         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23698         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23699         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23701         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23704         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23705         code that was previously under [RESET_PID].
23706         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23711         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23712         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23713         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23714         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23715         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23716         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23717         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23718         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23719         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23720         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23721         Moved ...
23722         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23724         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23725         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23726         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23727         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23728         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23729         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23730         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23731         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23732         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23733         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23734         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23736         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23737         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23738         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23739         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23740         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23741         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23742         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23743         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23744         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23745         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23746         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23747         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23748         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23750         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23752 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23754         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23755         that was previously under [RESET_PID].
23756         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23758 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23760         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23761         not undefine and redefine.
23762         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23763         [O_CLOEXEC]: Make code unconditional.
23764         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23765         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23766         <kernel-features.h>.
23767         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23768         conditional variable definition.
23769         (shm_open) [O_CLOEXEC]: Make code unconditional.
23770         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23771         code.
23773         * configure.ac (USE_REGPARMS): Don't define here.
23774         * configure: Regenerated.
23775         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23776         * sysdeps/i386/configure: Regenerated.
23778         * nptl/createthread.c: Don't include kernel-features.h.
23779         * nptl/pthread_cancel.c: Likewise.
23780         * nptl/pthread_condattr_setclock.c: Likewise.
23781         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23782         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23783         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23784         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23785         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23786         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23787         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23790         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23791         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23792         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23793         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23794         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23795         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23796         * nscd/gai.c: Likewise.
23797         * nss/nss_db/db-open.c: Likewise.
23798         * sysdeps/generic/ldsodefs.h: Likewise.
23799         * sysdeps/sh/nptl/tls.h: Likewise.
23800         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23801         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23802         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23803         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23804         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23805         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23806         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23807         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23809         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23810         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23811         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23812         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23813         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23814         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23815         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23816         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23817         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23818         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23819         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23822         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23823         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23826         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23828         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23829         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23830         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23831         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23832         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23833         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23834         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23835         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23836         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23837         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23838         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23839         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23840         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23841         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23842         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23843         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23844         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23845         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23846         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23847         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23848         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23849         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23850         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23851         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23852         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23853         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23854         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23855         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23856         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23857         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23880         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23881         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23882         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23883         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23884         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23885         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23886         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23887         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23888         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23889         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23890         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23891         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23892         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23893         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23894         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23895         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23896         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23898         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23899         * sysdeps/unix/sysv/linux/system.c: Likewise.
23900         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23901         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23902         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23903         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23904         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23906         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23908         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23909         * configure: Regenerated.
23910         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23912         * configure.ac (base_machine): Do not set specially for particular
23913         machines here.
23914         * configure: Regenerated.
23915         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23916         settings from configure.ac.
23917         * sysdeps/i386/preconfigure: New file.
23918         * sysdeps/s390/preconfigure: Likewise.
23919         * sysdeps/sh/preconfigure: Likewise.
23920         * sysdeps/sparc/preconfigure: Likewise.
23922 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23924         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23925         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23926         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23927         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23928         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23929         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23930         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23931         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23932         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23933         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23934         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23935         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23936         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23937         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23938         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23939         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23941         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23942         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23944         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23945         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23946         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23947         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23948         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23949         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23950         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23951         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23952         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23953         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23954         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23955         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23956         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23957         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23958         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23959         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23960         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23961         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23962         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23963         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23965         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23966         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23967         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23968         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23969         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23971         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23972         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23973         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23975         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23976         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23977         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23978         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23979         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23980         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23981         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23984         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23986         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23988         Moved ...
23989         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23990         ... here.
23991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23992         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23994         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23996         Moved ...
23997         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23999         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24003         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24005         Moved ...
24006         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24008         Moved ...
24009         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24011         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24013         Moved ...
24014         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24016         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24018         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24020         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24022         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24024         Moved ...
24025         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24026         ... here.
24027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24028         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24030         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24032         Moved ...
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24035         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24037         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24039         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24041         Moved ...
24042         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24044         Moved ...
24045         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24047         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24049         Moved ...
24050         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24052         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24054         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24056 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24058         * timezone/checktab.awk: Update from tzcode 2014e.
24059         * timezone/private.h: Likewise.
24060         * timezone/tzfile.h: Likewise.
24061         * timezone/zdump.c: Likewise.
24062         * timezone/zic.c: Likewise.
24064         * sysdeps/unix/sysv/linux/kernel-features.h
24065         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24066         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24067         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24068         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24069         Remove conditional code.
24071 2014-06-25  Will Newton  <will.newton@linaro.org>
24073         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24074         (_dl_arm_cap_flags): Add HWCAP2 values.
24075         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24076         (_DL_HWCAP_COUNT): Increase to 37.
24077         (_DL_HWCAP_LAST): New define.
24078         (_DL_HWCAP2_LAST): New define.
24079         (_dl_procinfo): Add support for printing
24080         AT_HWCAP2 entries.
24081         (_dl_string_hwcap): Use _dl_hwcap_string.
24083 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24087 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24089         * README: Do not mention ports directory.
24091         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24092         Remove macro.
24093         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24094         <kernel-features.h>.
24095         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24096         conditional variable definition.
24097         (__futimes): Update comment.
24098         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24099         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24101         [BZ #16560]
24102         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24103         arguments close to 0.
24104         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24105         Likewise.
24106         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24107         Likewise.
24108         * math/auto-libm-test-in: Add more tests of exp10.
24109         * math/auto-libm-test-out: Regenerated.
24110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24112         * sysdeps/unix/sysv/linux/kernel-features.h
24113         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24114         * sysdeps/unix/sysv/linux/readv.c: Do not include
24115         <kernel-features.h>.
24116         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24117         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24118         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24119         unconditional.
24120         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24121         conditional code.
24122         * sysdeps/unix/sysv/linux/writev.c: Do not include
24123         <kernel-features.h>.
24124         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24125         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24126         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24127         unconditional.
24128         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24129         conditional code.
24131 2014-06-25  Will Newton  <will.newton@linaro.org>
24133         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24134         comment changes throughout the file.  Remove checks
24135         for HAVE_*_H definitions that are not required.
24136         (__gen_tempname): Call abort if an unknown kind value is
24137         passed.
24139 2014-06-25  Andreas Schwab  <schwab@suse.de>
24141         [BZ #17086]
24142         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24143         scalbln, scalblnf, scalblnl in libc.
24145 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24147         [BZ #17086]
24148         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24149         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24150         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24152 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24154         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24155         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24156         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24157         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24158         Update #include.
24159         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24160         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24161         Update #include.
24162         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24163         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24164         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24165         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24166         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24167         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24168         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24169         * sysdeps/x86/bits/semaphore.h: ... here.
24170         * sysdeps/x86/nptl/elide.h: Moved ...
24171         * sysdeps/x86/elide.h: ... here.
24172         * sysdeps/x86_64/nptl/Implies: File removed.
24173         * sysdeps/i386/nptl/Implies: File removed.
24175 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24177         [BZ #16539]
24178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24179         return the argument for normal arguments with exponent below -64.
24180         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24181         Likewise.
24182         * math/auto-libm-test-in: Add another test of expm1.
24183         * math/auto-libm-test-out: Regenerated.
24185         [BZ #16287]
24186         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24187         calling __erfcl for arguments at least 16.
24188         * math/auto-libm-test-in: Add more tests of erf.
24189         * math/auto-libm-test-out: Regenerated.
24191         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24192         individual architectures.
24193         * sysdeps/unix/sysv/linux/configure: Regenerated.
24194         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24195         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24196         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24197         (ldd_rewrite_script): Define variable.
24198         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24200         file.
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24202         generated file.
24203         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24204         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24205         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24206         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24207         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24208         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24209         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24210         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24212 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24214         [BZ #17084]
24215         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24216         Rename member __data.d to __data.__elision_data.
24218 2014-06-24  Wilco  <wdijkstr@arm.com>
24220         * NEWS: Add 16918 to fixed bug list.
24222 2014-06-24  Wilco  <wdijkstr@arm.com>
24224         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24226 2014-06-24  Wilco  <wdijkstr@arm.com>
24228         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24229         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24230         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24231         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24232         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24233         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24234         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24235         Use _FPU_MASK_RM.
24237 2014-06-24  Wilco  <wdijkstr@arm.com>
24239         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24241 2014-06-24  Wilco  <wdijkstr@arm.com>
24243         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24244         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24245         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24246         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24248 2014-06-24  Wilco  <wdijkstr@arm.com>
24250         [BZ #16918]
24251         * sysdeps/arm/feupdateenv.c (feupdateenv):
24252         Rewrite to reduce FPSCR accesses and fix return value.
24254 2014-06-24  Wilco  <wdijkstr@arm.com>
24256         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24257         Optimize to avoid unnecessary FPSCR writes.
24258         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24259         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24260         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24261         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24263 2014-06-24  Wilco  <wdijkstr@arm.com>
24265         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24266         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24267         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24268         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24269         Call libc_fetestexcept_vfp.
24270         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24271         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24272         __SOFTFP__ ifdef so that they can be built for softfp.
24274 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24276         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24277         argument type signed char.
24279         * Makerules (check-abi): Dump diff of symlist if the test
24280         fails.
24282 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24284         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24285         using abort.
24287         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24288         Remove unused variable ST.
24290 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24292         [BZ #16354]
24293         [BZ #17061]
24294         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24295         small arguments before calling __expm1.
24296         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24297         small arguments before calling __expm1f.
24298         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24299         small arguments before calling __expm1l.
24300         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24301         Likewise.
24302         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24303         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24304         spurious underflow for some cosh tests.
24305         * math/auto-libm-test-out: Regenerated.
24306         * sysdeps/i386/fpu/libm-test-ulps: Update.
24308         [BZ #17050]
24309         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24310         (__ieee754_y1): Set errno if return value overflows.
24311         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24312         (__ieee754_y1f): Set errno if return value overflows.
24313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24314         (__ieee754_y1l): Set errno if return value overflows.
24315         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24316         (__ieee754_y1l): Set errno if return value overflows.
24317         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24318         * math/auto-libm-test-out: Regenerated.
24320         * math/gen-auto-libm-tests.c: Document use of
24321         ignore-zero-inf-sign.
24322         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24323         (input_flags): Add ignore-zero-inf-sign.
24324         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24325         * math/gen-libm-test.pl (generate_testfile): Handle
24326         ignore-zero-inf-sign.
24327         * math/auto-libm-test-in: Mark some cpow tests with
24328         ignore-zero-inf-sign and some with xfail-rounding.
24329         * math/auto-libm-test-out: Regenerated.
24330         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24331         * sysdeps/i386/fpu/libm-test-ulps: Update.
24332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24334         [BZ #16315]
24335         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24336         overflowing or underflowing operations take place with sign of
24337         result.
24338         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24339         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24340         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24341         (__ieee754_pow): Recompute overflowing and underflowing results in
24342         original rounding mode.
24343         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24344         (__powl_helper): Allow negative argument X and scale negated value
24345         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24346         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24347         overflowing or underflowing operations take place with sign of
24348         result.
24349         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24350         Include <math.h>.
24351         * math/auto-libm-test-in: Add more tests of pow.
24352         * math/auto-libm-test-out: Regenerated.
24353         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24354         (pow_tonearest_test_data): Remove.
24355         (pow_test_tonearest): Likewise.
24356         (pow_towardzero_test_data): Likewise.
24357         (pow_test_towardzero): Likewise.
24358         (pow_downward_test_data): Likewise.
24359         (pow_test_downward): Likewise.
24360         (pow_upward_test_data): Likewise.
24361         (pow_test_upward): Likewise.
24362         (main): Don't call removed functions.
24363         * sysdeps/i386/fpu/libm-test-ulps: Update.
24364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24366 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24369         Moved ...
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24372         Moved ...
24373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24375         Moved ...
24376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24378         Moved ...
24379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24381         File removed.
24382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24383         File removed.
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24385         File removed.
24386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24387         File removed.
24388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24389         File removed.
24390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24391         File removed.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24393         File removed.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24395         File removed.
24396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24397         File removed.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24399         File removed.
24400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24401         File removed.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24403         File removed.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24405         Moved ...
24406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24408         Moved ...
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24410         ... here.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24412         Moved ...
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24415         Moved ...
24416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24418         Moved ...
24419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24421         Moved ...
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24424         Moved ...
24425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24427         Moved ...
24428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24430         Moved ...
24431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24434         ... here.
24435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24436         Moved ...
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24439         Moved ...
24440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24441         ... here.
24442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24443         Moved ...
24444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24445         ... here.
24446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24447         Moved ...
24448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24449         ... here.
24450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24451         Moved ...
24452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24454         Moved ...
24455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24459         Moved ...
24460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24461         ... here.
24462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24463         Moved ...
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24465         ... here.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24467         Moved ...
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24473         Moved ...
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24476         Moved ...
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24479         Moved ...
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24481         ... here.
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24483         Moved ...
24484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24486         Moved ...
24487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24489         Moved ...
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24492         Moved ...
24493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24497         Moved ...
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24500         Moved ...
24501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24503         Moved ...
24504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24505         ... here.
24506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24507         Moved ...
24508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24509         ... here.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24511         Moved ...
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24513         ... here.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24515         Moved ...
24516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24518         Moved ...
24519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24521         Moved ...
24522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24524         Moved ...
24525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24526         ... here.
24527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24528         Moved ...
24529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24530         ... here.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24532         Moved ...
24533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24534         ... here.
24535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24536         Moved ...
24537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24539         Moved ...
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24542 2014-06-23  Will Newton  <will.newton@linaro.org>
24543             Wilco  <wdijkstr@arm.com>
24545         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24546         implementation.  Include get-rounding-mode.h.
24547         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24548         [!libc_feholdsetround_noex_ctx]: Define
24549         libc_feholdsetround_noex_ctx.
24550         [!libc_feholdsetround_noexf_ctx]: Define
24551         libc_feholdsetround_noexf_ctx.
24552         [!libc_feholdsetround_noexl_ctx]: Define
24553         libc_feholdsetround_noexl_ctx.
24554         (libc_feholdsetround_ctx): New function.
24555         (libc_feresetround_ctx): New function.
24556         (libc_feholdsetround_noex_ctx): New function.
24557         (libc_feresetround_noex_ctx): New function.
24559 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24561         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24562         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24563         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24564         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24565         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24566         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24568         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24569         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24570         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24571         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24572         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24573         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24575         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24577         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24579         Moved ...
24580         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24581         ... here.
24582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24583         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24585         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24587         Moved ...
24588         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24590         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24592         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24594         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24596         Moved ...
24597         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24598         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24599         Moved ...
24600         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24602         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24604         Moved ...
24605         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24607         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24608         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24609         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24610         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24611         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24613         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24615         Moved ...
24616         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24617         ... here.
24618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24619         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24621         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24623         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24625         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24627         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24629         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24631         Moved ...
24632         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24634         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24636         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24638         Moved ...
24639         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24641         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24642         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24643         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24645         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24646         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24647         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24648         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24649         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24650         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24651         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24652         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24653         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24654         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24656         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24657         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24658         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24659         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24660         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24661         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24662         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24664         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24665         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24666         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24667         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24668         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24669         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24670         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24671         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24672         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24674 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24677         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24678         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24679         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24680         (IPV6_PMTUDISC_INTERFACE): Likewise.
24681         (IPV6_PMTUDISC_OMIT): Likewise.
24683 2014-06-23  Andreas Schwab  <schwab@suse.de>
24685         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24686         Remove unused errout label.
24688 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24690         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24691         macro: hardware supports Vector Crypto instructions.
24693 2014-06-23  Will Newton  <will.newton@linaro.org>
24695         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24696         rather than __builtin_expect.
24698         * elf/dl-lookup.c (undefined_msg): Remove variable.
24699         (_dl_lookup_symbol_x): Replace undefined_msg with string
24700         literal.
24702         * elf/dl-lookup.c (do_lookup_unique): New function.
24703         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24704         to a separate function.
24706 2014-06-23  Andreas Schwab  <schwab@suse.de>
24708         [BZ #17079]
24709         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24710         before reading the next line.
24712 2014-06-23  Will Newton  <will.newton@linaro.org>
24714         * test-skeleton.c (signal_handler): Use printf and %m
24715         rather than perror.  Use printf rather than fprintf to
24716         stderr.  Use puts rather than fputs to stderr.
24717         (main): Likewise.
24719 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24721         * nscd/nscd.c (thread_info_t): Remove typedef.
24722         (thread_info): Remove variable.
24724 2014-06-21  Allan McRae  <allan@archlinux.org>
24726         * NEWS: Mention CVE-2014-4043.
24728 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24730         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24731         * nptl/smp.h: ... here.
24733         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24735         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24736         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24737         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24738         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24740         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24741         * nptl/stack-aliasing.h: New file.
24742         * sysdeps/i386/i686/stack-aliasing.h: New file.
24743         * sysdeps/i386/i686/nptl/Makefile: File removed.
24744         * sysdeps/x86_64/stack-aliasing.h: New file.
24745         * sysdeps/x86_64/nptl/Makefile
24746         (CFLAGS-pthread_create.c): Variable removed.
24748         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24749         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24750         old file.
24751         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24752         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24753         old file.
24755 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24757         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24758         (__ASSUME_SIGFRAME_V2): Remove macro.
24759         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24760         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24761         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24762         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24763         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24764         Declare as function.  Remove conditional macro definitions.
24765         (__default_rt_sa_restorer): Likewise.
24766         (__default_sa_restorer_v1): Remove declaration.
24767         (__default_sa_restorer_v2): Likewise.
24768         (__default_rt_sa_restorer_v1): Likewise.
24769         (__default_rt_sa_restorer_v2): Likewise.
24770         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24771         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24772         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24774 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24776         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24777         (libpthread-routines): Add sysdep.
24778         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24779         * sysdeps/unix/sysv/linux/sparc/Versions
24780         (libpthread: GLIBC_2.3.3): New version set.
24781         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24782         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24783         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24784         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24785         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24786         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24787         Moved ...
24788         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24789         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24790         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24791         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24792         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24793         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24794         * sysdeps/sparc/nptl/sem_init.c: ... here.
24795         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24796         * sysdeps/sparc/nptl/sem_post.c: ... here.
24797         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24798         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24799         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24800         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24801         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24802         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24803         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24804         (libpthread-routines): Add cpu_relax.
24805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24806         File removed.
24807         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24808         (librt: GLIBC_2.3.3): New version set.
24809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24810         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24811         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24812         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24815         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24817         Moved ...
24818         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24820         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24822         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24824         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24826         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24828         Moved ...
24829         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24830         Update #include.
24831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24832         Moved ...
24833         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24834         Update #include.
24835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24836         Moved ...
24837         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24838         Update #include.
24839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24840         Moved ...
24841         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24842         Update #include.
24843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24844         Moved ...
24845         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24846         Update #include.
24847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24848         Moved ...
24849         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24850         Update #include.
24851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24852         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24856         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24858         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24860         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24862         Moved ...
24863         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24865         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24867         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24869 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24871         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24872         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24873         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24874         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24875         * nscd/nscd.c: Likewise.
24876         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24877         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24878         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24879         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24881         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24882         <kernel-features.h>.
24883         (init_mq_netlink): Remove conditional have_sock_cloexec
24884         definitions.  Remove code conditional on have_sock_cloexec < 0.
24885         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24886         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24887         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24888         <kernel-features.h>.
24889         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24890         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24892 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24895         Add tests for memset_chk and memset.
24897         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24898         with AVX2_Usable.
24900 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24902         [BZ #16046]
24903         * elf/tst-dl-iter-static.c: New file.
24904         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24906         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24907         error.
24909 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24911         * sysdeps/unix/sysv/linux/kernel-features.h
24912         (__ASSUME_F_GETOWN_EX): Remove macro.
24913         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24914         <kernel-features.h>.
24915         (miss_F_GETOWN_EX): Remove variable or macro.
24916         (do_fcntl): Do not check miss_F_GETOWN_EX.
24917         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24920         Remove macro.
24921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24922         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24923         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24925         * sysdeps/unix/sysv/linux/kernel-features.h
24926         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24927         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24928         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24929         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24931 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24933         [BZ #17075]
24934         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24935         Fix calculation of the symbol's value.
24936         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24937         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24938         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24939         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24940         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24941         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24942         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24943         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24944         (modules-names): Add `tst-armtlsdescmod',
24945         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24946         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24947         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24948         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24949         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24950         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24951         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24952         ($(objpfx)tst-armtlsdescloc): New dependency.
24953         ($(objpfx)tst-armtlsdescextnow): Likewise.
24954         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24955         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24956         TLS scheme support.
24957         * sysdeps/arm/configure: Regenerate.
24959 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24961         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24962         (__atfct_seterrno_2): Likewise.
24963         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24964         <kernel-features.h>.
24965         (__ASSUME_ATFCTS): Do not undefine and redefine.
24966         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24967         (__have_atfcts): Remove conditional definition.
24968         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24969         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24970         unreachable if [__ASSUME_ATFCTS].
24971         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24972         not undefine and redefine.
24973         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24974         <kernel-features.h>.
24975         (faccessat) [__NR_faccessat]: Make code unconditional.
24976         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24977         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24978         <kernel-features.h>.
24979         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24980         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24981         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24982         <kernel-features.h>.
24983         (fchownat) [__NR_fchownat]: Make code unconditional.
24984         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24985         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24986         <kernel-features.h>.
24987         (futimesat) [__NR_futimesat]: Make code unconditional.
24988         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24989         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24990         <kernel-features.h>.
24991         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24992         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24993         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24994         <kernel-features.h>.
24995         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24996         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24997         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24998         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24999         <kernel-features.h>.
25000         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25001         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25002         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25003         <kernel-features.h>.
25004         (linkat) [__NR_linkat]: Make code unconditional.
25005         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25006         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25007         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25008         <kernel-features.h>.
25009         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25010         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25011         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25012         <kernel-features.h>.
25013         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25014         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25015         * sysdeps/unix/sysv/linux/openat.c: Do not include
25016         <kernel-features.h>.
25017         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25018         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25019         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25020         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25021         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25022         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25023         <kernel-features.h>.
25024         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25025         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25026         result of INLINE_SYSCALL directly, not via int variable.
25027         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25028         <kernel-features.h>.
25029         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25030         (renameat) [__NR_renameat]: Make code unconditional.
25031         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25032         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25033         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25034         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25035         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25036         (__ASSUME_ATFCTS): Do not undefine and redefine.
25037         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25038         <kernel-features.h>.
25039         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25040         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25041         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25042         <kernel-features.h>.
25043         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25044         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25045         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25046         (__ASSUME_ATFCTS): Do not undefine and redefine.
25047         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25048         <kernel-features.h>.
25049         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25050         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25051         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25052         <kernel-features.h>.
25053         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25054         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25056 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25058         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25060 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25062         [BZ #17069]
25063         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25064         constructed tree before returning error.
25065         * posix/bug-regexp36.c: Expand test case.
25067 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25069         [BZ #6803]
25070         * math/libm-test.inc (scalbln_test_date):
25071         Add errno expectations.
25072         * math/w_scalblnf.c: New File.
25073         Add wrapper which checks for setting errno to ERANGE.
25074         Add weak_alias for corresponding scalbln function.
25075         * math/w_scalbln.c: Likewise.
25076         * math/w_scalblnl.c: Likewise.
25077         * math/Makefile (libm-calls): Add w_scalbln.
25078         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25079         Remove weak_alias for corresponding scalbln function.
25080         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25081         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25082         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25084         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25085         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25086         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25087         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25088         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25089         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25090         Remove long_double_symbol for scalblnl function in libm, libc.
25091         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25092         Add wrapper which checks for setting errno to ERANGE.
25093         Add long_double_symbol for scalblnl function in libm, libc.
25094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25095         Remove long_double_symbol for scalblnl in libm.
25096         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25097         Add wrapper which checks for setting errno to ERANGE.
25098         Add long_double_symbol for scalblnl function in libm.
25099         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25100         Do not use wrapper because of own implementation.
25102 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25104         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25105         3 bytes for __pad1 for x32.
25106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25108 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25109             H.J. Lu  <hongjiu.lu@intel.com>
25111         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25112         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25113         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25115         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25117 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25119         [BZ #17069]
25120         * posix/regcomp.c (parse_expression): Deallocate partially
25121         constructed tree before returning error.
25122         * posix/Makefile.c (tests): Add bug-regex36.
25123         (generated): Add bug-regex36.mtrace.
25124         (tests-special): Add $(objpfx)bug-regex36-mem.out
25125         (bug-regex36-ENV): New variable.
25126         ($(objpfx)bug-regex36-mem.out): New rule.
25127         * posix/bug-regex36.c: New file.
25129 2014-06-19  Will Newton  <will.newton@linaro.org>
25131         * malloc/malloc.c (systrim): If extra is zero then return
25132         early.
25134 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25136         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25138 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25140         * sysdeps/aarch64/strchr.S: New file.
25142 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25144         [BZ #17022]
25145         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25146         from arguments -2 or below.
25147         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25148         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25150 2014-06-18  Andreas Schwab  <schwab@suse.de>
25152         [BZ #17062]
25153         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25154         of a bracket expr not to run off the end of the string.
25155         * posix/Makefile (tests): Add tst-fnmatch3.
25156         * posix/tst-fnmatch3.c: New file.
25158 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25160         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25161         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25162         [$(cross-compiling) = no]: Likewise.
25163         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25164         [$(cross-compiling) = no]: Likewise.
25166 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25168         [BZ #17031]
25169         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25170         double, adjusted for any remainder from the high double.
25171         * math/libm-test.inc (nearbyint): Add tests.
25172         (rint): Likewise.
25174 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25176         * nptl/sysdeps/powerpc/Makefile: Moved ...
25177         * sysdeps/powerpc/nptl/Makefile: ... here.
25178         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25179         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25180         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25181         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25182         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25183         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25184         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25185         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25186         * nptl/sysdeps/powerpc/tls.h: Moved ...
25187         * sysdeps/powerpc/nptl/tls.h: ... here.
25189 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25191         [BZ #16681]
25192         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25193         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25194         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25195         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25196         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25197         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25198         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25199         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25200         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25202 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25204         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25206 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25208         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25209         defined operator.
25211         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25212         $TIMEOUTFACTOR.
25214 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25216         [BZ #17058]
25217         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25218         non-executed part of the test.
25220 2014-06-16  Andreas Schwab  <schwab@suse.de>
25222         * string/bits/string2.h (strdup, strndup): Update feature guard.
25224 2014-06-14  David S. Miller  <davem@davemloft.net>
25226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25228 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25230         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25231         that was previously under [RESET_PID].
25232         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25234         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25235         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25236         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25238         (__libc_vfork): New strong alias.
25239         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25241 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25243         * sysdeps/generic/elide.h: New file.
25245 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25247         * Makefile (installed-headers): Adjust path of pthread.h header.
25249 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25251         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25252         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25253         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25254         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25256         * nptl/sysdeps/s390/Makefile: Moved ...
25257         * sysdeps/s390/nptl/Makefile: ... here.
25258         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25259         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25260         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25261         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25262         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25263         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25264         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25265         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25266         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25267         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25268         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25269         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25270         * nptl/sysdeps/s390/tls.h: Moved ...
25271         * sysdeps/s390/nptl/tls.h: ... here.
25273         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25274         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25276 2014-06-13  David S. Miller  <davem@davemloft.net>
25278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25281         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25285         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25286         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25287         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25288         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25289         Remove RESET_PID cpp guards.
25290         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25291         Remove RESET_PID cpp guards.
25292         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25294 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25296         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25297         __sp to uintptr_t.
25299 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25302         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25307         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25308         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25310         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25311         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25312         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25315         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25317         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25320         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25322         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25323         (pthread_rwlock_rdlock): Add elision.
25324         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25325         (pthread_rwlock_wrlock): Add elision.
25326         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25327         (pthread_rwlock_trywrlock): Add elision.
25328         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25329         (pthread_rwlock_tryrdlock): Add elision.
25330         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25331         (pthread_rwlock_tryrdlock): Add elision unlock.
25332         * nptl/sysdeps/pthread/pthread.h:
25333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25334         (PTHREAD_RWLOCK_INITIALIZER,
25335         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25336         Handle new elision field.
25337         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25338         * sysdeps/arm/nptl/bits/pthreadtypes.h
25339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25340         * sysdeps/sh/nptl/bits/pthreadtypes.h
25341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25342         * sysdeps/tile/nptl/bits/pthreadtypes.h
25343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25344         * sysdeps/a/nptl/bits/pthreadtypes.h
25345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25346         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25348         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25350         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25352         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25354         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25356         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25358         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25360         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25362         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25363         (elision_init): Set try_xbegin to zero when no RTM.
25364         * sysdeps/x86/nptl/bits/pthreadtypes.h
25365         (pthread_rwlock_t): Change __pad1 to __rwelision.
25366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25368 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25370         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25371         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25372         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25373         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25375 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25377         [BZ #16996]
25378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25379         that the cached result has been set before returning it.
25381 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25383         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25384         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25385         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25386         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25387         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25388         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25390         * nptl/sysdeps/sparc/Makefile: Moved ...
25391         * sysdeps/sparc/nptl/Makefile: ... here.
25392         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25393         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25394         * nptl/sysdeps/sparc/tls.h: Moved ...
25395         * sysdeps/sparc/nptl/tls.h: ... here.
25396         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25397         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25398         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25399         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25400         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25401         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25402         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25403         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25404         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25405         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25406         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25407         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25408         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25409         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25410         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25411         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25412         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25414         Update #include.
25415         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25416         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25417         Update #include.
25418         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25420         Update #include.
25421         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25422         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25423         Update #include.
25425         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25427         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25428         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25430         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25431         (struct list_links): Type removed.
25432         (struct thread_node, struct timer_node): Replace struct list_links
25433         with struct list_head.
25434         (list_unlink_ip): Likewise.
25435         * sysdeps/pthread/timer_routines.c
25436         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25437         (list_append, list_insbefore): Likewise.
25438         (list_init): Function removed.
25439         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25440         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25441         * sysdeps/pthread/Makefile: ... here, new file.
25443         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25444         * sysdeps/nptl/Implies: ... here.
25445         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25446         * nptl/sysdeps/pthread/list.h: Moved ...
25447         * include/list.h: ... here.
25448         * nptl/sysdeps/pthread/createthread.c: Moved ...
25449         * nptl/createthread.c: ... here.
25450         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25451         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25452         * nptl/pt-longjmp.c: ... here.
25453         * nptl/sysdeps/pthread/Makefile: Moved ...
25454         * sysdeps/nptl/Makefile: ... here.
25455         * nptl/sysdeps/pthread/Subdirs: Moved ...
25456         * sysdeps/nptl/Subdirs: ... here.
25457         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25458         * sysdeps/nptl/aio_misc.h: ... here.
25459         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25460         * sysdeps/nptl/bits/libc-lock.h: ... here.
25461         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25462         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25463         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25464         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25465         * nptl/sysdeps/pthread/configure: Moved ...
25466         * sysdeps/nptl/configure: ... here.
25467         * nptl/sysdeps/pthread/configure.ac: Moved ...
25468         * sysdeps/nptl/configure.ac: ... here.
25469         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25470         * sysdeps/nptl/gai_misc.h: ... here.
25471         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25472         * sysdeps/nptl/librt-cancellation.c: ... here.
25473         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25474         * sysdeps/nptl/malloc-machine.h: ... here.
25475         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25476         * sysdeps/nptl/pthread-functions.h: ... here.
25477         * nptl/sysdeps/pthread/pthread.h: Moved ...
25478         * sysdeps/nptl/pthread.h: ... here.
25479         * nptl/sysdeps/pthread/setxid.h: Moved ...
25480         * sysdeps/nptl/setxid.h: ... here.
25481         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25482         * sysdeps/nptl/sigfillset.c: ... here.
25483         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25484         * sysdeps/nptl/tcb-offsets.h: ... here.
25485         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25486         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25487         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25488         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25489         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25490         * sysdeps/pthread/allocalim.h: ... here.
25491         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25492         * sysdeps/pthread/bits/sigthread.h: ... here.
25493         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25494         * sysdeps/pthread/flockfile.c: ... here.
25495         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25496         * sysdeps/pthread/ftrylockfile.c: ... here.
25497         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25498         * sysdeps/pthread/funlockfile.c: ... here.
25499         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25500         * sysdeps/pthread/posix-timer.h: ... here.
25501         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25502         * sysdeps/pthread/timer_create.c: ... here.
25503         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25504         * sysdeps/pthread/timer_delete.c: ... here.
25505         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25506         * sysdeps/pthread/timer_getoverr.c: ... here.
25507         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25508         * sysdeps/pthread/timer_gettime.c: ... here.
25509         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25510         * sysdeps/pthread/timer_routines.c: ... here.
25511         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25512         * sysdeps/pthread/timer_settime.c: ... here.
25513         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25514         * sysdeps/pthread/tst-timer.c: ... here.
25515         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25516         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25518         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25519         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25521         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25522         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25523         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25524         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25525         Update #include target.
25526         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25527         * sysdeps/i386/i686/nptl/Makefile: ... here.
25528         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25529         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25530         Update #include target.
25531         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25532         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25533         * nptl/sysdeps/i386/Makefile: Moved ...
25534         * sysdeps/i386/nptl/Makefile: ... here.
25535         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25536         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25537         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25538         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25539         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25540         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25541         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25542         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25543         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25544         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25545         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25546         * nptl/sysdeps/i386/tls.h: Moved ...
25547         * sysdeps/i386/nptl/tls.h: ... here.
25549         * sysdeps/sh/Makefile [$(subdir) = csu]
25550         (gen-as-const-headers): Add tcb-offsets.sym.
25551         * nptl/sysdeps/sh/Makefile: File removed.
25552         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25553         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25554         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25555         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25556         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25557         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25558         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25559         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25560         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25561         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25562         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25563         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25564         * nptl/sysdeps/sh/tls.h: Moved ...
25565         * sysdeps/sh/nptl/tls.h: ... here.
25566         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25567         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25568         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25569         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25571         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25572         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25573         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25574         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25575         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25577         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25579         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25581         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25582         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25583         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25585         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25587         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25588         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25589         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25590         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25591         Moved ...
25592         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25594         Moved ...
25595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25597         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25599         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25600         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25601         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25602         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25603         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25604         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25605         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25606         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25607         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25608         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25609         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25610         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25611         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25612         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25613         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25615 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25617         * posix/spawn_faction_addopen.c: Include string.h.
25619 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25621         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25622         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25623         * nptl/sysdeps/x86_64/Makefile: Moved ...
25624         * sysdeps/x86_64/nptl/Makefile: ... here.
25625         * nptl/sysdeps/x86_64/configure: Moved ...
25626         * sysdeps/x86_64/nptl/configure: ... here.
25627         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25628         * sysdeps/x86_64/nptl/configure.ac: ... here.
25629         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25630         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25631         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25632         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25633         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25634         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25635         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25636         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25637         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25638         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25639         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25640         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25641         * nptl/sysdeps/x86_64/tls.h: Moved ...
25642         * sysdeps/x86_64/nptl/tls.h: ... here.
25643         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25644         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25645         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25646         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25648         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25650 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25654 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25656         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25657         type.
25658         [POSIX] (off_t): Likewise.
25659         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25660         [POSIX] (S_ISBLK): Require macro.
25661         [POSIX] (S_ISCHR): Likewise.
25662         [POSIX] (S_ISDIR): Likewise.
25663         [POSIX] (S_ISFIFO): Likewise.
25664         [POSIX] (S_ISREG): Likewise.
25665         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25666         optional-macro.
25667         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25668         type.
25669         [POSIX] (time_t): Likewise.
25670         [POSIX] (timer_t): Likewise.
25672 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25674         [BZ #17048]
25675         * posix/spawn_int.h (struct __spawn_action): Make the path string
25676         non-const to support deallocation.
25677         * posix/spawn_faction_addopen.c
25678         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25679         * posix/spawn_faction_destroy.c
25680         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25681         path in all spawn_do_open actions.
25682         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25683         posix_spawn_file_actions_addopen.
25685 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25687         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25688         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25689         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25690         conditional code always true.
25691         (__libc_vfork): New alias.
25693 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25695         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25696         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25698         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25700         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25701         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25703         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25704         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25706         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25707         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25709 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25711         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25712         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25713         multiarch strcmp for PPC64.
25714         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25715         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25717         multiarch optimizations.
25718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25719         (__libc_ifunc_impl_list): Likewise.
25721 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25723         * benchtests/scripts/validate_benchout.py: New script.
25724         * benchtests/Makefile (bench-func): Call it.
25725         * benchtests/scripts/benchout.schema.json: New file.
25727 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25729         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25730         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25731         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25732         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25733         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25734         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25735         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25736         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25737         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25738         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25739         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25740         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25741         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25742         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25743         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25744         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25746         Moved ...
25747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25748         ... here.
25749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25750         Moved ...
25751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25753         Moved ...
25754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25755         ... here.
25756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25757         Moved ...
25758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25759         ... here.
25760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25761         Moved ...
25762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25764         Moved ...
25765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25766         ... here.
25767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25768         Moved ...
25769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25770         ... here.
25771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25772         Moved ...
25773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25775         Moved ...
25776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25777         ... here.
25778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25779         Moved ...
25780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25781         ... here.
25782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25783         Moved ...
25784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25785         ... here.
25786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25787         Moved ...
25788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25790         Moved ...
25791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25792         ... here.
25793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25794         Moved ...
25795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25796         ... here.
25797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25798         Moved ...
25799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25800         ... here.
25801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25802         Moved ...
25803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25805         Moved ...
25806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25807         ... here.
25808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25809         Moved ...
25810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25811         ... here.
25812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25813         Moved ...
25814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25816         Moved ...
25817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25818         ... here.
25819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25820         Moved ...
25821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25823         Moved ...
25824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25826         Moved ...
25827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25828         ... here.
25829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25830         Moved ...
25831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25832         ... here.
25833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25834         Moved ...
25835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25836         ... here.
25837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25838         Moved ...
25839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25841         Moved ...
25842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25843         ... here.
25844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25845         Moved ...
25846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25847         ... here.
25848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25849         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25851         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25853         Moved ...
25854         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25855         ... here.
25856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25857         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25859         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25867         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25869         Moved ...
25870         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25872         Moved ...
25873         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25877         Moved ...
25878         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25880         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25881         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25882         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25883         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25884         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25886 2014-06-10  Wilco  <wdijkstr@arm.com>
25888         * math/test-fenv-return.c: New file.
25889         * math/Makefile: Add new test test-fenv-return.
25891 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25893         [BZ #17042]
25894         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25895         when x - 1 is zero.
25896         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25897         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25898         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25899         0.0L for an argument of 1.0L.
25900         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25901         Likewise.
25902         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25903         value when x - 1 is zero.
25904         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25905         * sysdeps/i386/fpu/libm-test-ulps: Update.
25906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25908 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25910         [BZ #15119]
25911         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25913 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25915         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25916         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25918 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25920         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25921         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25923         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25924         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25926         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25927         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25929         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25930         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25932         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25933         if not already defined.
25934         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25935         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25936         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25937         (TLS_INIT_TP): Use it.
25938         (TLS_DEFINE_INIT_TP): New macro.
25939         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25941 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25943         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25944         constant.
25945         [POSIX] (IXANY): Likewise.
25946         [POSIX] (OLCUC): Likewise.
25947         [POSIX || POSIX2008] (CBAUD): Do not allow.
25948         [POSIX || POSIX2008] (DEFECHO): Likewise.
25949         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25950         [POSIX || POSIX2008] (ECHOKE): Likewise.
25951         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25952         [POSIX || POSIX2008] (EXTA): Likewise.
25953         [POSIX || POSIX2008] (EXTB): Likewise.
25954         [POSIX || POSIX2008] (FLUSHO): Likewise.
25955         [POSIX || POSIX2008] (LOBLK): Likewise.
25956         [POSIX || POSIX2008] (PENDIN): Likewise.
25957         [POSIX || POSIX2008] (SWTCH): Likewise.
25958         [POSIX || POSIX2008] (VDISCARD): Likewise.
25959         [POSIX || POSIX2008] (VDSUSP): Likewise.
25960         [POSIX || POSIX2008] (VLNEXT): Likewise.
25961         [POSIX || POSIX2008] (VREPRINT): Likewise.
25962         [POSIX || POSIX2008] (VSTATUS): Likewise.
25963         [POSIX || POSIX2008] (VWERASE): Likewise.
25964         (B*): Change to B[0123456789]*.
25965         * conform/data/time.h-data [POSIX || UNIX98]
25966         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25967         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25968         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25969         [POSIX] (tm_*): Do not allow.
25971 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25973         * Makefile (install): Don't set LANGUAGE.
25974         * Makefile.in (install): Likewise.
25975         * assert/Makefile (test-assert-ENV): Remove variable.
25976         (test-assert-perr-ENV): Likewise.
25977         * elf/Makefile (neededtest4-ENV): Likewise.
25978         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25979         [$(cross-compiling) = no]: Don't set LANGUAGE.
25980         * io/ftwtest-sh (LANG): Remove variable.
25981         * libio/Makefile (tst-widetext-ENV): Likewise.
25982         * manual/install.texi (Running make install): Don't refer to
25983         environment settings for make install.
25984         * INSTALL: Regenerated.
25985         * nptl/tst-tls6.sh: Don't set LANG.
25986         * posix/globtest.sh (LANG): Remove variable.
25987         * string/Makefile (tester-ENV): Likewise.
25988         (inl-tester-ENV): Likewise.
25989         (noinl-tester-ENV): Likewise.
25990         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25991         [$(cross-compiling) = no]: Don't set LANGUAGE.
25992         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25993         without explicit environment settings.
25995 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25997         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25998         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25999         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26000         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26002 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26004         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26005         other files in the crypt directory.
26006         * crypt/crypt.c: Remove duplicate includes.
26007         * crypt/crypt-entry.c: Likewise.
26008         * crypt/crypt_util.c: Likewise.
26010 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26012         * Makeconfig (run-program-env): New variable.
26013         (run-program-prefix-before-env): Likewise.
26014         (run-program-prefix-after-env): Likewise.
26015         (run-program-prefix): Define in terms of new variables.
26016         (built-program-cmd-before-env): New variable.
26017         (built-program-cmd-after-env): Likewise.
26018         (built-program-cmd): Define in terms of new variables.
26019         (test-program-prefix-before-env): New variable.
26020         (test-program-prefix-after-env): Likewise.
26021         (test-program-prefix): Define in terms of new variables.
26022         (test-program-cmd-before-env): New variable.
26023         (test-program-cmd-after-env): Likewise.
26024         (test-program-cmd): Define in terms of new variables.
26025         * Rules (make-test-out): Use $(run-program-env).
26026         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26027         (help): Do not mention environment variables.  Mention
26028         --timeoutfactor option.
26029         (timeoutfactor): New variable.
26030         (blacklist_exports): Remove function.
26031         (exports): Remove variable.
26032         (command): Do not include ${exports}.
26033         * manual/install.texi (Configuring and compiling): Do not mention
26034         test wrappers preserving environment variables.  Mention that last
26035         assignment to a variable must take precedence.
26036         * INSTALL: Regenerated.
26037         * benchtests/Makefile (run-bench): Use $(run-program-env).
26038         * catgets/Makefile ($(objpfx)test1.cat): Use
26039         $(built-program-cmd-before-env), $(run-program-env) and
26040         $(built-program-cmd-after-env).
26041         ($(objpfx)test2.cat): Do not specify environment variables
26042         explicitly.
26043         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26044         $(run-program-env) and $(built-program-cmd-after-env).
26045         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26046         $(run-program-env) and $(test-program-cmd-after-env).
26047         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26048         explicitly.
26049         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26050         run_program_env and test_program_cmd_after_env arguments.
26051         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26052         * elf/tst-pathopt.sh: Use run_program_env argument.
26053         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26054         $(test-wrapper-env) and $(run-program-env).
26055         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26056         run_program_env arguments.
26057         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26058         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26059         $(test-program-prefix-before-env), $(run-program-env) and
26060         $(test-program-prefix-after-env).
26061         ($(objpfx)tst-gettext2.out): Likewise.
26062         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26063         run_program_env and test_program_prefix_after_env arguments.
26064         * intl/tst-gettext2.sh: Likewise.
26065         * intl/tst-gettext4.sh: Do not set environment variables
26066         explicitly.
26067         * intl/tst-gettext6.sh: Likewise.
26068         * intl/tst-translit.sh: Likewise.
26069         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26070         $(test-program-prefix-before-env), $(run-program-env) and
26071         $(test-program-prefix-after-env).
26072         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26073         run_program_env and test_program_prefix_after_env arguments.
26074         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26075         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26076         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26077         explicitly with each use of ${test_wrapper_env}.
26078         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26079         $(test-program-prefix-before-env), $(run-program-env) and
26080         $(test-program-prefix-after-env).
26081         * posix/tst-getconf.sh: Do not set environment variables
26082         explicitly.
26083         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26084         run_program_env and test_program_prefix_after_env arguments.
26085         * stdio-common/tst-printf.sh: Do not set environment variables
26086         explicitly.
26087         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26088         $(test-program-prefix-before-env), $(run-program-env) and
26089         $(test-program-prefix-after-env).
26090         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26091         run_program_env and test_program_prefix_after_env arguments.
26092         Split $test calls into $test_pre and $test.
26093         * timezone/Makefile (build-testdata): Use
26094         $(built-program-cmd-before-env), $(run-program-env) and
26095         $(built-program-cmd-after-env).
26097 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26099         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26100         strlen for non SHARED builds.
26102 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26104         * nptl/allocatestack.c (check_list): Inlined function...
26105         (__reclaim_stacks): ... here.
26107 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26109         [BZ #15698]
26110         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26111         memory overrun.
26113 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26115         * Rules (make-test-out): Include
26116         LOCPATH=$(common-objpfx)localedata in default environment.
26117         * debug/Makefile (tst-chk1-ENV): Remove variable.
26118         (tst-chk2-ENV): Likewise.
26119         (tst-chk3-ENV): Likewise.
26120         (tst-chk4-ENV): Likewise.
26121         (tst-chk5-ENV): Likewise.
26122         (tst-chk6-ENV): Likewise.
26123         (tst-lfschk1-ENV): Likewise.
26124         (tst-lfschk2-ENV): Likewise.
26125         (tst-lfschk3-ENV): Likewise.
26126         (tst-lfschk4-ENV): Likewise.
26127         (tst-lfschk5-ENV): Likewise.
26128         (tst-lfschk6-ENV): Likewise.
26129         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26130         (tst-iconv7-ENV): Likewise.
26131         * intl/Makefile (LOCPATH-ENV): Likewise.
26132         (tst-codeset-ENV): Likewise.
26133         (tst-gettext3-ENV): Likewise.
26134         (tst-gettext5-ENV): Likewise.
26135         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26136         (tst-fopenloc-ENV): Likewise.
26137         (tst-fgetws-ENV): Remove variable.
26138         (tst-ungetwc1-ENV): Likewise.
26139         (tst-ungetwc2-ENV): Likewise.
26140         (bug-ungetwc2-ENV): Likewise.
26141         (tst-swscanf-ENV): Likewise.
26142         (bug-ftell-ENV): Likewise.
26143         (tst-fgetwc-ENV): Likewise.
26144         (tst-fseek-ENV): Likewise.
26145         (tst-ftell-partial-wide-ENV): Likewise.
26146         (tst-ftell-active-handler-ENV): Likewise.
26147         (tst-ftell-append-ENV): Likewise.
26148         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26149         (tst-regexloc-ENV): Likewise.
26150         (bug-regex1-ENV): Likewise.
26151         (tst-regex-ENV): Likewise.
26152         (tst-regex2-ENV): Likewise.
26153         (bug-regex5-ENV): Likewise.
26154         (bug-regex6-ENV): Likewise.
26155         (bug-regex17-ENV): Likewise.
26156         (bug-regex18-ENV): Likewise.
26157         (bug-regex19-ENV): Likewise.
26158         (bug-regex20-ENV): Likewise.
26159         (bug-regex22-ENV): Likewise.
26160         (bug-regex23-ENV): Likewise.
26161         (bug-regex25-ENV): Likewise.
26162         (bug-regex26-ENV): Likewise.
26163         (bug-regex30-ENV): Likewise.
26164         (bug-regex32-ENV): Likewise.
26165         (bug-regex33-ENV): Likewise.
26166         (bug-regex34-ENV): Likewise.
26167         (bug-regex35-ENV): Likewise.
26168         (tst-rxspencer-ENV): Likewise.
26169         (tst-rxspencer-no-utf8-ENV): Likewise.
26170         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26171         (tst-sscanf-ENV): Likewise.
26172         (tst-swprintf-ENV): Likewise.
26173         (tst-swscanf-ENV): Likewise.
26174         (test-vfprintf-ENV): Likewise.
26175         (scanf13-ENV): Likewise.
26176         (bug14-ENV): Likewise.
26177         (tst-grouping-ENV): Likewise.
26178         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26179         (tst-strtod3-ENV): Likewise.
26180         (tst-strtod4-ENV): Likewise.
26181         (tst-strtod5-ENV): Likewise.
26182         (testmb2-ENV): Likewise./
26183         * string/Makefile (tst-strxfrm-ENV): Likewise.
26184         (tst-strxfrm2-ENV): Likewise.
26185         (bug-strcoll1-ENV): Likewise.
26186         (test-strcasecmp-ENV): Likewise.
26187         (test-strncasecmp-ENV): Likewise.
26188         * time/Makefile (tst-strptime-ENV): Likewise.
26189         (tst-ftime_l-ENV): Likewise.
26190         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26191         (tst-mbrtowc-ENV): Likewise.
26192         (tst-wcrtomb-ENV): Likewise.
26193         (tst-mbrtowc2-ENV): Likewise.
26194         (tst-c16c32-1-ENV): Likewise.
26195         (tst-mbsnrtowcs-ENV): Likewise.
26197 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26199         * manual/resource.texi (How to get information about the memory
26200         subsystem?): Fix typo.
26201         Reported by Peon de la Parra Ivan <peon@keba.com>
26203 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26205         [BZ #16882]
26206         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26207         (pthread_spin_lock): Branch out of spin loop to proper location.
26208         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26209         (pthread_spin_lock): Likewise.
26211         * nptl/tst-spin4.c: New test.
26212         * nptl/Makefile (tests): Add tst-spin4.
26214 2014-06-03  Andreas Schwab  <schwab@suse.de>
26216         [BZ #15946]
26217         * resolv/res_send.c (send_dg): Reload file descriptor after
26218         calling reopen.
26220 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26222         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26224 2014-06-03  Richard Henderson  <rth@redhat.com>
26226         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26227         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26228         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26229         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26230         in the SAVE_PID block.
26231         (__libc_vfork): New alias.
26232         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26234         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26235         child in registers, not on the stack.  Remove RESET_PID conditionals.
26236         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26238 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26240         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26242 2014-06-03  Wilco  <wdijkstr@arm.com>
26244         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26245         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26246         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26247         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26248         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26249         Likewise.
26251 2014-06-03  Wilco  <wdijkstr@arm.com>
26253         * sysdeps/aarch64/fpu/math_private.h
26254         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26255         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26256         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26257         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26258         Fix declarations.
26260 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26262         * crypt/crypt-private.h: Include ufc-crypt.h.
26263         (__b64_from_24bit): Declare extern.
26264         * crypt/crypt_util.c(__b64_from_24bit): New function.
26265         (b64t): New static const variable.
26266         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26267         (b64t): Remove variable.
26268         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26269         * crypt/sha256-crypt.c: Include crypt-private.h.
26270         (b64t): Remove variable.
26271         (__sha256_crypt_r): Remove b64_from_24bit and replace
26272         with __b64_from_24bit.
26273         * crypt/sha512-crypt.c: Likewise.
26275 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26277         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26278         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26279         Label the code __libc_vfork rather than __vfork.
26280         [!NOT_IN_libc] (vfork): Define as weak alias.
26281         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26282         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26283         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26285 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26287         * malloc/malloc.c (malloc_info): Fix format specifier for
26288         n_mmaps.
26290 2014-06-02  Wilco  <wdijkstr@arm.com>
26292         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26293         FPCR write.
26295 2014-06-02  Wilco  <wdijkstr@arm.com>
26297         [BZ #17009]
26298         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26299         Rewrite to reduce FPCR/FPSR accesses.
26301 2014-06-01  David S. Miller  <davem@davemloft.net>
26303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26305 2014-05-31  David S. Miller  <davem@davemloft.net>
26307         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26308         to occur in round to nearest mode when |x| >= 2.0
26310 2014-05-30  Richard Henderson  <rth@twiddle.net>
26312         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26313         (PSEUDO_RET_NOERRNO): Remove.
26314         (ret): Don't redefine.
26315         (ret_NOERRNO): Define in terms of ret.
26316         (ret_ERRVAL): Likewise.
26318         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26319         use of PSEUDO_RET; perform the error check directly.
26321 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26323         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26324         with __int128_t.
26326 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26328         * malloc/malloc (malloc_info): Fix formatting.
26330 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26331             Roland McGrath  <roland@hack.frob.com>
26333         * malloc/malloc (malloc_info): Also print mmapped statistics.
26335 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26337         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26338         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26340 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26342         * malloc/malloc.c (malloc_info): Inline mi_arena.
26344 2014-05-29  Richard Henderson  <rth@twiddle.net>
26346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26347         Remove comma before expanding ASM_ARGS_##nr.
26348         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26349         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26350         of ASM_ARGS_##nr.
26351         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26352         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26353         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26354         (ASM_ARGS_1): Add leading comma.
26356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26357         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26358         to __errno_location.
26359         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26360         Remove the expected plt for __errno_location.
26362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26363         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26364         call to __read_tp.
26366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26367         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26368         it and break it down.
26369         (DOCARGS_0, DOCARGS_1): Do nothing.
26370         (DOCARGS_2): Update to store into the new stack frame.
26371         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26372         (UNDOCARGS_1): Update to restore from the new stack frame.
26373         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26374         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26377         (SINGLE_THREAD_P): New parameter for result regno.
26378         (PSEUDO): Update to match; use cbz instead of beq.
26380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26381         Use ENTRY to define the _nocancel entry point.  Share the syscall
26382         and syscall error check paths with the cancel path.
26383         (PSEUDO_END): New.
26385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26386         whitespace; tabs before and after asm mnemonics.
26388 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26390         [BZ #15132]
26391         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26392         Call fstat64 or stat64 internally, depending on arguments passed.
26393         Replace stat buffer argument with file descriptor argument.
26394         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26395         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26396         Pass fd to __internal_statvfs instead of calling fstat64.
26397         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26398         Pass fd to __internal_statvfs64 instead of calling fstat64.
26399         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26400         Pass -1 to __internal_statvfs instead of calling stat64.
26401         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26402         Pass -1 to __internal_statvfs64 instead of calling stat64.
26404 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26406         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26407         that was previously under [RESET_PID].
26408         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26410         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26411         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26413 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26415         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26417         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26418         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26420 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26422         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26424 2014-05-27  Andreas Schwab  <schwab@suse.de>
26426         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26427         TLS_INIT_TP macro.
26428         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26429         * elf/rtld.c (init_tls, dl_main): Likewise.
26430         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26431         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26432         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26433         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26434         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26435         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26436         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26437         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26438         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26439         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26440         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26441         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26442         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26443         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26444         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26445         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26446         * sysdeps/generic/tls.h: Update description.
26448 2014-05-27  Will Newton  <will.newton@linaro.org>
26450         [BZ #16990]
26451         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26452         and restore r2 rather than just restoring.
26454 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26456         [BZ #16724]
26457         * libio/tst-ftell-append.c: New test case.
26458         * libio/Makefile (tests): Add test case.
26459         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26460         append mode.
26461         * libio/wfileops.c (do_ftell_wide): Likewise.
26463 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26467         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26468         ...
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26471         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26472         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26473         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26474         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26475         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26476         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26478         Moved ...
26479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26481         Moved ...
26482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26483         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26484         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26485         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26486         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26487         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26488         ...
26489         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26490         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26491         Moved ...
26492         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26493         here.
26494         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26495         ...
26496         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26497         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26498         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26500         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26501         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26502         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26503         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26506         merge into ...
26507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26509         ...
26510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26512         ...
26513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26515         Moved ...
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26517         here.
26518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26519         Moved ...
26520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26522         Moved ...
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26526         conditional [RESET_PID].
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26529         removed.
26530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26531         removed.
26533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26534         <tcb-offsets.h>.
26535         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26536         (__libc_vfork): New strong alias.
26537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26538         removed.
26539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26540         Removed.
26542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26543         <tcb-offsets.h>.
26544         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26545         (__libc_vfork): New strong alias.
26546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26547         removed.
26548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26549         removed.
26551 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26553         * malloc/malloc.c (mi_arena): New function.
26554         (malloc_info): Remove nested function mi_arena. Call non-nosted
26555         function mi_arena.
26557 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26559         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26560         by insrwi.
26561         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26562         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26563         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26564         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26565         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26566         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26567         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26569 2014-05-26  Andreas Schwab  <schwab@suse.de>
26571         [BZ #16984]
26572         * locale/programs/repertoire.c (repertoire_read): Add slash
26573         between I18NPATH element and file name.
26574         * locale/programs/locfile.c (locfile_read): Likewise.
26576 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26578         * nptl/pthread_mutexattr_settype.c
26579         (__pthread_mutexattr_settype):
26580         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26582 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26584         * nptl/tst-mutex5 (do_test):
26585         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26587 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26589         * benchtests/README: Document 'init' directive.
26590         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26591         BENCH_INIT.
26592         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26593         (parse_file): Recognize 'init' directive.
26595 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26597         [BZ #16796]
26598         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26599         alignment of struct pthread.
26601 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26603         [BZ #16878]
26604         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26605         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26606         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26607         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26609 2014-05-25  Richard Henderson  <rth@twiddle.net>
26611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26612         (SINGLE_THREAD_P_PIC): Remove.
26613         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26614         (SINGLE_THREAD_P_PIC): Remove.
26616         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26617         branch to syscall error ...
26618         (PSEUDO): ... here.
26619         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26620         from __local_syscall_error to .Lsyscall_error.
26621         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26622         (SYSCALL_ERROR): Update label name.
26624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26625         Do not use DOARGS/UNDOARGS.
26626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26627         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26628         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26629         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26630         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26633         block comment.
26635         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26636         define if !NOT_IN_libc.
26637         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26638         define with non-default symbol versions.
26640 2014-05-23  Richard Henderson  <rth@twiddle.net>
26642         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26643         (vfork, __vfork): Define via compat_symbol.
26645         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26646         [!HAVE_IFUNC] (vfork_compat): Remove.
26647         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26649 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26651         [BZ #16978]
26652         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26653         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26654         variable.
26656 2014-05-23  Richard Henderson  <rth@twiddle.net>
26658         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26659         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26660         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26661         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26663         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26664         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26665         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26666         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26667         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26668         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26669         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26670         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26671         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26672         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26673         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26674         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26675         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26676         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26677         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26678         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26680         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26682         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26684         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26685         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26686         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26687         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26688         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26689         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26690         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26691         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26692         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26693         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26694         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26695         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26696         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26697         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26698         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26699         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26700         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26701         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26702         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26703         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26704         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26705         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26706         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26707         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26708         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26710         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26711         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26712         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26714         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26716         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26718         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26720         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26721         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26722         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26723         before exiting on error.
26724         (__libc_vfork): New strong alias.
26725         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26726         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26728         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26729         that was previously under [RESET_PID].
26730         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26732         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26734 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26736         [BZ #16977]
26737         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26738         value when x - 1 is zero.
26739         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26740         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26741         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26742         0.0L for an argument of 1.0L.
26743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26744         Likewise.
26745         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26746         value when x - 1 is zero.
26747         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26748         * sysdeps/i386/fpu/libm-test-ulps: Update.
26749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26751 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26753         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26754         alphasort and versionsort.
26756 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26758         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26759         macro.
26760         [copysignf]: Likewise.
26762 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26764         * crypt/md5-crypt.c: Fix formatting.
26766 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26768         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26769         (b64_from_24bit): New function.
26771 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26773         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26774         libc_hidden_builtin_def to ifunc.
26775         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26776         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26778 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26780         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26781         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26783 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26785         * nscd/Depend (linuxthreads): Remove.
26786         (nptl): Add.
26787         * resolv/Depend (linuxthreads): Remove.
26788         * rt/Depend (linuxthreads): Remove.
26790         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26791         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26792         $(common-objpfx)elf/.
26793         (link-libc-before-gnulib): Likewise.
26794         (elfobjdir): Remove variable.
26795         * Makefile (install): Use $(elf-objpfx) instead of
26796         $(common-objpfx)elf/.
26797         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26798         $(elfobjdir)/.
26799         (link-libc-deps): Likewise.
26800         ($(common-objpfx)libc.so): Likewise.
26801         ($(common-objpfx)linkobj/libc.so): Likewise.
26802         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26803         instead of $(common-objpfx)elf/.
26804         (symbolic-link-list): Likewise.
26805         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26806         [$(cross-compiling) = no]: Likewise.
26807         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26808         $(elfobjdir)/.
26809         (static-gnulib-arch): Likewise.
26810         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26811         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26812         $(common-objpfx)elf/.
26814 2014-05-21  Richard Henderson  <rth@redhat.com>
26816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26817         (SINGLE_THREAD_P): Use the correct width load.  Fold
26818         into the ldr offset.
26820         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26821         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26823 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26825         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26826         (libgcc_s_resume): Use __attribute_used__.
26827         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26828         Likewise.
26830 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26832         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26833         optimization when used with float constants.
26835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26837 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26839         [BZ #16915]
26840         * locale/nl_langinfo_l.c: Make direct reference to every
26841         _nl_current_CATEGORY symbol.
26842         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26843         (tests-static): Add tst-langinfo-static.
26844         (tests-special): Add tst-langinfo-static.out.
26845         ($(objpfx)tst-langinfo.out): Redirect output.
26846         ($(objpfx)tst-langinfo-static.out): New.
26847         * localedata/tst-langinfo.sh: Send output to stdout.
26848         * localedata/tst-langinfo-static.c: New file.
26850         [BZ #16965]
26851         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26852         when the shift amount is modulo the limb size.
26854 2014-05-20  Richard Henderson  <rth@redhat.com>
26856         [BZ #16967]
26857         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26858         Change type of sa_flags from unsigned int to int.
26860         [BZ #16966]
26861         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26863         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26865 2014-05-20  Will Newton  <will.newton@linaro.org>
26867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26868         Test the return value of the system call in the nocancel case.
26870 2014-05-20  Will Newton  <will.newton@linaro.org>
26871             Yvan Roux  <yvan.roux@linaro.org>
26873         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26874         #include of asm/ptrace.h.
26875         (PTRACE_GET_THREAD_AREA): Remove #undef.
26876         (PTRACE_GETHBPREGS): Likewise.
26877         (PTRACE_SETHBPREGS): Likewise.
26878         (struct user_regs_struct): New structure.
26879         (struct user_fpsimd_struct): New structure.
26880         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26881         #include of asm/ptrace.h and second #include of sys/user.h.
26882         (PTRACE_GET_THREAD_AREA): Remove #undef.
26883         (PTRACE_GETHBPREGS): Likewise.
26884         (PTRACE_SETHBPREGS): Likewise.
26885         (ELF_NGREG): Use new struct user_regs_struct.
26886         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26888 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26891         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26893 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26895         [BZ #16958]
26896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26897         membar to avoid block loads/stores to overlap previous stores.
26899 2014-05-17  Richard Henderson  <rth@redhat.com>
26901         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26902         Create the __##syscall_name##_nocancel entry point.
26903         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26904         Remove; let the sysdep-cancel.h code create it.
26906 2014-05-17  David S. Miller  <davem@davemloft.net>
26908         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26909         Protect with __USE_GNU.
26910         (TIOCSET_TEMPT): Likewise.
26911         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26912         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26913         these are already provided in bits/ioctl-types.h
26915 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26917         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26918         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26920         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26921         Use wait4 regardless of [__NR_waitpid].
26923 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26925         PR libgcc/60166
26926         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26927         (_FP_NANSIGN_Q): Set the quiet bit.
26929 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26931         * benchtests/Makefile
26932         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26933         not $(common-objpfx)math/libm.so.
26934         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26935         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26936         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26937         $(common-objpfx)dlfcn/libdl.so.
26938         ($(objpfx)tst-audit8): Depend on $(libm), not
26939         $(common-objpfx)math/libm.so.
26940         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26941         not $(common-objpfx)dlfcn/libdl.so.
26942         * math/Makefile
26943         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26944         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26945         [$(build-shared) = yes].
26946         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26947         $(common-objpfx)nptl/libpthread.so.
26948         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26949         $(common-objpfx)math/libm.so$(libm.so-version) or
26950         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26951         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26952         $(common-objpfx)dlfcn/libdl.so.
26953         * setjmp/Makefile (link-libm): Remove variable.
26954         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26955         * stdio-common/Makefile (link-libm): Remove variable.
26956         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26957         * stdlib/Makefile (link-libm): Remove variable.
26958         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26959         ($(objpfx)tst-strtod-round): Likewise.
26960         ($(objpfx)tst-tininess): Likewise.
26961         ($(objpfx)tst-strtod-underflow): Likewise.
26962         ($(objpfx)tst-strtod6): Likewise.
26963         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26964         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26965         $(common-objpfx)dlfcn/libdl.so.
26967 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26969         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26970         BSD terminal modes definitions.
26972 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26974         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26975         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26977         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26978         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26979         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26980         Don't do #include_next.
26981         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26982         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26983         Don't do #include_next.
26984         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26985         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26986         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26987         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26989 2014-05-16  Allan McRae  <allan@archlinux.org>
26991         * po/sv.po: Update Swedish translation from translation project.
26993         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26994         in sed expression.
26996 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26998         [BZ #16917]
26999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27000         errno if the TIOCGPTN ioctl fails with an error different than
27001         EINVAL.
27002         * login/tst-ptsname.c: New file.
27003         * login/Makefile (tests): Add tst-ptsname.
27005         [BZ #16943]
27006         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27007         and prlimit64.
27009 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27011         [BZ #16849]
27012         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27013         herrno to return EAI_AGAIN.
27015 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27017         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27018         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27019         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27020         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27021         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27022         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27023         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27024         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27025         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27026         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27027         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27028         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27029         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27030         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27031         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27032         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27033         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27034         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27035         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27036         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27037         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27038         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27039         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27040         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27041         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27042         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27043         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27044         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27045         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27046         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27048         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27050         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27052         Moved ...
27053         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27055         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27057         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27059         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27061         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27063         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27065         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27067         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27069         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27071         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27073         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27075         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27077         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27079         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27081         Moved ...
27082         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27084         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27086         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27088         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27090         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27092         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27094         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27096         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27098         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27100         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27102         Moved ...
27103         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27105         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27108         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27109         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27110         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27111         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27112         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27113         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27115         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27116         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27117         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27118         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27119         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27120         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27121         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27122         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27123         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27124         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27125         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27126         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27127         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27128         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27129         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27130         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27131         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27132         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27133         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27134         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27135         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27136         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27137         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27139         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27140         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27142         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27143         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27144         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27145         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27146         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27148         Moved ...
27149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27151         Moved ...
27152         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27154         Moved ...
27155         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27156         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27157         Moved ...
27158         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27159         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27160         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27161         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27162         Moved ...
27163         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27164         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27165         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27167         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27168         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27169         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27171         Moved ...
27172         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27174         Moved ...
27175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27176         ... here.
27177         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27178         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27179         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27180         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27182         Moved ...
27183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27184         ... here.
27185         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27186         Moved ...
27187         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27188         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27189         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27190         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27191         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27193         Moved ...
27194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27196         Moved ...
27197         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27199         Moved ...
27200         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27201         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27202         Moved ...
27203         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27204         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27205         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27206         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27207         Moved ...
27208         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27209         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27210         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27212         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27213         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27214         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27216         Moved ...
27217         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27219         Moved ...
27220         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27221         ... here.
27222         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27223         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27224         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27225         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27227         Moved ...
27228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27229         ... here.
27230         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27231         Moved ...
27232         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27233         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27234         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27235         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27236         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27237         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27239         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27240         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27242         Moved ...
27243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27244         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27245         Moved ...
27246         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27248         Moved ...
27249         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27251         Moved ...
27252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27253         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27254         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27255         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27256         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27258         Moved ...
27259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27260         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27261         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27264         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27265         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27267         Moved ...
27268         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27270         Moved ...
27271         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27272         ... here.
27273         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27274         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27275         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27276         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27278         Moved ...
27279         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27280         ... here.
27281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27282         Moved ...
27283         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27284         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27285         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27286         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27287         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27289         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27290         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27291         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27292         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27293         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27295         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27296         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27298         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27299         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27301         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27302         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27303         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27304         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27305         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27306         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27307         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27308         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27309         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27310         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27312         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27314         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27315         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27317         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27319         Moved ...
27320         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27324         Moved ...
27325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27327         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27329         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27330         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27331         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27332         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27333         Moved ...
27334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27336         Moved ...
27337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27343         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27344         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27345         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27346         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27347         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27348         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27349         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27350         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27351         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27352         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27353         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27355         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27356         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27357         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27358         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27359         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27361         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27362         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27363         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27364         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27365         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27366         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27367         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27368         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27369         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27370         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27373         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27375         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27376         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27377         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27378         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27379         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27380         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27381         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27382         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27383         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27384         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27385         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27386         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27387         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27388         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27390         Update #include.
27391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27392         Likewise.
27393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27394         Likewise.
27395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27396         Likewise.
27397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27398         Likewise.
27399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27400         Likewise.
27401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27402         Likewise.
27403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27404         Likewise.
27405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27406         Likewise.
27407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27408         Likewise.
27409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27425         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27426         that was previously under [RESET_PID].
27427         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27428         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27429         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27431         * sysdeps/i386/nptl/Implies: New file.
27432         * sysdeps/x86_64/nptl/Implies: New file.
27433         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27434         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27436         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27438         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27439         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27440         (__libc_vfork): New strong alias.
27441         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27442         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27444         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27445         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27446         (__libc_vfork): New strong alias.
27447         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27448         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27450         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27451         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27452         (__libc_vfork): New strong alias.
27453         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27454         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27455         * nptl/pt-vfork.c: New file.
27456         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27457         (libpthread: GLIBC_2.20): New version set (empty).
27459 2014-05-14  Will Newton  <will.newton@linaro.org>
27461         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27462         rather than #if.
27464 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27466         [BZ #16564]
27467         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27468         arguments with exponent 65 or above.
27469         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27470         arguments 0x1p113L or above.
27471         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27472         to arguments 0x1p107L or above.
27473         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27474         positive arguments with exponent 65 or above.
27475         * math/auto-libm-test-in: Add more tests of log1p.
27476         * math/auto-libm-test-out: Regenerated.
27478         [BZ #16928]
27479         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27480         non-finite arguments is +0.
27481         * math/s_cacosf.c (__cacosf): Likewise.
27482         * math/s_cacosl.c (__cacosl): Likewise.
27483         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27484         * sysdeps/i386/fpu/libm-test-ulps: Update.
27485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27487         [BZ #16927]
27488         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27489         value.
27490         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27491         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27492         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27493         for explicit high bit of mantissa when testing for argument equal
27494         to 1.
27495         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27496         * sysdeps/i386/fpu/libm-test-ulps: Update.
27497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27499         [BZ #16516]
27500         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27501         (__erf): Scale by 16 instead of 8 in potentially underflowing
27502         case.  Ensure exception if result actually underflows.
27503         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27504         (__erff): Scale by 16 instead of 8 in potentially underflowing
27505         case.  Ensure exception if result actually underflows.
27506         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27507         (efx8): Remove variable.
27508         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27509         case.  Ensure exception if result actually underflows.
27510         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27511         (efx8): Remove variable.
27512         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27513         case.  Ensure exception if result actually underflows.
27514         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27515         (efx8): Remove variable.
27516         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27517         case.  Ensure exception if result actually underflows.
27518         * math/auto-libm-test-in: Add more tests of erf.
27519         * math/auto-libm-test-out: Regenerated.
27521 2014-05-14  Andreas Schwab  <schwab@suse.de>
27523         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27524         Remove code conditionalized on USE___THREAD.
27526         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27527         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27528         not definedness.
27530 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27532         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27533         Define unconditionally.
27534         (__ASSUME_O_CLOEXEC): Likewise.
27535         (__ASSUME_SOCK_CLOEXEC): Likewise.
27536         (__ASSUME_IN_NONBLOCK): Likewise.
27537         (__ASSUME_PIPE2): Likewise.
27538         (__ASSUME_EVENTFD2): Likewise.
27539         (__ASSUME_SIGNALFD4): Likewise.
27540         (__ASSUME_DUP3): Likewise.
27541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27542         (__ASSUME_DUP3): Do not define.
27543         (__ASSUME_EVENTFD2): Likewise.
27544         (__ASSUME_IN_NONBLOCK): Likewise.
27545         (__ASSUME_O_CLOEXEC): Likewise.
27546         (__ASSUME_PIPE2): Likewise.
27547         (__ASSUME_SIGNALFD4): Likewise.
27548         (__ASSUME_SOCK_CLOEXEC): Likewise.
27549         (__ASSUME_UTIMES): Undefine.
27550         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27551         (__ASSUME_UTIMES): Do not define.
27552         (__ASSUME_O_CLOEXEC): Likewise.
27553         (__ASSUME_SOCK_CLOEXEC): Likewise.
27554         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27555         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27556         0x020621].
27557         (__ASSUME_PIPE2): Likewise.
27558         (__ASSUME_EVENTFD2): Likewise.
27559         (__ASSUME_SIGNALFD4): Likewise.
27560         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27561         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27562         Do not define.
27563         (__ASSUME_EVENTFD2): Likewise.
27564         (__ASSUME_SIGNALFD4): Likewise.
27565         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27566         (__ASSUME_32BITUIDS): Likewise.
27567         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27568         (__ASSUME_IPC64): Likewise.
27569         (__ASSUME_ST_INO_64_BIT): Likewise.
27570         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27571         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27572         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27573         (__ASSUME_UTIMES): Do not define.
27574         (__ASSUME_PSELECT): Likewise.
27575         (__ASSUME_PPOLL): Likewise.
27576         (__ASSUME_O_CLOEXEC): Likewise.
27577         (__ASSUME_SOCK_CLOEXEC): Likewise.
27578         (__ASSUME_IN_NONBLOCK): Likewise.
27579         (__ASSUME_PIPE2): Likewise.
27580         (__ASSUME_EVENTFD2): Likewise.
27581         (__ASSUME_SIGNALFD4): Likewise.
27582         (__ASSUME_DUP3): Likewise.
27583         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27584         (__ASSUME_UTIMES): Likewise.
27585         (__ASSUME_O_CLOEXEC): Likewise.
27586         (__ASSUME_SOCK_CLOEXEC): Likewise.
27587         (__ASSUME_IN_NONBLOCK): Likewise.
27588         (__ASSUME_PIPE2): Likewise.
27589         (__ASSUME_EVENTFD2): Likewise.
27590         (__ASSUME_SIGNALFD4): Likewise.
27591         (__ASSUME_DUP3): Likewise.
27592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27593         (__ASSUME_UTIMES): Likewise.
27594         (__ASSUME_O_CLOEXEC): Likewise.
27595         (__ASSUME_SOCK_CLOEXEC): Likewise.
27596         (__ASSUME_IN_NONBLOCK): Likewise.
27597         (__ASSUME_PIPE2): Likewise.
27598         (__ASSUME_EVENTFD2): Likewise.
27599         (__ASSUME_SIGNALFD4): Likewise.
27600         (__ASSUME_DUP3): Likewise.
27601         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27602         Likewise.
27603         (__ASSUME_UTIMES): Likewise.
27604         (__ASSUME_EVENTFD2): Likewise.
27605         (__ASSUME_SIGNALFD4): Likewise.
27606         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27607         (__ASSUME_O_CLOEXEC): Likewise.
27608         (__ASSUME_SOCK_CLOEXEC): Likewise.
27609         (__ASSUME_IN_NONBLOCK): Likewise.
27610         (__ASSUME_PIPE2): Likewise.
27611         (__ASSUME_EVENTFD2): Likewise.
27612         (__ASSUME_SIGNALFD4): Likewise.
27613         (__ASSUME_DUP3): Likewise.
27614         (__ASSUME_UTIMES): Undefine.
27616         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27617         feclearexcept.  Remove symbol versioning code.
27618         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27619         symbol versioning code.
27620         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27621         symbol versioning code.
27622         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27623         feupdateenv.  Remove symbol versioning code.
27624         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27625         fegetexceptflag.  Remove symbol versioning code.
27626         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27627         fesetexceptflag.  Remove symbol versioning code.
27628         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27629         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27630         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27631         (__posix_fadvise64_l32): Remove prototype.
27632         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27633         code.
27635 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27637         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27638         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27639         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27640         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27642 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27644         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27645         current working directory
27647 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27649         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27650         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27651         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27652         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27653         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27654         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27655         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27656         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27657         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27658         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27659         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27660         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27662         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27664         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27665         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27666         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27667         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27668         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27669         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27670         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27672         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27673         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27674         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27676         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27678         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27680         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27681         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27682         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27683         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27684         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27685         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27686         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27687         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27688         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27689         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27690         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27692         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27693         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27695         * sysdeps/unix/sysv/linux/arm/Makefile
27696         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27697         Add rt-aeabi_unwind_cpp_pr1.
27698         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27699         Add nptl-aeabi_unwind_cpp_pr1.
27700         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27701         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27702         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27703         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27704         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27705         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27707         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27708         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27709         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27710         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27712         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27713         Deconditionalize the code that was previously under [RESET_PID].
27714         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27716         * sysdeps/generic/exit-thread.h: New file.
27717         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27718         * include/unistd.h (__exit_thread): Remove declaration.
27719         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27720         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27721         * csu/libc-start.c: Include <exit-thread.h>.
27722         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27723         * nptl/pthread_create.c: Include <exit-thread.h>.
27724         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27725         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27726         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27727         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27728         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27729         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27730         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27731         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27732         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27733         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27734         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27735         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27736         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27737         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27738         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27739         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27740         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27742 2014-05-13  Andreas Schwab  <schwab@suse.de>
27744         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27746 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27748         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27749         (__ASSUME_UTIMES): Do not condition on kernel version.
27750         (__ASSUME_PSELECT): Define unconditionally.
27751         (__ASSUME_PPOLL): Likewise.
27752         (__ASSUME_ATFCTS): Likewise.
27753         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27754         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27755         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27756         (__ASSUME_UTIMENSAT): Define unconditionally.
27757         (__ASSUME_PRIVATE_FUTEX): Likewise.
27758         (__ASSUME_FALLOCATE): Likewise.
27759         (__ASSUME_O_CLOEXEC): Likewise.
27760         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27761         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27762         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27763         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27764         (__ASSUME_IN_NONBLOCK): Likewise.
27765         (__ASSUME_PIPE2): Likewise.
27766         (__ASSUME_EVENTFD2): Likewise.
27767         (__ASSUME_SIGNALFD4): Likewise.
27768         (__ASSUME_DUP3): Likewise.
27769         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27770         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27771         (__ASSUME_AT_RANDOM): Likewise.
27772         (__ASSUME_PREADV): Likewise.
27773         (__ASSUME_PWRITEV): Likewise.
27774         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27775         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27776         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27777         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27778         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27779         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27780         (__ASSUME_O_CLOEXEC): Define unconditionally.
27781         (__ASSUME_PSELECT): Do not undefine conditionally.
27782         (__ASSUME_PPOLL): Likewise.
27783         (__ASSUME_ATFCTS): Likewise.
27784         (__ASSUME_SET_ROBUST_LIST): Likewise.
27785         (__ASSUME_UTIMENSAT): Likewise.
27786         (__ASSUME_FDATASYNC): Define unconditionally.
27787         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27788         (__ASSUME_SIGFRAME_V2): Likewise.
27789         )__ASSUME_EVENTFD2): Likewise.
27790         (__ASSUME_SIGNALFD4): Likewise.
27791         (__ASSUME_PSELECT): Do not undefine conditionally.
27792         (__ASSUME_PPOLL): Likewise.
27793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27794         (__ASSUME_PSELECT): Define unconditionally.
27795         (__ASSUME_PPOLL): Likewise.
27796         (__ASSUME_O_CLOEXEC): Likewise.
27797         (__ASSUME_SOCK_CLOEXEC): Likewise.
27798         (__ASSUME_IN_NONBLOCK): Likewise.
27799         (__ASSUME_PIPE2): Likewise.
27800         (__ASSUME_EVENTFD2): Likewise.
27801         (__ASSUME_SIGNALFD4): Likewise.
27802         (__ASSUME_DUP3): Likewise.
27803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27804         (__ASSUME_O_CLOEXEC): Likewise.
27805         (__ASSUME_SOCK_CLOEXEC): Likewise.
27806         (__ASSUME_IN_NONBLOCK): Likewise.
27807         (__ASSUME_PIPE2): Likewise.
27808         (__ASSUME_EVENTFD2): Likewise.
27809         (__ASSUME_SIGNALFD4): Likewise.
27810         (__ASSUME_DUP3): Likewise.
27811         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27812         (__ASSUME_EVENTFD2): Likewise.
27813         (__ASSUME_SIGNALFD4): Likewise.
27814         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27816 2014-05-12  Andreas Schwab  <schwab@suse.de>
27818         [BZ #16932]
27819         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27820         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27821         than maximum RPC packet size.
27822         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27823         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27824         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27825         (_nss_nis_getservbyport_r): Likewise.
27827 2014-05-12  Will Newton  <will.newton@linaro.org>
27829         * malloc/Makefile (tests): Add tst-mallopt.
27830         * malloc/tst-mallopt.c: New file.
27832 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27834         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27835         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27837 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27839         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27840         (tst-tlsmod6.so): Likewise.
27842 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27844         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27846 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27848         [BZ #16064]
27849         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27850         and <dl-procinfo.h>.
27851         (__fegetenv): Save SSE state in envp->__eip if supported.
27852         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27853         envp->__eip if supported.
27854         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27855         and <dl-procinfo.h>.
27856         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27857         __data_offset and __data_selector in environment to 0.  Set SSE
27858         state if supported.
27859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27860         test-fenv-sse.
27861         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27862         -mfpmath=sse.
27863         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27865 2014-05-09  Will Newton  <will.newton@linaro.org>
27867         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27868         and libc_relro_required for ARM.
27869         * sysdeps/arm/preconfigure: Regenerate.
27871 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27872             Stefan Liebler  <stli@linux.vnet.ibm.com>
27874         * config.make.in (enable-lock-elision): New Makefile variable.
27875         * configure.ac: Likewise.
27876         * configure: Regenerate.
27877         * sysdeps/s390/configure.ac:
27878         Add check for gcc transactions support.
27879         * sysdeps/s390/configure: Regenerate.
27880         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27881         Build elision files if enabled.
27882         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27883         Add lock elision support for s390.
27884         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27885         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27886         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27887         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27888         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27889         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27890         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27891         Likewise.
27892         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27893         Likewise.
27894         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27895         Likewise.
27896         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27897         Likewise.
27898         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27899         (__lll_timedlock_elision, __lll_lock_elision)
27900         (__lll_unlock_elision, __lll_trylock_elision)
27901         (lll_timedlock_elision, lll_lock_elision)
27902         (lll_unlock_elision, lll_trylock_elision): Add.
27903         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27904         (pthread_mutex_t): Add lock elision support for s390.
27906 2014-05-14  Wilco  <wdijkstr@arm.com>
27908         * sysdeps/arm/fclrexcpt.c: Cleanup.
27909         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27910         * sysdeps/arm/feenablxcpt.c: Cleanup.
27911         * sysdeps/arm/fegetenv.c: Cleanup.
27912         * sysdeps/arm/fegetexcept.c: Cleanup.
27913         * sysdeps/arm/fegetround.c: Cleanup.
27914         * sysdeps/arm/feholdexcpt.c: Cleanup.
27915         * sysdeps/arm/fesetenv.c: Cleanup.
27916         * sysdeps/arm/fesetround.c: Cleanup.
27917         * sysdeps/arm/feupdateenv.c: Cleanup.
27918         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27919         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27920         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27921         * sysdeps/arm/ftestexcept.c: Cleanup.
27922         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27923         * sysdeps/arm/setfpucw.c: Cleanup.
27925 2014-05-09  Will Newton  <will.newton@linaro.org>
27927         * sysdeps/arm/armv7/strcmp.S: New file.
27928         * NEWS: Mention addition of ARMv7 optimized strcmp.
27930 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27932         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27933         look for %.ac rather than %.in.
27935         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27936         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27937         * sysdeps/mach/hurd/configure: Regenerated.
27938         * sysdeps/unix/sysv/linux/configure: Regenerated.
27940         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27942 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27944         [BZ# 16922]
27945         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27946         (LONG_SUB): Ditto.
27947         (PTR_SUB): Ditto.
27949 2014-05-07  Andreas Schwab  <schwab@suse.de>
27951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27952         when skipping over non-matching result from nscd.
27954 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27956         [BZ #16876]
27957         * nptl/sockperf.c (client): Check socket return value.
27959         [BZ #16877]
27960         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27961         nscd security class.
27963 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27965         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27966         * sysdeps/arm/unwind.h: ... here.
27968 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27970         [BZ# 16916]
27971         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27972         Define.
27974 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27976         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27977         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27978         multiarch strncpy for PPC64.
27979         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27980         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27982         multiarch optimizations.
27983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27984         (__libc_ifunc_impl_list): Likewise.
27985         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27986         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27987         multiarch stpncpy for PPC64.
27988         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27991 2014-05-06  Andreas Schwab  <schwab@suse.de>
27993         [BZ #16912]
27994         * gmon/mcount.c (_MCOUNT_DECL): Use
27995         atomic_compare_and_exchange_bool_acq instead of
27996         catomic_compare_and_exchange_bool_acq.
27998 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28000         * elf/Makefile (others, install-bin): Remove pldd.
28001         (pldd-modules): Variable removed.
28002         ($(objpfx)pldd): Target removed.
28003         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28004         (others, install-bin): Append pldd here.
28005         ($(objpfx)pldd): New target.
28007         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28008         to 0, so the first #if test emitted later doesn't see it undefined.
28009         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28010         * sysdeps/gnu/errlist.c: Regenerated.
28012 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28015         [libc_hidden_builtin_def]: Define to empty value.
28016         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28017         [libc_hidden_builtin_def]: Likewise.
28018         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28019         [libc_hidden_builtin_def]: Likewise.
28020         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28021         [libc_hidden_builtin_def]: Likewise.
28022         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28023         __redirect_memcpy and define ifunc as default hidden symbol.
28024         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28025         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28027 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28029         * locale/iso-4217.def: Reintroduce XDR currency.
28031 2014-05-04  Allan McRae  <allan@archlinux.org>
28033         * po/eo.po: Update Esperanto translation from translation project.
28035 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28037         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28038         and FEATURE_INDEX_MAX to 1.
28039         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28041 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28043         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28044         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28045         * iconvdata/big5.c (ONE_DIRECTION): Define.
28046         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28047         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28048         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28049         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28050         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28051         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28052         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28053         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28054         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28055         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28056         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28057         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28058         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28059         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28060         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28061         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28062         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28063         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28064         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28065         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28066         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28067         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28068         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28069         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28070         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28071         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28072         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28073         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28074         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28075         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28076         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28077         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28078         * iconvdata/johab.c (ONE_DIRECTION): Define.
28079         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28080         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28081         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28082         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28083         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28084         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28085         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28086         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28087         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28088         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28090 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28092         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28093         (_IO_JUMPS_OFFSET): Define to 0.
28095         * nptl/sysdeps/pthread/bits/libc-lock.h
28096         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28097         (__libc_lock_define_initialized_recursive): Always define using
28098         initializer.  Modern compilers treat uninitialized (implicit zero) and
28099         explicit zero initializers the same (i.e. put the datum in bss).
28101 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28103         * nscd/nscd-client.h: Include <string.h>.
28105 2014-05-01  David S. Miller  <davem@davemloft.net>
28107         [BZ #16885]
28108         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28109         multiple zero bytes exist at the end of a string.
28110         Reported by Aurelien Jarno <aurelien@aurel32.net>
28112         * string/test-strcmp.c (check): Add explicit test for situations where
28113         there are multiple zero bytes after the first.
28115 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28117         [BZ #16890]
28118         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28119         when compiling wprintf.
28120         * stdio-common/tstdiomisc.c (t3): New function.
28121         (main): Call it.
28123 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28125         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28126         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28127         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28128         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28130 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28132         * stdlib/longlong.h: Updated from GCC.
28134 2014-05-01  Will Newton  <will.newton@linaro.org>
28135             Bernard Ogden  <bernie.ogden@linaro.org>
28137         * NEWS: Update fixed bug list.
28139         [BZ #15119]
28140         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28142 2014-04-30  David S. Miller  <davem@davemloft.net>
28144         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28145         (libc_feholdexcept_setround_sparc_ctx): New function.
28146         (libc_fesetenv_sparc_ctx): Likewise.
28147         (libc_feupdateenv_sparc_ctx): Likewise.
28148         (libc_feholdsetround_sparc_ctx): Likewise.
28149         (libc_feholdexcept_setround_ctx): Define.
28150         (libc_feholdexcept_setroundf_ctx): Likewise.
28151         (libc_feholdexcept_setroundl_ctx): Likewise.
28152         (libc_fesetenv_ctx): Likewise.
28153         (libc_fesetenvf_ctx): Likewise.
28154         (libc_fesetenvl_ctx): Likewise.
28155         (libc_feupdateenv_ctx): Likewise.
28156         (libc_feupdateenvf_ctx): Likewise.
28157         (libc_feupdateenvl_ctx): Likewise.
28158         (libc_feresetround_ctx): Likewise.
28159         (libc_feresetroundf_ctx): Likewise.
28160         (libc_feresetroundl_ctx): Likewise.
28161         (libc_feholdsetround_ctx): Likewise.
28162         (libc_feholdsetroundf_ctx): Likewise.
28163         (libc_feholdsetroundl_ctx): Likewise.
28165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28166         with __USE_GNU instead of XOPEN cpp guards.
28168         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28169         0.
28171         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28172         with XOPEN cpp guards.
28174 2014-04-30  Julian Brown  <julian@codesourcery.com>
28176         [BZ #16888]
28177         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28178         handling.
28180 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28182         [BZ #9894]
28183         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28184         Change to 2.6.32.
28185         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28186         * sysdeps/unix/sysv/linux/configure: Regenerated.
28187         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28188         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28189         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28190         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28191         * README: Update reference to required Linux kernel version.
28192         * manual/install.texi (Linux): Update reference to required Linux
28193         kernel headers version.
28194         * INSTALL: Regenerated.
28196         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28197         header inclusion.
28198         [POSIX] (limits.h): Likewise.
28199         [POSIX] (math.h): Likewise.
28200         [POSIX] (sys/wait.h): Likewise.
28201         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28202         function.
28203         [POSIX] (stddef.h): Do not allow header inclusion.
28205 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28207         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28209 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28211         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28212         Return immediately after lll_futex_wake.
28214 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216         [BZ #16791]
28217         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28218         structure.
28219         (datahead_init_pos): Call datahead_init_common early.
28220         (datahead_init_neg): Likewise.
28222         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28223         datahead_init_neg): New functions.
28224         * nscd/aicache.c (addhstaiX): Use them.
28225         * nscd/grpcache.c (cache_addgr): Likewise.
28226         * nscd/hstcache.c (cache_addhst): Likewise.
28227         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28228         * nscd/netgroupcache.c (do_notfound): Likewise.
28229         (addgetnetgrentX): Likewise.
28230         (addinnetgrX): Likewise.
28231         * nscd/pwdcache.c (cache_addpw): Likewise.
28232         * nscd/servicescache.c (cache_addserv): Likewise.
28234 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28235             Atsushi Onoe  <atsushi@onoe.org>
28237         [BZ #14308]
28238         [BZ #12994]
28239         [BZ #13651]
28240         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28241         one response is valid.
28242         * resolv/res_send.c (send_dg): Check for validity of other
28243         response if the current response is a referral.
28245 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28247         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28249 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28251         [BZ #16823]
28252         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28253         Always divide by positive zero when computing -Inf result.
28254         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28255         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28257 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28259         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28260         FPSCR if value do not change.
28261         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28262         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28263         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28264         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28265         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28266         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28267         function.
28269 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28271         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28272         * sysdeps/unix/sysv/linux/hppa: Move directory from
28273         ports/systeps/unix/sysv/linux/hppa.
28274         * README: Update listing for hppa-*-linux-gnu.
28276 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28278         [BZ #16754]
28279         * manual/stdio.texi (Hook functions): Fix types of stream hook
28280         functions.
28281         [BZ #16854]
28282         * socket/sys/socket.h: Fix typo in comment.
28284 2014-04-28  Wilco  <wdijkstr@arm.com>
28286         * sysdeps/arm/fenv_private.h: New file.
28287         * sysdeps/arm/math_private.h: New file.
28288         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28290 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28292         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28293         with __int128_t.
28294         (La_x86_64_retval): Likewise.
28296 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28298         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28299         fpsr if value didn't change.
28300         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28301         to fpcr if value didn't change.
28302         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28303         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28304         fpsr or fpcr if value didn't change.
28305         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28306         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28307         fpcr if value didn't change.
28308         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28309         to fpsr if value didn't change.
28311 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28313         * nptl/tst-sem3.c: Use test-skeleton.c
28314         (main): Rename to do_test.  Use return instead of
28315         exit.
28316         * nptl/tst-sem4.c: Use test-skeleton.c
28317         (main): Rename to do_test.
28319 2014-04-22  David S. Miller  <davem@davemloft.net>
28321         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28322         (struct sigaction): New struct member __glibc_reserved0, change
28323         type of sa_flags to int.
28325 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28327         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28328         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28330 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28332         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28333         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28335 2014-04-22  Will Newton  <will.newton@linaro.org>
28336             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28338         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28339         (__longjmp): Add longjmp and longjmp_target SystemTap
28340         probes.
28341         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28342         (__sigsetjmp): Add setjmp SystemTap probe.
28344 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28346         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28347         match manual order.
28349 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28351         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28353         * sysdeps/powerpc/fpu/fenv_private.h
28354         (libc_feholdexcept_setroundl_ctx): Define to
28355         libc_feholdexcept_setround_ppc_ctx.
28356         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28357         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28358         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28359         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28361 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28363         * sysdeps/aarch64/math-tests.h: New file.
28365 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28367         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28368         New.
28369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28370         Check and set bit_AVX2_Usable.
28371         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28372         macro.
28373         (bit_AVX2): Likewise.
28374         (index_AVX2_Usable): Likewise.
28375         (CPUID_AVX2): Likewise.
28376         (HAS_AVX2): Likewise.
28378 2014-04-17  Will Newton  <will.newton@linaro.org>
28380         * manual/setjmp.texi (System V contexts): Add note that
28381         calling setcontext on a context created by a call to a
28382         signal handler is undefined.  Update text to note that
28383         setcontext from a signal handler is possible but not
28384         recommended.
28386         [BZ #16629]
28387         * stdlib/tst-setcontext.c: Include signal.h.
28388         (main): Check that the signal stack before and
28389         after swapcontext is the same.
28391         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28392         Re-implement to restore registers in user code and avoid
28393         rt_sigreturn system call.
28395 2014-04-17  Wilco  <wdijkstr@arm.com>
28397         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28398         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28399         * math/test-fenv.c: Skip exception trap tests on targets which only
28400         support non-stop mode.
28402 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28403             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28405         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28406         (libc_feholdsetround_aarch64_ctx)
28407         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28408         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28409         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28410         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28411         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28412         (libc_feresetround_noexl_ctx): Define.
28414 2014-04-16  Richard Henderson  <rth@redhat.com>
28416         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28418         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28419         unwind tables.
28421         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28422         const from the non-libc, non-ldso copy.
28424         * sysdeps/alpha/libm-test-ulps: Regenerate.
28426 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28427             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28429         * sysdeps/aarch64/fpu/math_private.h: New file.
28431 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28433         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28435 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28437         [BZ #16275]
28438         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28439         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28441         Intel MPX bound registers before _dl_profile_fixup.
28442         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28443         registers after _dl_profile_fixup.  Save and restore bound
28444         registers bnd0/bnd1 when calling _dl_call_pltexit.
28445         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28446         (LR_BND_OFFSET): Likewise.
28447         (LRV_BND0_OFFSET): Likewise.
28448         (LRV_BND1_OFFSET): Likewise.
28450 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28452         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28453         to...
28454         * sysdeps/mach/hurd/i386/tls.h: ... here.
28455         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28456         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28457         fields.
28459 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28461         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28463 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28467 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28469         [BZ #14770]
28470         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28471         * sysdeps/s390/configure: Regenerate.
28473         [BZ #16824]
28474         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28475         Set round-to-nearest internally to reduce error accumulation.
28477 2014-04-16  Alan Modra  <amodra@gmail.com>
28479         [BZ #16740]
28480         [BZ #16619]
28481         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28482         * math/libm-test.inc (frexp_test_data): Add tests.
28483         * NEWS: Update fixed bug list.
28485 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28487         * benchtests/Makefile: Depend on libraries in build directory.
28488         (bench-math): Separate out math tests.
28489         (bench-pthread): Separate out pthread tests.
28490         (bench): Include math and pthread tests.
28492 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28494         [BZ #16831]
28495         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28496         _dl_debug_initialize.
28498         * configure.ac: Remove SELinux header check.
28499         * configure: Regenerate.
28500         * nscd/selinux.c (perms): Array of const char* to permission names.
28501         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28502         default policy. Call string_to_security_class and string_to_av_perm to
28503         translate strings. Enforce default policy and call avs_has_perm with
28504         results of translated strings.
28506 2014-04-13  David S. Miller  <davem@davemloft.net>
28508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28510 2014-04-12  Allan McRae  <allan@archlinux.org>
28512         [BZ #16838]
28513         * manual/string.texi (Collation Functions): Fix qsort argument
28514         order in example.
28515         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28517 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28519         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28520         Make the test a no-op if there are no exceptions defined.
28522 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28524         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28525         enable-hardcoded-path-in-tests
28527 2014-04-11  Will Newton  <will.newton@linaro.org>
28529         * benchtests/Makefile (extra-objs): Add json-lib.o.
28530         (bench-func): Tidy up JSON output.
28531         * benchtests/bench-skeleton.c: Include json-lib.h.
28532         (main): Use JSON library functions to do output of
28533         benchmark results.
28534         * benchtests/bench-timing-type.c (main): Output the
28535         timing type simply, leaving formatting to the user.
28536         * benchtests/json-lib.c: New file.
28537         * benchtests/json-lib.h: Likewise.
28539 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28541         [BZ #15215]
28542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28543         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28544         memory barriers.  Add comments.
28545         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28546         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28547         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28548         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28549         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28550         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28552 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28554         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28555         * sysdeps/s390/s390-64/configure.ac: ... this ...
28556         * sysdeps/s390/configure.ac: ... to here.
28557         * sysdeps/s390/s390-32/configure: Delete file.
28558         * sysdeps/s390/s390-64/configure: Delete file.
28559         * sysdeps/s390/configure: Regenerate.
28561 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28563         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28565 2014-04-11  Will Newton  <will.newton@linaro.org>
28567         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28568         to zero if it is not defined elsewhere.  (mtrim): Test
28569         the value of MALLOC_DEBUG with #if rather than #ifdef.
28571 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28573         * benchtests/pthread_once-inputs: New file.
28574         * benchtests/pthread_once-source.c: New file.
28575         * benchtests/README: Update documentation.
28577 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28578             H.J. Lu  <hongjiu.lu@intel.com>
28580         [BZ #16275]
28581         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28582         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28583         * sysdeps/x86_64/configure: Regenerated.
28584         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28585         macro.
28586         (REGISTER_SAVE_RAX): Likewise.
28587         (REGISTER_SAVE_RCX): Likewise.
28588         (REGISTER_SAVE_RDX): Likewise.
28589         (REGISTER_SAVE_RSI): Likewise.
28590         (REGISTER_SAVE_RDI): Likewise.
28591         (REGISTER_SAVE_R8): Likewise.
28592         (REGISTER_SAVE_R9): Likewise.
28593         (REGISTER_SAVE_BND0): Likewise.
28594         (REGISTER_SAVE_BND1): Likewise.
28595         (REGISTER_SAVE_BND2): Likewise.
28596         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28597         bound registers when calling _dl_fixup.
28599 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28601         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28602         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28603         of its definition.
28604         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28605         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28606         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28607         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28608         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28609         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28610         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28612 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28614         [BZ #15514]
28615         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28616         pathconf(_PC_NAME_MAX).
28618 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28620         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28621         Remove macro usage.
28622         (__PTHREAD_SPINS): Move definition to ...
28623         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28624         (__PTHREAD_SPINS): ... here.
28625         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28626         (__PTHREAD_SPIN): Likewise.
28627         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28628         (__PTHREAD_SPIN): Likewise.
28629         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28630         (__PTHREAD_SPIN): Likewise.
28631         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28632         (__PTHREAD_SPIN): Likewise.
28633         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28634         (__PTHREAD_SPIN): Likewise.
28635         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28636         (__PTHREAD_SPIN): Likewise.
28637         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28638         (__PTHREAD_SPIN): Likewise.
28639         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28640         (__PTHREAD_SPIN): Likewise.
28641         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28642         (__PTHREAD_SPIN): Likewise.
28643         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28644         (__PTHREAD_SPIN): Likewise.
28645         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28646         (__PTHREAD_SPIN): Likewise.
28647         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28648         (__PTHREAD_SPIN): Likewise.
28650         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28651         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28652         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28653         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28654         imply folder.
28655         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28656         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28657         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28658         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28659         correct imply path.
28660         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28661         strlen symbol for non multi-arch builds.
28662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28663         missing hidden_def and weak_alias.
28665 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28667         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28669 2014-04-07  Will Newton  <will.newton@linaro.org>
28671         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28672         and contents.  [!_LIBC] Remove #ifndef and contents.
28673         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28674         * string/memccpy.c (__memccpy): Use ANSI prototype.
28675         * string/memfrob.c (memfrob): Likewise.
28676         * string/strcoll.c (STRCOLL): Likewise.
28677         * string/strlen.c (strlen): Likewise.
28678         * string/strtok.c (STRTOK): Likewise.
28679         * string/strcat.c: Remove unused #include of memcopy.h.
28680         (strcat): Use ANSI prototype.
28681         * string/strchr.c: Remove unused #include of memcopy.h.
28682         (strchr): Use ANSI prototype.
28683         * string/strcmp.c: Remove unused #include of memcopy.h.
28684         (strcmp): Use ANSI prototype.
28685         * string/strcpy.c: Remove unused #include of memcopy.h.
28686         (strcpy): Use ANSI prototype.
28688 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28690         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28691         * config.make.in (config-extra-cppflags): Set it from
28692         libc_extra_cppflags.
28693         * configure.ac (libc_extra_cflags): Make it accumulate over
28694         configure fragments.
28695         (libc_extra_cppflags): New flag.
28696         * configure. Regenerate.
28697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28698         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28699         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28702         [BZ #16815]
28703         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28704         result for FE_DOWNWARD rounding mode.
28705         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28706         Likewise.
28707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28709 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28711         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28712         in function argument name.
28714 2014-04-03  David Svoboda  <svoboda@cert.org>
28716         [BZ #5666]
28717         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28718         explicitly.
28720 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28722         * elf/dl-unmap-segments.h: New file.
28723         * sysdeps/generic/ldsodefs.h
28724         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28725         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28726         * elf/dl-fptr.c: Likewise.
28727         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28728         * sysdeps/aarch64/tlsdesc.c: Likewise.
28729         * sysdeps/arm/tlsdesc.c: Likewise.
28730         * sysdeps/i386/tlsdesc.c: Likewise.
28731         * sysdeps/tile/dl-runtime.c: Likewise.
28732         * sysdeps/x86_64/tlsdesc.c: Likewise.
28733         * elf/dl-load.h: New file.
28734         * elf/dl-load.c: Include it.
28735         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28736         Macros moved to dl-load.h.
28737         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28738         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28739         Use _dl_unmap_segments in place of __munmap.
28740         Break out segment-mapping loop into ...
28741         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28743 2014-04-03  Will Newton  <will.newton@linaro.org>
28745         * elf/dl-lookup.c (do_lookup_x): Remove comment
28746         referring to nested function and move variable
28747         declarations down to before first use.
28749 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28751         [BZ #16799]
28752         [BZ #16800]
28753         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28754         with 0 numerator.
28755         * math/s_catanf.c (__catanf): Likewise.
28756         * math/s_catanh.c (__catanh): Likewise.
28757         * math/s_catanhf.c (__catanhf): Likewise.
28758         * math/s_catanhl.c (__catanhl): Likewise.
28759         * math/s_catanl.c (__catanl): Likewise.
28760         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28761         by positive zero when computing -Inf result.
28762         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28763         (catanh_test): Likewise.
28764         * sysdeps/i386/fpu/libm-test-ulps: Update.
28765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28767         [BZ #16789]
28768         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28769         instead of using underflowing value in computing result.
28770         * math/s_clog10.c (__clog10): Likewise.
28771         * math/s_clog10f.c (__clog10f): Likewise.
28772         * math/s_clog10l.c (__clog10l): Likewise.
28773         * math/s_clogf.c (__clogf): Likewise.
28774         * math/s_clogl.c (__clogl): Likewise.
28775         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28776         (clog10_test): Likewise.
28777         * sysdeps/i386/fpu/libm-test-ulps: Update.
28778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28780 2014-04-02  Alan Modra  <amodra@gmail.com>
28782         [BZ #16739]
28783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28784         output when value is near a power of two.  Use int64_t for lx and
28785         remove casts.  Use decimal rather than hex exponent constants.
28786         Don't use long double multiplication when double will suffice.
28787         * math/libm-test.inc (nextafter_test_data): Add tests.
28788         * NEWS: Add 16739 and 16786 to bug list.
28790         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28792         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28794 2014-04-01  Will Newton  <will.newton@linaro.org>
28796         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28797         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28799 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28801         [BZ #13347]
28802         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28803         * nptl/tst-setuid2.c: New file.
28804         * nptl/Makefile (xtests): Add tst-setuid2.
28806 2014-04-01  Alan Modra  <amodra@gmail.com>
28808         [BZ #16786]
28809         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28811 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28813         [BZ #6803]
28814         [BZ #6804]
28815         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28816         set errno as appropriate.
28817         * math/w_scalbf.c (__scalbf): Likewise.
28818         * math/w_scalbl.c (__scalbl): Likewise.
28819         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28820         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28821         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28822         Add more NaN tests.
28824         [BZ #16349]
28825         * math/w_atan2.c: Include <errno.h>.
28826         (__atan2): Set errno for result underflowing to zero.
28827         * math/w_atan2f.c: Include <errno.h>.
28828         (__atan2f): Set errno for result underflowing to zero.
28829         * math/w_atan2l.c: Include <errno.h>.
28830         (__atan2l): Set errno for result underflowing to zero.
28831         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28832         tests.
28833         * math/auto-libm-test-out: Regenerated.
28835 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28837         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28838         Encode instruction correctly in little endian.
28839         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28840         Likewise.
28841         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28842         Likewise.
28843         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28844         Likewise.
28845         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28846         Likewise.
28848 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28850         [BZ #9894]
28851         * sysdeps/unix/sysv/linux/kernel-features.h
28852         [__sparc__ && !__arch64__ && !__sparc_v9__]
28853         (__ASSUME_SET_ROBUST_LIST): Do not define.
28854         [__sparc__ && !__arch64__ && !__sparc_v9__]
28855         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28856         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28857         Likewise.
28858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28859         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28860         (__ASSUME_REQUEUE_PI): Likewise.
28861         (__ASSUME_SET_ROBUST_LIST): Likewise.
28862         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28863         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28864         Undefine.
28865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28866         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28867         Likewise.
28868         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28869         Likewise.
28870         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28871         Likewise.
28872         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28873         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28874         Undefine.
28875         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28876         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28877         Likewise.
28879         [BZ #16648]
28880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28882         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28884 2014-03-31  Will Newton  <will.newton@linaro.org>
28886         * benchtests/Makefile (bench): Add ffs and ffsll to list
28887         of tests.
28888         * benchtests/ffs-inputs: New file.
28889         * benchtests/ffsll-inputs: Likewise.
28891 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28893         [BZ #16770]
28894         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28895         too large before casting to int.
28896         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28897         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28898         * math/libm-test.inc (scalb_test_data): Add more tests.
28900 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28902         * benchtests/Makefile (DETAILED_OPT): New make option.
28903         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28904         set.
28905         * benchtests/bench-skeleton.c: Include stdbool.h.
28906         (main): Store and print timings per input.
28907         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28908         member to each argument value.
28909         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28910         (_print_arg_data): Initialize per-input timing to 0.
28912         * benchtests/Makefile (timing-type): New binary.
28913         (bench-clean): Also remove bench-timing-type.
28914         (bench): New target for timing-type.
28915         (bench-func): Print output in JSON format.
28916         * benchtests/bench-skeleton.c (main): Print output in JSON
28917         format.
28918         * benchtests/bench-timing-type.c: New file.
28919         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28920         (TIMING_PRINT_STATS): Remove.
28921         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28922         name separately.
28924         * benchtests/bench-modf.c: Remove.
28925         * benchtests/modf-inputs: New inputs file.
28927 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28929         [BZ #16362]
28930         * math/s_clog10.c (M_PI_LOG10E): New macro.
28931         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28932         imaginary parts are 0.
28933         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28934         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28935         imaginary parts are 0.
28936         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28937         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28938         imaginary parts are 0.
28939         * math/libm-test.inc (clog10_test_data): Update expected results
28940         for when real and imaginary parts are 0.
28942 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28944         * elf/dl-load.c: Finish conversion of __builtin_expect into
28945         __glibc_{un}likely.
28947 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28949         [BZ #16348]
28950         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28951         1+x for argument with exponent below -67.
28952         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28953         Likewise.
28954         * math/auto-libm-test-in: Add more tests of exp.
28955         * math/auto-libm-test-out: Regenerated.
28957 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28959         [BZ #16759]
28960         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28961         (nscd_getnetgrent): Use it.
28963         [BZ #16760]
28964         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28965         of stpcpy.
28967 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28969         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28970         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28971         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28972         (lll_robust_unlock): Remove out of line section. Use cfi
28973         intrinsics.
28974         (LLL_STUB_UNWIND_INFO*): Remove.
28975         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28976         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28977         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28978         (lll_robust_unlock): Remove out of line section. Use cfi
28979         intrinsics.
28980         (LLL_STUB_UNWIND_INFO*): Remove.
28982 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28984         [BZ #16758]
28985         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28986         blank values.
28988 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28990         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28992 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28994         [BZ #16198]
28995         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28996         fnstenv.
28997         * math/test-fenv-preserve.c: New file.
28998         * math/Makefile (tests): Add test-fenv-preserve.
29000 2014-03-26  Will Newton <will.newton@linaro.org>
29002         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29004 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29006         * scripts/versionlist.awk: Partition the version sets and emit all
29007         GLIBC_* (sorted) before all others (sorted).
29009 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29011         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29012         GLIBC_2.2.5 version.
29014 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29016         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29017         calls.
29019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29020         previous change.
29022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29024 2014-03-25  Andreas Schwab  <schwab@suse.de>
29026         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29027         label to be used after in6ailist is initialized.
29029 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29031         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29032         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29034 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29036         [BZ #16357]
29037         [BZ #16599]
29038         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29039         min_plus_half.
29040         (fp_formats): Update initializers.
29041         (init_fp_formats): Initialize new field.
29042         (output_for_one_input_case): Allow underflow for results up to
29043         min_plus_half.
29044         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29045         * math/auto-libm-test-in: Don't mark some underflows from asin and
29046         atanh as spurious.
29047         * math/auto-libm-test-out: Regenerated.
29048         * sysdeps/i386/fpu/libm-test-ulps: Update.
29049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29051 2014-03-25  Andreas Schwab  <schwab@suse.de>
29053         * libio/Makefile (tst-ftell-partial-wide-ENV)
29054         (tst-ftell-active-handler-ENV): Define.
29056 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29058         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29060 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29062         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29064 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29066         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29067         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29068         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29070 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29072         [BZ #16634]
29073         * elf/dl-load.c (open_verify): Add mode parameter.
29074         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29075         (open_path): Change from boolean 'secure' to complete flag 'mode'
29076         (_dl_map_object): Adjust.
29077         * elf/Makefile (tests): Add tst-dlopen-aout.
29078         * elf/tst-dlopen-aout.c: New test.
29080 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29082         [BZ #16714]
29083         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29084         (struct stat): Rename member pad0 to __glibc_reserved0.
29086         [BZ #16712]
29087         * sysdeps/s390/s390-32/bits/wordsize.h
29088         (__WORDSIZE32_SIZE_ULONG): New define.
29089         * sysdeps/s390/s390-64/bits/wordsize.h
29090         (__WORDSIZE32_SIZE_ULONG): Likewise.
29091         * sysdeps/generic/stdint.h (SIZE_MAX):
29092         Define as UL if __WORDSIZE32_SIZE_ULONG.
29094         [BZ #16713]
29095         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29096         (__glibc_reserved0): New variable.
29097         (sa_flags): Change type to int.
29099         * posix/Makefile (before-compile): Use += before-compile instead
29100         of a :=.
29102         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29103         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29105 2014-03-20  Andreas Schwab  <schwab@suse.de>
29107         [BZ #16743]
29108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29109         non-matching result from nscd.
29111 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29113         * scripts/bench.py: Moved to ...
29114         * benchtests/scripts/bench.py: ... here.
29115         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29117 2014-03-24  Andreas Schwab  <schwab@suse.de>
29119         [BZ #16002]
29120         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29121         alloca_account and account alloca use for struct in6ailist.
29123 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29125         [BZ #16284]
29126         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29127         rounding mode to recompute results that overflow to infinity or
29128         underflow to zero.
29129         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29130         bug 16284.
29131         * math/auto-libm-test-out: Regenerated.
29132         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29133         (ccosh_test): Likewise.
29134         (csin_test_data): Use plus_oflow.
29135         (csin_test): Use ALL_RM_TEST.
29136         (csinh_test_data): Use plus_oflow.
29137         (csinh_test): Use ALL_RM_TEST.
29138         * sysdeps/i386/fpu/libm-test-ulps: Update.
29139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29141 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29143         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29144         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29145         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29147         [BZ #16731]
29148         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29149         when x - 1 is zero.
29150         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29151         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29152         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29153         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29154         argument is 1.
29155         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29156         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29157         zero.
29158         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29159         * sysdeps/i386/fpu/libm-test-ulps: Update.
29160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29162 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29164         * scripts/bench.pl: Remove file.
29165         * scripts/bench.py: New benchmark script.
29166         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29167         * benchtests/README: Mention python dependency.
29168         * scripts/pylintrc: New file.
29169         * scripts/pylint: New file.
29171         * bits/mathdef.h: Use #ifdef instead of #if.
29172         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29173         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29174         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29175         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29176         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29177         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29179 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29180             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29182         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29184         and strpbrk-ppc64 objects.
29185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29186         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29187         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29188         multiarch strpbrk for POWER7.
29189         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29190         multiarch strpbrk for PPC64.
29191         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29192         ifunc selector.
29193         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29194         strpbrk for POWER7.
29196 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29198         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29199         (atan_test): Likewise.
29200         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29201         (atanh_test): Use ALL_RM_TEST.
29202         (atan2_test_data): Likewise.
29203         (cabs_test): Likewise.
29204         (cacosh_test): Likewise.
29205         (carg_test): Likewise.
29206         (casin_test): Likewise.
29207         (casinh_test): Likewise.
29208         (cbrt_test): Likewise.
29209         (csqrt_test): Likewise.
29210         (erf_test): Likewise.
29211         (erfc_test): Likewise.
29212         (pow10_test): Likewise.
29213         (exp2_test): Likewise.
29214         (hypot_test): Likewise.
29215         (j0_test): Likewise.
29216         (j1_test): Likewise.
29217         (lgamma_test): Likewise.
29218         (gamma_test): Likewise.
29219         (sincos_test): Likewise.
29220         (tanh_test): Likewise.
29221         (y0_test): Likewise.
29222         (y1_test): Likewise.
29223         * sysdeps/i386/fpu/libm-test-ulps: Update.
29224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29226 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29228         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29230         and strcspn-ppc64 objects.
29231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29232         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29233         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29234         multiarch strcspn for POWER7.
29235         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29236         multiarch strcspn for PPC64.
29237         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29238         ifunc selector.
29239         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29240         strcspn for POWER7.
29242 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29244         * math/gen-libm-test.pl (generate_testfile): Expect only function
29245         name as argument to AUTO_TESTS_* and pass results for all rounding
29246         modes to parse_args.
29247         (parse_auto_input): Separate inputs of automatic tests from
29248         outputs before storing in %auto_tests.
29249         * math/libm-test.inc (acos_test_data): Update call to
29250         AUTO_TESTS_f_f.
29251         (acos_test): Use ALL_RM_TEST.
29252         (acos_tonearest_test_data): Remove.
29253         (acos_test_tonearest): Likewise.
29254         (acos_towardzero_test_data): Likewise.
29255         (acos_test_towardzero): Likewise.
29256         (acos_downward_test_data): Likewise.
29257         (acos_test_downward): Likewise.
29258         (acos_upward_test_data): Likewise.
29259         (acos_test_upward): Likewise.
29260         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29261         (asin_test_data): Likewise.
29262         (asin_test): Use ALL_RM_TEST.
29263         (asin_tonearest_test_data): Remove.
29264         (asin_test_tonearest): Likewise.
29265         (asin_towardzero_test_data): Likewise.
29266         (asin_test_towardzero): Likewise.
29267         (asin_downward_test_data): Likewise.
29268         (asin_test_downward): Likewise.
29269         (asin_upward_test_data): Likewise.
29270         (asin_test_upward): Likewise.
29271         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29272         (atan_test_data): Likewise.
29273         (atanh_test_data): Likewise.
29274         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29275         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29276         (carg_test_data): Likewise.
29277         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29278         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29279         (ccosh_test_data): Likewise.
29280         (cexp_test_data): Likewise.
29281         (clog_test_data): Likewise.
29282         (clog10_test_data): Likewise.
29283         (cos_test_data): Update call to AUTO_TESTS_f_f.
29284         (cos_test): Use ALL_RM_TEST.
29285         (cos_tonearest_test_data): Remove.
29286         (cos_test_tonearest): Likewise.
29287         (cos_towardzero_test_data): Likewise.
29288         (cos_test_towardzero): Likewise.
29289         (cos_downward_test_data): Likewise.
29290         (cos_test_downward): Likewise.
29291         (cos_upward_test_data): Likewise.
29292         (cos_test_upward): Likewise.
29293         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29294         (cosh_test): Use ALL_RM_TEST.
29295         (cosh_tonearest_test_data): Remove.
29296         (cosh_test_tonearest): Likewise.
29297         (cosh_towardzero_test_data): Likewise.
29298         (cosh_test_towardzero): Likewise.
29299         (cosh_downward_test_data): Likewise.
29300         (cosh_test_downward): Likewise.
29301         (cosh_upward_test_data): Likewise.
29302         (cosh_test_upward): Likewise.
29303         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29304         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29305         (ctan_test_data): Likewise.
29306         (ctan_test): Use ALL_RM_TEST.
29307         (ctan_tonearest_test_data): Remove.
29308         (ctan_test_tonearest): Likewise.
29309         (ctan_towardzero_test_data): Likewise.
29310         (ctan_test_towardzero): Likewise.
29311         (ctan_downward_test_data): Likewise.
29312         (ctan_test_downward): Likewise.
29313         (ctan_upward_test_data): Likewise.
29314         (ctan_test_upward): Likewise.
29315         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29316         (ctanh_test): Use ALL_RM_TEST.
29317         (ctanh_tonearest_test_data): Remove.
29318         (ctanh_test_tonearest): Likewise.
29319         (ctanh_towardzero_test_data): Likewise.
29320         (ctanh_test_towardzero): Likewise.
29321         (ctanh_downward_test_data): Likewise.
29322         (ctanh_test_downward): Likewise.
29323         (ctanh_upward_test_data): Likewise.
29324         (ctanh_test_upward): Likewise.
29325         (erf_test_data): Update call to AUTO_TESTS_f_f.
29326         (erfc_test_data): Likewise.
29327         (exp_test_data): Likewise.
29328         (exp_test): Use ALL_RM_TEST.
29329         (exp_tonearest_test_data): Remove.
29330         (exp_test_tonearest): Likewise.
29331         (exp_towardzero_test_data): Likewise.
29332         (exp_test_towardzero): Likewise.
29333         (exp_downward_test_data): Likewise.
29334         (exp_test_downward): Likewise.
29335         (exp_upward_test_data): Likewise.
29336         (exp_test_upward): Likewise.
29337         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29338         (exp10_test): Use ALL_RM_TEST.
29339         (exp10_tonearest_test_data): Remove.
29340         (exp10_test_tonearest): Likewise.
29341         (exp10_towardzero_test_data): Likewise.
29342         (exp10_test_towardzero): Likewise.
29343         (exp10_downward_test_data): Likewise.
29344         (exp10_test_downward): Likewise.
29345         (exp10_upward_test_data): Likewise.
29346         (exp10_test_upward): Likewise.
29347         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29348         (expm1_test_data): Likewise.
29349         (expm1_test): Use ALL_RM_TEST.
29350         (expm1_tonearest_test_data): Remove.
29351         (expm1_test_tonearest): Likewise.
29352         (expm1_towardzero_test_data): Likewise.
29353         (expm1_test_towardzero): Likewise.
29354         (expm1_downward_test_data): Likewise.
29355         (expm1_test_downward): Likewise.
29356         (expm1_upward_test_data): Likewise.
29357         (expm1_test_upward): Likewise.
29358         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29359         (fma_test): Use ALL_RM_TEST.
29360         (fma_towardzero_test_data): Remove.
29361         (fma_test_towardzero): Likewise.
29362         (fma_downward_test_data): Likewise.
29363         (fma_test_downward): Likewise.
29364         (fma_upward_test_data): Likewise.
29365         (fma_test_upward): Likewise.
29366         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29367         (j0_test_data): Update call to AUTO_TESTS_f_f.
29368         (j1_test_data): Likewise.
29369         (jn_test_data): Update call to AUTO_TESTS_if_f.
29370         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29371         (log_test_data): Update call to AUTO_TESTS_f_f.
29372         (log10_test_data): Likewise.
29373         (log1p_test_data): Likewise.
29374         (log2_test_data): Likewise.
29375         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29376         (pow_tonearest_test_data): Likewise.
29377         (sin_test_data): Update call to AUTO_TESTS_f_f.
29378         (sin_test): Use ALL_RM_TEST.
29379         (sin_tonearest_test_data): Remove.
29380         (sin_test_tonearest): Likewise.
29381         (sin_towardzero_test_data): Likewise.
29382         (sin_test_towardzero): Likewise.
29383         (sin_downward_test_data): Likewise.
29384         (sin_test_downward): Likewise.
29385         (sin_upward_test_data): Likewise.
29386         (sin_test_upward): Likewise.
29387         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29388         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29389         (sinh_test): Use ALL_RM_TEST.
29390         (sinh_tonearest_test_data): Remove.
29391         (sinh_test_tonearest): Likewise.
29392         (sinh_towardzero_test_data): Likewise.
29393         (sinh_test_towardzero): Likewise.
29394         (sinh_downward_test_data): Likewise.
29395         (sinh_test_downward): Likewise.
29396         (sinh_upward_test_data): Likewise.
29397         (sinh_test_upward): Likewise.
29398         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29399         (sqrt_test): Use ALL_RM_TEST.
29400         (sqrt_tonearest_test_data): Remove.
29401         (sqrt_test_tonearest): Likewise.
29402         (sqrt_towardzero_test_data): Likewise.
29403         (sqrt_test_towardzero): Likewise.
29404         (sqrt_downward_test_data): Likewise.
29405         (sqrt_test_downward): Likewise.
29406         (sqrt_upward_test_data): Likewise.
29407         (sqrt_test_upward): Likewise.
29408         (tan_test_data): Update call to AUTO_TESTS_f_f.
29409         (tan_test): Use ALL_RM_TEST.
29410         (tan_tonearest_test_data): Remove.
29411         (tan_test_tonearest): Likewise.
29412         (tan_towardzero_test_data): Likewise.
29413         (tan_test_towardzero): Likewise.
29414         (tan_downward_test_data): Likewise.
29415         (tan_test_downward): Likewise.
29416         (tan_upward_test_data): Likewise.
29417         (tan_test_upward): Likewise.
29418         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29419         (tgamma_test_data): Likewise.
29420         (y0_test_data): Likewise.
29421         (y1_test_data): Likewise.
29422         (yn_test_data): Update call to AUTO_TESTS_if_f.
29423         (main): Do not call removed functions.
29425 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29427         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29428         (ldexp_test_data): Remove.
29429         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29430         scalbn_test_data.
29431         (scalb_test): Use ALL_RM_TEST.
29433 2014-03-19  Andreas Schwab  <schwab@suse.de>
29435         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29437 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #16649]
29440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29441         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29442         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29444         (__ASSUME_PREADV): Undefine.
29445         (__ASSUME_PWRITEV): Likewise.
29447 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29449         * bits/mman-linux.h: Add comment about non-Linux use.
29450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29451         bits/mman-linux.h resting place.
29453         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29454         * bits/mman-linux.h: ... here.
29456 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29458         * conform/conformtest.pl: Add standard definition when calling C
29459         preprocessor on data files.
29460         (checknamespace): Remove unused variable.
29462 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29464         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29465         minus_oflow, plus_uflow and minus_uflow in expected results.
29466         * math/libm-test.inc (scalbn_test_data): Add more tests of
29467         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29468         minus_uflow.
29469         (scalbn_test): Use ALL_RM_TEST.
29470         (scalbln_test_data): Add more tests of negative arguments.  Use
29471         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29472         (scalbln_test): Use ALL_RM_TEST.
29474 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29476         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29478 2014-03-18  Will Newton  <will.newton@linaro.org>
29480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29481         inaccurate comment.
29483 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29485         * Makerules [!subdir] (check-abi): Exit with error status if a
29486         test failed.
29488 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29490         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29491         for rint.  Include results for all rounding modes.
29492         (nearbyint_test): Use ALL_RM_TEST.
29493         (rint_test_data): Include all tests used for nearbyint.
29495 2014-03-17  Will Newton  <will.newton@linaro.org>
29497         * nptl/sysdeps/pthread/pthread.h: Revert previous
29498         change.
29500         * sysdeps/generic/ldsodefs.h: Revert previous
29501         change.
29503         * libio/genops.c: Revert previous change.
29504         * libio/libioP.h: Likewise.
29505         * stdio-common/vfprintf.c: Likewise.
29507         * sysdeps/generic/math_private.h: Revert previous
29508         change.
29510         * sysdeps/generic/math_private.h: Check whether
29511         HAVE_RM_CTX is defined with #ifdef rather
29512         than #if.
29514         * argp/argp-fmtstream.h: Check whether
29515         __STRICT_ANSI__ is defined with #ifdef rather
29516         than #if.
29517         * argp/argp.h: Likewise.
29519         * libio/genops.c: Check whether
29520         _IO_JUMPS_OFFSET is defined with #ifdef rather
29521         than #if.
29522         * libio/libioP.h: Likewise.
29523         * stdio-common/vfprintf.c: Likewise.
29525         * sysdeps/generic/ldsodefs.h: Check whether
29526         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29527         than #if.
29529         * nptl/sysdeps/pthread/pthread.h: Check
29530         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29531         its value.
29533 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29535         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29536         setting O_APPEND.
29537         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29538         test case.
29540         [BZ #16680]
29541         * libio/fileops.c (_IO_file_open): Seek to end of file but
29542         don't cache the offset.
29543         (get_file_offset): Remove function.
29544         (do_ftell): Use cached offset when available.
29545         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29546         don't cache the offset.
29547         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29548         case.
29549         (do_one_test): Call it.
29550         (do_ftell_test): Fix up expected old offset for a+ mode.
29551         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29552         available.
29554         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29555         up test status with function return status.
29556         (do_write_test): Likewise.
29557         (do_append_test): Likewise.
29559         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29560         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29561         Remove.
29563 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29565         * math/gen-libm-test.pl (parse_args): Handle results specified for
29566         each rounding mode separately.
29567         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29568         tests and results from lrint_tonearest_test_data,
29569         lrint_towardzero_test_data, lrint_downward_test_data and
29570         lrint_upward_test_data.
29571         (lrint_test): Use ALL_RM_TEST.
29572         (lrint_tonearest_test_data): Remove.
29573         (lrint_test_tonearest): Likewise.
29574         (lrint_towardzero_test_data): Likewise.
29575         (lrint_test_towardzero): Likewise.
29576         (lrint_downward_test_data): Likewise.
29577         (lrint_test_downward): Likewise.
29578         (lrint_upward_test_data): Likewise.
29579         (lrint_test_upward): Likewise.
29580         (llrint_test_data): Merge in per-rounding-mode tests and results
29581         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29582         llrint_downward_test_data and llrint_upward_test_data.
29583         (llrint_test): Use ALL_RM_TEST.
29584         (llrint_tonearest_test_data): Remove.
29585         (llrint_test_tonearest): Likewise.
29586         (llrint_towardzero_test_data): Likewise.
29587         (llrint_test_towardzero): Likewise.
29588         (llrint_downward_test_data): Likewise.
29589         (llrint_test_downward): Likewise.
29590         (llrint_upward_test_data): Likewise.
29591         (llrint_test_upward): Likewise.
29592         (rint_test_data): Merge in per-rounding-mode tests and results
29593         from rint_tonearest_test_data, rint_towardzero_test_data,
29594         rint_downward_test_data and rint_upward_test_data.  Add
29595         per-rounding-mode results for tests not in those arrays.
29596         (rint_test): Use ALL_RM_TEST.
29597         (rint_tonearest_test_data): Remove.
29598         (rint_test_tonearest): Likewise.
29599         (rint_towardzero_test_data): Likewise.
29600         (rint_test_towardzero): Likewise.
29601         (rint_downward_test_data): Likewise.
29602         (rint_test_downward): Likewise.
29603         (rint_upward_test_data): Likewise.
29604         (rint_test_upward): Likewise.
29605         (main): Don't call removed functions.
29607 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29609         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29610         "Compiled on ..." crapola.  It is anti-useful.
29612 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29614         * scripts/evaluate-test.sh: Handle fourth argument to determine
29615         whether test run should stop on failure.
29616         * Makeconfig (stop-on-test-failure): New variable.
29617         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29618         $(stop-on-test-failure).
29619         * Makefile (tests): Give a summary of results from testing and
29620         exit with failure status if they include an ERROR or FAIL.
29621         (xtests): Likewise.
29622         * manual/install.texi (Configuring and compiling): Mention
29623         stop-on-test-failure=y.
29624         * INSTALL: Regenerated.
29626 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29628         * scripts/versionlist.awk: New file.
29629         * Makerules [$(build-shared) = yes]
29630         (postclean-generated): Add Versions.def, not Versions.def.v and
29631         Versions.def.v.i.
29632         ($(common-objpfx)Versions.def.v.i): Target removed.
29633         ($(common-objpfx)Versions.def): New target.
29634         ($(common-objpfx)Versions.all): Depend on that rather that
29635         $(common-objpfx)Versions.def.v.
29636         * Versions.def: File removed.
29638         * Makeconfig (+gccwarn): Add -Wundef.
29639         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29640         a dl-sysdep.h breaking its contract.
29641         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29642         * include/stackinfo.h: New file.
29643         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29644         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29645         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29646         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29647         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29648         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29649         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29650         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29651         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29652         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29653         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29654         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29655         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29656         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29657         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29659 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29661         [BZ #16707]
29662         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29663         implementation.
29664         * math/libm-test.inc (round_test_data): Add more tests.
29666         [BZ #16706]
29667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29668         implementation.
29669         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29671         [BZ #16701]
29672         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29673         implementation.
29674         * math/libm-test.inc (ceil_test_data): Add more tests.
29676         * math/libm-test.inc (trunc_test_data): Add more tests related to
29677         BZ#16414.
29679 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29681         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29682         with #if rather than #ifdef.
29683         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29685 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29687         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29688         first.  Disable AVX-512 GCC support if assembler doesn't support
29689         it.
29690         * sysdeps/x86_64/configure: Regenerated.
29692 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29694         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29695         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29696         (__old_pthread_attr_setstack): Likewise.
29697         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29698         [!_STACK_GROWS_DOWN]: Likewise.
29700 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29702         * config.make.in (have-bash2): Delete.
29703         * configure.ac (libc_cv_have_bash2): Delete.
29704         * configure: Regenerate.
29705         * elf/Makefile (common-ldd-rewrite): Rename to ...
29706         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29707         (sh-ldd-rewrite): Delete.
29708         (bash-ldd-rewrite): Delete.
29709         (have-bash2): Delete checks.
29710         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29711         ldd-rewrite.
29713         * config.make.in (have-ksh): Delete.
29714         (KSH): Delete.
29715         * configure.ac (libc_cv_have_ksh): Delete.
29716         * configure: Regenerate.
29718         * elf/Makefile: Delete $(have-ksh) check.
29719         ($(objpfx)sotruss): Change KSH to BASH.
29720         * elf/sotruss.ksh: Rename to ...
29721         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29722         function style to match POSIX.  Drop ksh vim mode setting.
29724         * manual/time.texi (Specifying the Time Zone with TZ): Change
29725         Tuesday to Thursday.
29727         * debug/tst-longjmp_chk2.c: Update header comment.
29728         (stackoverflow_handler): Add comment.  Call assert on pass value.
29730 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29732         [BZ #16194]
29733         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29734         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29735         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29736         (La_x86_64_vector): Add zmm.
29737         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29738         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29739         ($(objpfx)tst-audit10): New target.
29740         ($(objpfx)tst-audit10.out): Likewise.
29741         (tst-audit10-ENV): New.
29742         (AVX512-CFLAGS): Likewise.
29743         (CFLAGS-tst-audit10.c): Likewise.
29744         (CFLAGS-tst-auditmod10a.c): Likewise.
29745         (CFLAGS-tst-auditmod10b.c): Likewise.
29746         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29747         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29748         * sysdeps/x86_64/configure: Regenerated.
29749         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29750         AVX-512 zmm register support.
29751         (_dl_x86_64_save_sse): Likewise.
29752         (_dl_x86_64_restore_sse): Likewise.
29753         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29754         size vector registers.
29755         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29756         (ZMM_SIZE): Likewise.
29757         * sysdeps/x86_64/tst-audit10.c: New file.
29758         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29759         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29761 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29763         * configure.ac (HAVE_EHDR_START): New check.
29764         * configure: Regenerated.
29765         * config.h.in (HAVE_EHDR_START): New #undef.
29766         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29767         assuming the lowest-addressed segment maps the start of the file.
29769 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29771         * INSTALL: Regenerated.
29773 2014-03-13  Will Newton  <will.newton@linaro.org>
29775         * manual/setjmp.texi (System V contexts): Improve
29776         clarity and grammar of documentation.
29778 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29780         [BZ #16381]
29781         * elf/Makefile (tests): Add tst-pie2.
29782         (tests-pie): Add tst-pie2.
29783         * elf/tst-pie2.c: New file.
29784         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29785         for ET_EXEC.
29786         * elf/rtld.c (map_doit): Load executable as lt_executable.
29787         (dl_main): Likewise.
29789 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29791         [BZ #16642]
29792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29793         (__ASSUME_PSELECT): Undefine.
29795 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29797         [BZ #16689]
29798         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29799         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29800         static build.
29801         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29802         selector for static builds.
29804 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29806         [BZ #16695]
29807         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29808         key in the buffer.
29810 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29812         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29813         IFUNC selector for static builds.
29815 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29817         * sysdeps/mips/math_private.h [__mips_hard_float]
29818         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29819         libc_feresetround_mips_ctx.
29820         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29821         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29822         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29824         [BZ #16677]
29825         * math/s_nextafter.c (__nextafter): Do not return value from
29826         overflowing computation.
29827         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29828         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29829         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29830         Likewise.
29831         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29832         Likewise.
29833         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29834         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29836 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29838         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29839         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29840         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29841         the new mov targetting sp.
29843 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29845         [BZ #16683]
29846         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29847         Define it for static builds as well.
29848         (NO_BZERO_IMPL): Likewise.
29850 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29852         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29853         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29854         multiarch strspn for PPC64.
29855         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29856         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29858         (__libc_ifunc_impl_list): Likewise.
29859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29860         multiarch optimizations
29861         * string/strspn.c (strspn): Using macro to redefine symbol name.
29863 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29864             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29866         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29867         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29868         multiarch strncat for PPC64.
29869         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29870         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29872         (__libc_ifunc_impl_list): Likewise.
29873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29874         multiarch optimizations
29876 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29878         [BZ #16639]
29879         * nscd/nscd.service: Make service type forking.
29881 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29883         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29884         sign in non default rounding modes.
29885         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29887 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29889         * math/libm-test.inc (ALL_RM_TEST): New macro.
29890         (ceil_test): Use ALL_RM_TEST.
29891         (cimag_test): Likewise.
29892         (conj_test): Likewise.
29893         (copysign_test): Likewise.
29894         (cproj_test): Likewise.
29895         (creal_test): Likewise.
29896         (fabs_test): Likewise.
29897         (floor_test): Likewise.
29898         (fmax_test): Likewise.
29899         (fmin_test): Likewise.
29900         (fmod_test): Likewise.
29901         (fpclassify_test): Likewise.
29902         (frexp_test): Likewise.
29903         (ilogb_test): Likewise.
29904         (isfinite_test): Likewise.
29905         (finite_test): Likewise.
29906         (isgreater_test): Likewise.
29907         (isgreaterequal_test): Likewise.
29908         (isinf_test): Likewise.
29909         (isless_test): Likewise.
29910         (islessequal_test): Likewise.
29911         (islessgreater_test): Likewise.
29912         (isnan_test): Likewise.
29913         (isnormal_test): Likewise.
29914         (issignaling_test): Likewise.
29915         (isunordered_test): Likewise.
29916         (logb_test): Likewise.
29917         (logb_downward_test_data): Remove.
29918         (logb_test_downward): Likewise.
29919         (lround_test): Use ALL_RM_TEST.
29920         (llround_test): Likewise.
29921         (modf_test): Likewise.
29922         (nexttoward_test): Likewise.
29923         (remainder_test): Likewise.
29924         (drem_test): Likewise.
29925         (remainder_tonearest_test_data): Likewise.
29926         (remainder_test_tonearest): Likewise.
29927         (drem_test_tonearest): Likewise.
29928         (remainder_towardzero_test_data): Likewise.
29929         (remainder_test_towardzero): Likewise.
29930         (drem_test_towardzero): Likewise.
29931         (remainder_downward_test_data): Likewise.
29932         (remainder_test_downward): Likewise.
29933         (drem_test_downward): Likewise.
29934         (remainder_upward_test_data): Likewise.
29935         (remainder_test_upward): Likewise.
29936         (drem_test_upward): Likewise.
29937         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29938         (round_test): Use ALL_RM_TEST.
29939         (signbit_test): Likewise.
29940         (trunc_test): Likewise.
29941         (significand_test): Likewise.
29942         (main): Don't call removed functions.
29944 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29946         [BZ #16674]
29947         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29948         || __USE_XOPEN2K8].
29949         (ILL_ILLOPN): Likewise.
29950         (ILL_ILLADR): Likewise.
29951         (ILL_ILLTRP): Likewise.
29952         (ILL_PRVOPC): Likewise.
29953         (ILL_PRVREG): Likewise.
29954         (ILL_COPROC): Likewise.
29955         (ILL_BADSTK): Likewise.
29956         (FPE_INTDIV): Likewise.
29957         (FPE_INTOVF): Likewise.
29958         (FPE_FLTDIV): Likewise.
29959         (FPE_FLTOVF): Likewise.
29960         (FPE_FLTUND): Likewise.
29961         (FPE_FLTRES): Likewise.
29962         (FPE_FLTINV): Likewise.
29963         (FPE_FLTSUB): Likewise.
29964         (SEGV_MAPERR): Likewise.
29965         (SEGV_ACCERR): Likewise.
29966         (BUS_ADRALN): Likewise.
29967         (BUS_ADRERR): Likewise.
29968         (BUS_OBJERR): Likewise.
29969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29970         (TRAP_TRACE): Likewise.
29971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29972         __USE_XOPEN2K8].
29973         (CLD_KILLED): Likewise.
29974         (CLD_DUMPED): Likewise.
29975         (CLD_TRAPPED): Likewise.
29976         (CLD_STOPPED): Likewise.
29977         (CLD_CONTINUED): Likewise.
29978         (POLL_IN): Likewise.
29979         (POLL_OUT): Likewise.
29980         (POLL_MSG): Likewise.
29981         (POLL_ERR): Likewise.
29982         (POLL_PRI): Likewise.
29983         (POLL_HUP): Likewise.
29984         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29985         Likewise.
29986         (ILL_ILLOPN): Likewise.
29987         (ILL_ILLADR): Likewise.
29988         (ILL_ILLTRP): Likewise.
29989         (ILL_PRVOPC): Likewise.
29990         (ILL_PRVREG): Likewise.
29991         (ILL_COPROC): Likewise.
29992         (ILL_BADSTK): Likewise.
29993         (FPE_INTDIV): Likewise.
29994         (FPE_INTOVF): Likewise.
29995         (FPE_FLTDIV): Likewise.
29996         (FPE_FLTOVF): Likewise.
29997         (FPE_FLTUND): Likewise.
29998         (FPE_FLTRES): Likewise.
29999         (FPE_FLTINV): Likewise.
30000         (FPE_FLTSUB): Likewise.
30001         (SEGV_MAPERR): Likewise.
30002         (SEGV_ACCERR): Likewise.
30003         (BUS_ADRALN): Likewise.
30004         (BUS_ADRERR): Likewise.
30005         (BUS_OBJERR): Likewise.
30006         (BUS_MCEERR_AR): Likewise.
30007         (BUS_MCEERR_AO): Likewise.
30008         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30009         (TRAP_TRACE): Likewise.
30010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30011         __USE_XOPEN2K8].
30012         (CLD_KILLED): Likewise.
30013         (CLD_DUMPED): Likewise.
30014         (CLD_TRAPPED): Likewise.
30015         (CLD_STOPPED): Likewise.
30016         (CLD_CONTINUED): Likewise.
30017         (POLL_IN): Likewise.
30018         (POLL_OUT): Likewise.
30019         (POLL_MSG): Likewise.
30020         (POLL_ERR): Likewise.
30021         (POLL_PRI): Likewise.
30022         (POLL_HUP): Likewise.
30023         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30024         (ILL_ILLOPN): Likewise.
30025         (ILL_ILLADR): Likewise.
30026         (ILL_ILLTRP): Likewise.
30027         (ILL_PRVOPC): Likewise.
30028         (ILL_PRVREG): Likewise.
30029         (ILL_COPROC): Likewise.
30030         (ILL_BADSTK): Likewise.
30031         (FPE_INTDIV): Likewise.
30032         (FPE_INTOVF): Likewise.
30033         (FPE_FLTDIV): Likewise.
30034         (FPE_FLTOVF): Likewise.
30035         (FPE_FLTUND): Likewise.
30036         (FPE_FLTRES): Likewise.
30037         (FPE_FLTINV): Likewise.
30038         (FPE_FLTSUB): Likewise.
30039         (SEGV_MAPERR): Likewise.
30040         (SEGV_ACCERR): Likewise.
30041         (BUS_ADRALN): Likewise.
30042         (BUS_ADRERR): Likewise.
30043         (BUS_OBJERR): Likewise.
30044         (BUS_MCEERR_AR): Likewise.
30045         (BUS_MCEERR_AO): Likewise.
30046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30047         (TRAP_TRACE): Likewise.
30048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30049         __USE_XOPEN2K8].
30050         (CLD_KILLED): Likewise.
30051         (CLD_DUMPED): Likewise.
30052         (CLD_TRAPPED): Likewise.
30053         (CLD_STOPPED): Likewise.
30054         (CLD_CONTINUED): Likewise.
30055         (POLL_IN): Likewise.
30056         (POLL_OUT): Likewise.
30057         (POLL_MSG): Likewise.
30058         (POLL_ERR): Likewise.
30059         (POLL_PRI): Likewise.
30060         (POLL_HUP): Likewise.
30061         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30062         Likewise.
30063         (ILL_ILLOPN): Likewise.
30064         (ILL_ILLADR): Likewise.
30065         (ILL_ILLTRP): Likewise.
30066         (ILL_PRVOPC): Likewise.
30067         (ILL_PRVREG): Likewise.
30068         (ILL_COPROC): Likewise.
30069         (ILL_BADSTK): Likewise.
30070         (ILL_BADIADDR): Likewise.
30071         (ILL_BREAK): Likewise.
30072         (FPE_INTDIV): Likewise.
30073         (FPE_INTOVF): Likewise.
30074         (FPE_FLTDIV): Likewise.
30075         (FPE_FLTOVF): Likewise.
30076         (FPE_FLTUND): Likewise.
30077         (FPE_FLTRES): Likewise.
30078         (FPE_FLTINV): Likewise.
30079         (FPE_FLTSUB): Likewise.
30080         (FPE_DECOVF): Likewise.
30081         (FPE_DECDIV): Likewise.
30082         (FPE_DECERR): Likewise.
30083         (FPE_INVASC): Likewise.
30084         (FPE_INVDEC): Likewise.
30085         (SEGV_MAPERR): Likewise.
30086         (SEGV_ACCERR): Likewise.
30087         (SEGV_PSTKOVF): Likewise.
30088         (BUS_ADRALN): Likewise.
30089         (BUS_ADRERR): Likewise.
30090         (BUS_OBJERR): Likewise.
30091         (BUS_MCEERR_AR): Likewise.
30092         (BUS_MCEERR_AO): Likewise.
30093         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30094         (TRAP_TRACE): Likewise.
30095         (TRAP_BRANCH): Likewise.
30096         (TRAP_HWBKPT): Likewise.
30097         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30098         __USE_XOPEN2K8].
30099         (CLD_KILLED): Likewise.
30100         (CLD_DUMPED): Likewise.
30101         (CLD_TRAPPED): Likewise.
30102         (CLD_STOPPED): Likewise.
30103         (CLD_CONTINUED): Likewise.
30104         (POLL_IN): Likewise.
30105         (POLL_OUT): Likewise.
30106         (POLL_MSG): Likewise.
30107         (POLL_ERR): Likewise.
30108         (POLL_PRI): Likewise.
30109         (POLL_HUP): Likewise.
30110         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30111         (ILL_ILLOPN): Likewise.
30112         (ILL_ILLADR): Likewise.
30113         (ILL_ILLTRP): Likewise.
30114         (ILL_PRVOPC): Likewise.
30115         (ILL_PRVREG): Likewise.
30116         (ILL_COPROC): Likewise.
30117         (ILL_BADSTK): Likewise.
30118         (FPE_INTDIV): Likewise.
30119         (FPE_INTOVF): Likewise.
30120         (FPE_FLTDIV): Likewise.
30121         (FPE_FLTOVF): Likewise.
30122         (FPE_FLTUND): Likewise.
30123         (FPE_FLTRES): Likewise.
30124         (FPE_FLTINV): Likewise.
30125         (FPE_FLTSUB): Likewise.
30126         (SEGV_MAPERR): Likewise.
30127         (SEGV_ACCERR): Likewise.
30128         (BUS_ADRALN): Likewise.
30129         (BUS_ADRERR): Likewise.
30130         (BUS_OBJERR): Likewise.
30131         (BUS_MCEERR_AR): Likewise.
30132         (BUS_MCEERR_AO): Likewise.
30133         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30134         (TRAP_TRACE): Likewise.
30135         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30136         __USE_XOPEN2K8].
30137         (CLD_KILLED): Likewise.
30138         (CLD_DUMPED): Likewise.
30139         (CLD_TRAPPED): Likewise.
30140         (CLD_STOPPED): Likewise.
30141         (CLD_CONTINUED): Likewise.
30142         (POLL_IN): Likewise.
30143         (POLL_OUT): Likewise.
30144         (POLL_MSG): Likewise.
30145         (POLL_ERR): Likewise.
30146         (POLL_PRI): Likewise.
30147         (POLL_HUP): Likewise.
30148         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30149         (ILL_ILLOPN): Likewise.
30150         (ILL_ILLADR): Likewise.
30151         (ILL_ILLTRP): Likewise.
30152         (ILL_PRVOPC): Likewise.
30153         (ILL_PRVREG): Likewise.
30154         (ILL_COPROC): Likewise.
30155         (ILL_BADSTK): Likewise.
30156         (FPE_INTDIV): Likewise.
30157         (FPE_INTOVF): Likewise.
30158         (FPE_FLTDIV): Likewise.
30159         (FPE_FLTOVF): Likewise.
30160         (FPE_FLTUND): Likewise.
30161         (FPE_FLTRES): Likewise.
30162         (FPE_FLTINV): Likewise.
30163         (FPE_FLTSUB): Likewise.
30164         (SEGV_MAPERR): Likewise.
30165         (SEGV_ACCERR): Likewise.
30166         (BUS_ADRALN): Likewise.
30167         (BUS_ADRERR): Likewise.
30168         (BUS_OBJERR): Likewise.
30169         (BUS_MCEERR_AR): Likewise.
30170         (BUS_MCEERR_AO): Likewise.
30171         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30172         (TRAP_TRACE): Likewise.
30173         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30174         __USE_XOPEN2K8].
30175         (CLD_KILLED): Likewise.
30176         (CLD_DUMPED): Likewise.
30177         (CLD_TRAPPED): Likewise.
30178         (CLD_STOPPED): Likewise.
30179         (CLD_CONTINUED): Likewise.
30180         (POLL_IN): Likewise.
30181         (POLL_OUT): Likewise.
30182         (POLL_MSG): Likewise.
30183         (POLL_ERR): Likewise.
30184         (POLL_PRI): Likewise.
30185         (POLL_HUP): Likewise.
30186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30187         (ILL_ILLOPN): Likewise.
30188         (ILL_ILLADR): Likewise.
30189         (ILL_ILLTRP): Likewise.
30190         (ILL_PRVOPC): Likewise.
30191         (ILL_PRVREG): Likewise.
30192         (ILL_COPROC): Likewise.
30193         (ILL_BADSTK): Likewise.
30194         (FPE_INTDIV): Likewise.
30195         (FPE_INTOVF): Likewise.
30196         (FPE_FLTDIV): Likewise.
30197         (FPE_FLTOVF): Likewise.
30198         (FPE_FLTUND): Likewise.
30199         (FPE_FLTRES): Likewise.
30200         (FPE_FLTINV): Likewise.
30201         (FPE_FLTSUB): Likewise.
30202         (SEGV_MAPERR): Likewise.
30203         (SEGV_ACCERR): Likewise.
30204         (BUS_ADRALN): Likewise.
30205         (BUS_ADRERR): Likewise.
30206         (BUS_OBJERR): Likewise.
30207         (BUS_MCEERR_AR): Likewise.
30208         (BUS_MCEERR_AO): Likewise.
30209         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30210         (TRAP_TRACE): Likewise.
30211         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30212         __USE_XOPEN2K8].
30213         (CLD_KILLED): Likewise.
30214         (CLD_DUMPED): Likewise.
30215         (CLD_TRAPPED): Likewise.
30216         (CLD_STOPPED): Likewise.
30217         (CLD_CONTINUED): Likewise.
30218         (POLL_IN): Likewise.
30219         (POLL_OUT): Likewise.
30220         (POLL_MSG): Likewise.
30221         (POLL_ERR): Likewise.
30222         (POLL_PRI): Likewise.
30223         (POLL_HUP): Likewise.
30224         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30225         (ILL_ILLOPN): Likewise.
30226         (ILL_ILLADR): Likewise.
30227         (ILL_ILLTRP): Likewise.
30228         (ILL_PRVOPC): Likewise.
30229         (ILL_PRVREG): Likewise.
30230         (ILL_COPROC): Likewise.
30231         (ILL_BADSTK): Likewise.
30232         (ILL_DBLFLT): Likewise.
30233         (ILL_HARDWALL): Likewise.
30234         (FPE_INTDIV): Likewise.
30235         (FPE_INTOVF): Likewise.
30236         (FPE_FLTDIV): Likewise.
30237         (FPE_FLTOVF): Likewise.
30238         (FPE_FLTUND): Likewise.
30239         (FPE_FLTRES): Likewise.
30240         (FPE_FLTINV): Likewise.
30241         (FPE_FLTSUB): Likewise.
30242         (SEGV_MAPERR): Likewise.
30243         (SEGV_ACCERR): Likewise.
30244         (BUS_ADRALN): Likewise.
30245         (BUS_ADRERR): Likewise.
30246         (BUS_OBJERR): Likewise.
30247         (BUS_MCEERR_AR): Likewise.
30248         (BUS_MCEERR_AO): Likewise.
30249         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30250         (TRAP_TRACE): Likewise.
30251         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30252         __USE_XOPEN2K8].
30253         (CLD_KILLED): Likewise.
30254         (CLD_DUMPED): Likewise.
30255         (CLD_TRAPPED): Likewise.
30256         (CLD_STOPPED): Likewise.
30257         (CLD_CONTINUED): Likewise.
30258         (POLL_IN): Likewise.
30259         (POLL_OUT): Likewise.
30260         (POLL_MSG): Likewise.
30261         (POLL_ERR): Likewise.
30262         (POLL_PRI): Likewise.
30263         (POLL_HUP): Likewise.
30264         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30265         (ILL_ILLOPN): Likewise.
30266         (ILL_ILLADR): Likewise.
30267         (ILL_ILLTRP): Likewise.
30268         (ILL_PRVOPC): Likewise.
30269         (ILL_PRVREG): Likewise.
30270         (ILL_COPROC): Likewise.
30271         (ILL_BADSTK): Likewise.
30272         (FPE_INTDIV): Likewise.
30273         (FPE_INTOVF): Likewise.
30274         (FPE_FLTDIV): Likewise.
30275         (FPE_FLTOVF): Likewise.
30276         (FPE_FLTUND): Likewise.
30277         (FPE_FLTRES): Likewise.
30278         (FPE_FLTINV): Likewise.
30279         (FPE_FLTSUB): Likewise.
30280         (SEGV_MAPERR): Likewise.
30281         (SEGV_ACCERR): Likewise.
30282         (BUS_ADRALN): Likewise.
30283         (BUS_ADRERR): Likewise.
30284         (BUS_OBJERR): Likewise.
30285         (BUS_MCEERR_AR): Likewise.
30286         (BUS_MCEERR_AO): Likewise.
30287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30288         (TRAP_TRACE): Likewise.
30289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30290         __USE_XOPEN2K8].
30291         (CLD_KILLED): Likewise.
30292         (CLD_DUMPED): Likewise.
30293         (CLD_TRAPPED): Likewise.
30294         (CLD_STOPPED): Likewise.
30295         (CLD_CONTINUED): Likewise.
30296         (POLL_IN): Likewise.
30297         (POLL_OUT): Likewise.
30298         (POLL_MSG): Likewise.
30299         (POLL_ERR): Likewise.
30300         (POLL_PRI): Likewise.
30301         (POLL_HUP): Likewise.
30302         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30303         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30305         [BZ #16670]
30306         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30307         before #include of <time.h>.
30308         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30309         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30310         (test-xfail-UNIX98/sched.h/conform): Likewise.
30312 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30314         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30315         error absence of trapping exception support.
30316         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30318 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30320         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30321         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30322         * timezone/Makefile (testdata): Move definition above include of
30323         Rules.
30324         (test-zones): New variable.
30325         (tests-special): Add zone files.
30326         (build-testdata): Use $(evaluate-test).
30328         * elf/Makefile (tests-special): Rename tests to end with .out.
30329         ($(objpfx)noload-mem): Likewise.
30330         ($(objpfx)tst-leaks1-mem): Likewise.
30331         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30332         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30333         $(objpfx)test-iconvconfig.out.
30334         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30335         set -e inside subshell and redirect output to file.
30336         * iconvdata/Makefile (generated): Rename tests to end with .out.
30337         Correct type.
30338         (tests-special): Rename tests to end with .out.
30339         ($(objpfx)mtrace-tst-loading): Likewise.
30340         * intl/Makefile (generated): Likewise.
30341         (tests-special): Likewise.
30342         ($(objpfx)mtrace-tst-gettext): Likewise.
30343         * misc/Makefile (generated): Likewise.
30344         (tests-special): Likewise.
30345         ($(objpfx)tst-error1-mem): Likewise.
30346         * nptl/Makefile (tests-special): Likewise.
30347         ($(objpfx)tst-stack3-mem): Likewise.
30348         (generated): Likewise.
30349         * posix/Makefile (generated): Likewise.
30350         (tests-special): Likewise.
30351         (xtests-special): Likewise.
30352         ($(objpfx)tst-fnmatch-mem): Likewise.
30353         ($(objpfx)bug-regex2-mem): Likewise.
30354         ($(objpfx)bug-regex14-mem): Likewise.
30355         ($(objpfx)bug-regex21-mem): Likewise.
30356         ($(objpfx)bug-regex31-mem): Likewise.
30357         ($(objpfx)tst-vfork3-mem): Likewise.
30358         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30359         ($(objpfx)tst-pcre-mem): Likewise.
30360         ($(objpfx)tst-boost-mem): Likewise.
30361         ($(objpfx)bug-ga2-mem): Likewise.
30362         ($(objpfx)bug-glob2-mem): Likewise.
30363         * resolv/Makefile (generate): Likewise.
30364         (tests-special): Likewise.
30365         (xtests-special): Likewise.
30366         (generated): Likewise.
30367         ($(objpfx)mtrace-tst-leaks): Likewise.
30368         ($(objpfx)mtrace-tst-leaks2): Likewise.
30370         * scripts/merge-test-results.sh: New file.
30371         * Makefile (tests-special-notdir): New variable.
30372         (tests): Run merge-test-results.sh.
30373         (xtests): Likewise.
30374         * Rules (tests-special-notdir): New variable.
30375         (xtests-special-notdir): Likewise.
30376         (tests): Run merge-test-results.sh
30377         (xtests): Likewise.
30379         * Makeconfig (test-xfail-name): New variable.
30380         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30381         compute variable name for expected failures.
30382         * conform/Makefile (conformtest-headers-data): New variable.
30383         (conformtest-standards): Likewise.
30384         (conformtest-headers-ISO): Likewise.
30385         (conformtest-headers-ISO99): Likewise.
30386         (conformtest-headers-ISO11): Likewise.
30387         (conformtest-headers-POSIX): Likewise.
30388         (conformtest-headers-XPG3): Likewise.
30389         (conformtest-headers-XPG4): Likewise.
30390         (conformtest-headers-UNIX98): Likewise.
30391         (conformtest-headers-XOPEN2K): Likewise.
30392         (conformtest-headers-POSIX2008): Likewise.
30393         (conformtest-headers-XOPEN2K8): Likewise.
30394         (conformtest-header-list-base): Likewise.
30395         (conformtest-header-list-tests): Likewise.
30396         (conformtest-header-base): Likewise.
30397         (conformtest-header-tests): Likewise.
30398         (tests-special): Add $(conformtest-header-list-tests).  If
30399         [$(fast-check) && !$(cross-compiling)], add
30400         $(conformtest-header-tests) instead of
30401         $(objpfx)run-conformtest.out.
30402         (generated): Add $(conformtest-header-list-base).  If
30403         [$(fast-check) && !$(cross-compiling)], add
30404         $(conformtest-header-base).  Remove previous setting.
30405         ($(conformtest-header-list-tests)): New target.
30406         (test-xfail-run-conformtest): Remove variable.
30407         ($(objpfx)run-conformtest.out): Remove target.
30408         (test-xfail-ISO11/complex.h/conform): New variable.
30409         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30410         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30411         (test-xfail-XPG3/varargs.h/conform): Likewise.
30412         (test-xfail-XPG4/varargs.h/conform): Likewise.
30413         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30414         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30415         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30416         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30417         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30418         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30419         (test-xfail-XPG3/ftw.h/conform): Likewise.
30420         (test-xfail-XPG3/grp.h/conform): Likewise.
30421         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30422         (test-xfail-XPG3/limits.h/conform): Likewise.
30423         (test-xfail-XPG3/pwd.h/conform): Likewise.
30424         (test-xfail-XPG3/search.h/conform): Likewise.
30425         (test-xfail-XPG3/signal.h/conform): Likewise.
30426         (test-xfail-XPG3/stdio.h/conform): Likewise.
30427         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30428         (test-xfail-XPG3/string.h/conform): Likewise.
30429         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30430         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30431         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30432         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30433         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30434         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30435         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30436         (test-xfail-XPG3/termios.h/conform): Likewise.
30437         (test-xfail-XPG3/time.h/conform): Likewise.
30438         (test-xfail-XPG3/unistd.h/conform): Likewise.
30439         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30440         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30441         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30442         (test-xfail-XPG4/netdb.h/conform): Likewise.
30443         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30444         (test-xfail-XPG4/signal.h/conform): Likewise.
30445         (test-xfail-XPG4/stdio.h/conform): Likewise.
30446         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30447         (test-xfail-XPG4/stropts.h/conform): Likewise.
30448         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30449         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30450         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30451         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30452         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30453         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30454         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30455         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30456         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30457         (test-xfail-XPG4/termios.h/conform): Likewise.
30458         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30459         (test-xfail-XPG4/unistd.h/conform): Likewise.
30460         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30461         (test-xfail-POSIX/sched.h/conform): Likewise.
30462         (test-xfail-POSIX/signal.h/conform): Likewise.
30463         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30464         (test-xfail-POSIX/tar.h/conform): Likewise.
30465         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30466         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30467         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30468         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30469         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30470         (test-xfail-UNIX98/sched.h/conform): Likewise.
30471         (test-xfail-UNIX98/signal.h/conform): Likewise.
30472         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30473         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30474         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30475         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30476         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30477         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30478         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30479         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30480         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30481         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30482         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30483         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30484         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30485         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30486         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30487         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30488         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30489         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30490         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30491         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30492         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30493         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30494         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30495         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30496         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30497         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30498         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30499         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30500         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30501         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30502         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30503         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30504         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30505         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30506         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30507         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30508         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30509         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30510         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30511         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30512         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30513         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30514         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30515         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30516         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30517         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30518         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30519         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30520         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30521         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30522         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30523         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30524         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30525         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30526         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30527         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30528         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30529         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30530         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30531         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30532         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30533         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30534         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30535         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30536         (conformtest-cc-flags): Likewise.
30537         ($(conformtest-header-tests): New target.
30538         * conform/check-header-lists.sh: New file.
30539         * conform/run-conformtest.sh: Remove.
30541         * conform/conformtest.pl: Allow ' and \ in values given for
30542         constants.
30543         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30544         inclusion.
30545         [POSIX] (sys/types.h): Likewise.
30546         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30547         inclusion.
30548         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30549         inclusion.
30550         * conform/data/signal.h-data (SIGIO): Remove expectation.
30551         [XPG3] (SIGBUS): Do not expect.
30552         [POSIX || XPG3] (SIGPOLL): Likewise.
30553         [POSIX || XPG3] (SIGPROF): Likewise.
30554         [POSIX || XPG3] (SIGSYS): Likewise.
30555         [XPG3] (SIGTRAP): Likewise.
30556         [POSIX || XPG3] (SIGURG): Likewise.
30557         [POSIX || XPG3] (SIGVTALRM): Likewise.
30558         [POSIX || XPG3] (SIGXCPU): Likewise.
30559         [POSIX || XPG3] (SIGXFSZ): Likewise.
30560         [POSIX] (SA_SIGINFO): Expect.
30561         [XPG3] (siginfo_t): Do not expect type or contents.
30562         [POSIX] (si_pid): Do not expect element.
30563         [POSIX] (si_uid): Likewise.
30564         [POSIX] (si_addr): Likewise.
30565         [POSIX] (si_status): Likewise.
30566         [POSIX] (si_band): Likewise.
30567         [XPG4] (si_value): Likewise.
30568         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30569         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30570         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30571         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30572         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30573         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30574         [POSIX || XPG3] (ILL_COPROC): Likewise.
30575         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30576         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30577         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30578         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30579         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30580         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30581         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30582         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30583         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30584         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30585         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30586         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30587         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30588         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30589         [POSIX || XPG3] (CLD_EXITED): Likewise.
30590         [POSIX || XPG3] (CLD_KILLED): Likewise.
30591         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30592         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30593         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30594         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30595         [POSIX || XPG3] (POLL_IN): Likewise.
30596         [POSIX || XPG3] (POLL_OUT): Likewise.
30597         [POSIX || XPG3] (POLL_MSG): Likewise.
30598         [POSIX || XPG3] (POLL_ERR): Likewise.
30599         [POSIX || XPG3] (POLL_PRI): Likewise.
30600         [POSIX || XPG3] (POLL_HUP): Likewise.
30601         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30602         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30603         (SIG*): Do not allow.
30604         [XPG3] (si_*): Likewise.
30605         [XPG3] (SI_*): Likewise.
30606         [XPG3 || XPG4] (sigev_*): Likewise.
30607         [XPG3 || XPG4] (SIGEV_*): Likewise.
30608         [XPG3 || XPG4] (sival_*): Likewise.
30609         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30610         [POSIX || XPG3] (BUS_*): Likewise.
30611         [POSIX || XPG3] (CLD_*): Likewise.
30612         [POSIX || XPG3] (FPE_*): Likewise.
30613         [POSIX || XPG3] (ILL_*): Likewise.
30614         [POSIX || XPG3] (POLL_*): Likewise.
30615         [POSIX || XPG3] (SEGV_*): Likewise.
30616         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30617         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30618         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30619         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30620         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30621         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30622         Specify type and value.
30623         (TVERSLEN): Likewise.
30624         (REGTYPE): Likewise.
30625         (AREGTYPE): Likewise.
30626         (LNKTYPE): Likewise.
30627         (SYMTYPE): Likewise.
30628         (CHRTYPE): Likewise.
30629         (BLKTYPE): Likewise.
30630         (DIRTYPE): Likewise.
30631         (FIFOTYPE): Likewise.
30632         (CONTTYPE): Likewise.
30633         (TSUID): Likewise.
30634         (TSGID): Likewise.
30635         (TSVTX): Likewise.
30636         (TUREAD): Likewise.
30637         (TUWRITE): Likewise.
30638         (TUEXEC): Likewise.
30639         (TGREAD): Likewise.
30640         (TGWRITE): Likewise.
30641         (TGEXEC): Likewise.
30642         (TOREAD): Likewise.
30643         (TOWRITE): Likewise.
30644         (TOEXEC): Likewise.
30645         [POSIX] (TSVTX): Expect constant.
30647 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30649         * Makefile (tests): Change dependencies to ....
30650         (tests-special): ... additions to this variable.
30651         (tests): Depend on $(tests-special).
30652         * Makerules (check-abi-list): New variable.
30653         (check-abi): Depend on $(check-abi-list).
30654         [$(subdir) = elf] (tests-special): Add
30655         $(objpfx)check-abi-libc.out.
30656         [$(build-shared) = yes && subdir] (tests-special): Add
30657         $(check-abi-list).
30658         [$(build-shared) = yes && subdir] (tests): Do not depend on
30659         check-abi.
30660         * Rules (tests): Depend on $(tests-special).
30661         (xtests): Depend on $(xtests-special).
30662         * catgets/Makefile (tests): Change dependencies to ....
30663         (tests-special): ... additions to this variable.
30664         * conform/Makefile (tests): Change dependencies to ....
30665         (tests-special): ... additions to this variable.
30666         * elf/Makefile (tests): Change dependencies to ....
30667         (tests-special): ... additions to this variable.
30668         * grp/Makefile (tests): Change dependencies to ....
30669         (tests-special): ... additions to this variable.
30670         * iconv/Makefile (xtests): Change dependencies to ....
30671         (xtests-special): ... additions to this variable.
30672         * iconvdata/Makefile (tests): Change dependencies to ....
30673         (tests-special): ... additions to this variable.
30674         * intl/Makefile (tests): Change dependencies to ....
30675         (tests-special): ... additions to this variable.  Also add
30676         $(objpfx)tst-gettext.out.
30677         * io/Makefile (tests): Change dependencies to ....
30678         (tests-special): ... additions to this variable.
30679         * libio/Makefile (tests): Change dependencies to ....
30680         (tests-special): ... additions to this variable.
30681         * malloc/Makefile (tests): Change dependencies to ....
30682         (tests-special): ... additions to this variable.
30683         * misc/Makefile (tests): Change dependencies to ....
30684         (tests-special): ... additions to this variable.
30685         * nptl/Makefile (tests): Change dependencies to ....
30686         (tests-special): ... additions to this variable.
30687         * nptl_db/Makefile (tests): Change dependencies to ....
30688         (tests-special): ... additions to this variable.
30689         * posix/Makefile (tests): Change dependencies to ....
30690         (tests-special): ... additions to this variable.
30691         (xtests): Change dependencies to ....
30692         (xtests-special): ... additions to this variable.
30693         * resolv/Makefile (tests): Change dependencies to ....
30694         (tests-special): ... additions to this variable.
30695         (xtests): Change dependencies to ....
30696         (xtests-special): ... additions to this variable.
30697         * stdio-common/Makefile (tests): Change dependencies to ....
30698         (tests-special): ... additions to this variable.
30699         (do-tst-unbputc): Remove target.
30700         (do-tst-printf): Likewise.
30701         * stdlib/Makefile (tests): Change dependencies to ....
30702         (tests-special): ... additions to this variable.
30703         * string/Makefile (tests): Change dependencies to ....
30704         (tests-special): ... additions to this variable.
30705         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30706         (tests-special): ... additions to this variable.
30708         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30709         whole file.
30710         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30711         whole file.
30712         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30713         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30715         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30716         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30717         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30718         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30719         * conform/data/libgen.h-data [XPG3]: Likewise.
30720         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30721         * conform/data/ndbm.h-data [XPG3]: Likewise.
30722         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30723         * conform/data/netdb.h-data [XPG3]: Likewise.
30724         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30725         * conform/data/poll.h-data [XPG3]: Likewise.
30726         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30727         * conform/data/strings.h-data [XPG3]: Likewise.
30728         * conform/data/stropts.h-data [XPG3]: Likewise.
30729         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30730         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30731         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30732         Likewise.
30733         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30734         * conform/data/sys/time.h-data [XPG3]: Likewise.
30735         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30736         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30737         * conform/data/sys/un.h-data [XPG3]: Likewise.
30738         * conform/data/syslog.h-data [XPG3]: Likewise.
30739         * conform/data/ucontext.h-data [XPG3]: Likewise.
30740         * conform/data/utmpx.h-data [XPG3]: Likewise.
30741         * conform/data/varargs.h-data [UNIX98]: Enable file.
30743         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30745         * math/libm-test.inc (struct test_f_f_data): Move expected results
30746         into structure for each rounding mode.
30747         (struct test_ff_f_data): Likewise.
30748         (struct test_ff_f_data_nexttoward): Likewise.
30749         (struct test_fi_f_data): Likewise.
30750         (struct test_fl_f_data): Likewise.
30751         (struct test_if_f_data): Likewise.
30752         (struct test_fff_f_data): Likewise.
30753         (struct test_c_f_data): Likewise.
30754         (struct test_f_f1_data): Likewise.
30755         (struct test_fF_f1_data): Likewise.
30756         (struct test_ffI_f1_data): Likewise.
30757         (struct test_c_c_data): Likewise.
30758         (struct test_cc_c_data): Likewise.
30759         (struct test_f_i_data): Likewise.
30760         (struct test_ff_i_data): Likewise.
30761         (struct test_f_l_data): Likewise.
30762         (struct test_f_L_data): Likewise.
30763         (struct test_fFF_11_data): Likewise.
30764         (RM_): New macro.
30765         (RM_FE_DOWNWARD): Likewise.
30766         (RM_FE_TONEAREST): Likewise.
30767         (RM_FE_TOWARDZERO): Likewise.
30768         (RM_FE_UPWARD): Likewise.
30769         (RUN_TEST_LOOP_f_f): Update references to expected results.
30770         (RUN_TEST_LOOP_2_f): Likewise.
30771         (RUN_TEST_LOOP_fff_f): Likewise.
30772         (RUN_TEST_LOOP_c_f): Likewise.
30773         (RUN_TEST_LOOP_f_f1): Likewise.
30774         (RUN_TEST_LOOP_fF_f1): Likewise.
30775         (RUN_TEST_LOOP_fI_f1): Likewise.
30776         (RUN_TEST_LOOP_ffI_f1): Likewise.
30777         (RUN_TEST_LOOP_c_c): Likewise.
30778         (RUN_TEST_LOOP_cc_c): Likewise.
30779         (RUN_TEST_LOOP_f_i): Likewise.
30780         (RUN_TEST_LOOP_f_i_tg): Likewise.
30781         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30782         (RUN_TEST_LOOP_f_b): Likewise.
30783         (RUN_TEST_LOOP_f_b_tg): Likewise.
30784         (RUN_TEST_LOOP_f_l): Likewise.
30785         (RUN_TEST_LOOP_f_L): Likewise.
30786         (RUN_TEST_LOOP_fFF_11): Likewise.
30787         * math/gen-libm-test.pl (parse_args): Output four copies of
30788         expected results for each test.
30790         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30791         (__ASSUME_UTIMES): Remove.
30792         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30793         (__ASSUME_UTIMES): Likewise.
30795         * math/gen-auto-libm-tests.c: Update comment on output format.
30796         (output_for_one_input_case): Generate before-rounding and
30797         after-rounding information as conditions on output flags not
30798         floating-point format.
30799         * math/auto-libm-test-out: Regenerated.
30800         * math/gen-libm-test.pl (cond_value): New function.
30801         (or_cond_value): Use cond_value.
30802         (generate_testfile): Handle conditional exceptions.
30804 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30806         * math/libm-test.inc (max_valid_error): New variable.
30807         (init_max_error): Take new argument specifying whether function
30808         results are exactly determined.  Set max_valid_error and bound
30809         other variables for errors based on this argument.
30810         (set_max_error): Do not record results above max_valid_error.
30811         (check_float_internal): Only accept errors of up to 0.5ulps if
30812         also at most max_valid_error.
30813         (START): Take new argument EXACT and pass it to init_max_error.
30814         (acos_test): Update call to START.
30815         (acos_test_tonearest): Likewise.
30816         (acos_test_towardzero): Likewise.
30817         (acos_test_downward): Likewise.
30818         (acos_test_upward): Likewise.
30819         (acosh_test): Likewise.
30820         (asin_test): Likewise.
30821         (asin_test_tonearest): Likewise.
30822         (asin_test_towardzero): Likewise.
30823         (asin_test_downward): Likewise.
30824         (asin_test_upward): Likewise.
30825         (asinh_test): Likewise.
30826         (atan_test): Likewise.
30827         (atanh_test): Likewise.
30828         (atan2_test): Likewise.
30829         (cabs_test): Likewise.
30830         (cacos_test): Likewise.
30831         (cacosh_test): Likewise.
30832         (carg_test): Likewise.
30833         (casin_test): Likewise.
30834         (casinh_test): Likewise.
30835         (catan_test): Likewise.
30836         (catanh_test): Likewise.
30837         (cbrt_test): Likewise.
30838         (ccos_test): Likewise.
30839         (ccosh_test): Likewise.
30840         (ceil_test): Likewise.
30841         (cexp_test): Likewise.
30842         (cimag_test): Likewise.
30843         (clog_test): Likewise.
30844         (clog10_test): Likewise.
30845         (conj_test): Likewise.
30846         (copysign_test): Likewise.
30847         (cos_test): Likewise.
30848         (cos_test_tonearest): Likewise.
30849         (cos_test_towardzero): Likewise.
30850         (cos_test_downward): Likewise.
30851         (cos_test_upward): Likewise.
30852         (cosh_test): Likewise.
30853         (cosh_test_tonearest): Likewise.
30854         (cosh_test_towardzero): Likewise.
30855         (cosh_test_downward): Likewise.
30856         (cosh_test_upward): Likewise.
30857         (cpow_test): Likewise.
30858         (cproj_test): Likewise.
30859         (creal_test): Likewise.
30860         (csin_test): Likewise.
30861         (csinh_test): Likewise.
30862         (csqrt_test): Likewise.
30863         (ctan_test): Likewise.
30864         (ctan_test_tonearest): Likewise.
30865         (ctan_test_towardzero): Likewise.
30866         (ctan_test_downward): Likewise.
30867         (ctan_test_upward): Likewise.
30868         (ctanh_test): Likewise.
30869         (ctanh_test_tonearest): Likewise.
30870         (ctanh_test_towardzero): Likewise.
30871         (ctanh_test_downward): Likewise.
30872         (ctanh_test_upward): Likewise.
30873         (erf_test): Likewise.
30874         (erfc_test): Likewise.
30875         (exp_test): Likewise.
30876         (exp_test_tonearest): Likewise.
30877         (exp_test_towardzero): Likewise.
30878         (exp_test_downward): Likewise.
30879         (exp_test_upward): Likewise.
30880         (exp10_test): Likewise.
30881         (exp10_test_tonearest): Likewise.
30882         (exp10_test_towardzero): Likewise.
30883         (exp10_test_downward): Likewise.
30884         (exp10_test_upward): Likewise.
30885         (pow10_test): Likewise.
30886         (exp2_test): Likewise.
30887         (expm1_test): Likewise.
30888         (expm1_test_tonearest): Likewise.
30889         (expm1_test_towardzero): Likewise.
30890         (expm1_test_downward): Likewise.
30891         (expm1_test_upward): Likewise.
30892         (fabs_test): Likewise.
30893         (fdim_test): Likewise.
30894         (floor_test): Likewise.
30895         (fma_test): Likewise.
30896         (fma_test_towardzero): Likewise.
30897         (fma_test_downward): Likewise.
30898         (fma_test_upward): Likewise.
30899         (fmax_test): Likewise.
30900         (fmin_test): Likewise.
30901         (fmod_test): Likewise.
30902         (fpclassify_test): Likewise.
30903         (frexp_test): Likewise.
30904         (hypot_test): Likewise.
30905         (ilogb_test): Likewise.
30906         (isfinite_test): Likewise.
30907         (finite_test): Likewise.
30908         (isgreater_test): Likewise.
30909         (isgreaterequal_test): Likewise.
30910         (isinf_test): Likewise.
30911         (isless_test): Likewise.
30912         (islessequal_test): Likewise.
30913         (islessgreater_test): Likewise.
30914         (isnan_test): Likewise.
30915         (isnormal_test): Likewise.
30916         (issignaling_test): Likewise.
30917         (isunordered_test): Likewise.
30918         (j0_test): Likewise.
30919         (j1_test): Likewise.
30920         (jn_test): Likewise.
30921         (ldexp_test): Likewise.
30922         (lgamma_test): Likewise.
30923         (gamma_test): Likewise.
30924         (lrint_test): Likewise.
30925         (lrint_test_tonearest): Likewise.
30926         (lrint_test_towardzero): Likewise.
30927         (lrint_test_downward): Likewise.
30928         (lrint_test_upward): Likewise.
30929         (llrint_test): Likewise.
30930         (llrint_test_tonearest): Likewise.
30931         (llrint_test_towardzero): Likewise.
30932         (llrint_test_downward): Likewise.
30933         (llrint_test_upward): Likewise.
30934         (log_test): Likewise.
30935         (log10_test): Likewise.
30936         (log1p_test): Likewise.
30937         (log2_test): Likewise.
30938         (logb_test): Likewise.
30939         (logb_test_downward): Likewise.
30940         (lround_test): Likewise.
30941         (llround_test): Likewise.
30942         (modf_test): Likewise.
30943         (nearbyint_test): Likewise.
30944         (nextafter_test): Likewise.
30945         (nexttoward_test): Likewise.
30946         (pow_test): Likewise.
30947         (pow_test_tonearest): Likewise.
30948         (pow_test_towardzero): Likewise.
30949         (pow_test_downward): Likewise.
30950         (pow_test_upward): Likewise.
30951         (remainder_test): Likewise.
30952         (drem_test): Likewise.
30953         (remainder_test_tonearest): Likewise.
30954         (drem_test_tonearest): Likewise.
30955         (remainder_test_towardzero): Likewise.
30956         (drem_test_towardzero): Likewise.
30957         (remainder_test_downward): Likewise.
30958         (drem_test_downward): Likewise.
30959         (remainder_test_upward): Likewise.
30960         (drem_test_upward): Likewise.
30961         (remquo_test): Likewise.
30962         (rint_test): Likewise.
30963         (rint_test_tonearest): Likewise.
30964         (rint_test_towardzero): Likewise.
30965         (rint_test_downward): Likewise.
30966         (rint_test_upward): Likewise.
30967         (round_test): Likewise.
30968         (scalb_test): Likewise.
30969         (scalbn_test): Likewise.
30970         (scalbln_test): Likewise.
30971         (signbit_test): Likewise.
30972         (sin_test): Likewise.
30973         (sin_test_tonearest): Likewise.
30974         (sin_test_towardzero): Likewise.
30975         (sin_test_downward): Likewise.
30976         (sin_test_upward): Likewise.
30977         (sincos_test): Likewise.
30978         (sinh_test): Likewise.
30979         (sinh_test_tonearest): Likewise.
30980         (sinh_test_towardzero): Likewise.
30981         (sinh_test_downward): Likewise.
30982         (sinh_test_upward): Likewise.
30983         (sqrt_test): Likewise.
30984         (sqrt_test_tonearest): Likewise.
30985         (sqrt_test_towardzero): Likewise.
30986         (sqrt_test_downward): Likewise.
30987         (sqrt_test_upward): Likewise.
30988         (tan_test): Likewise.
30989         (tan_test_tonearest): Likewise.
30990         (tan_test_towardzero): Likewise.
30991         (tan_test_downward): Likewise.
30992         (tan_test_upward): Likewise.
30993         (tanh_test): Likewise.
30994         (tgamma_test): Likewise.
30995         (trunc_test): Likewise.
30996         (y0_test): Likewise.
30997         (y1_test): Likewise.
30998         (yn_test): Likewise.
30999         (significand_test): Likewise.
31001         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31002         individual tests in comment.
31003         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31004         (prev_max_error): New variable.
31005         (prev_real_max_error): Likewise.
31006         (prev_imag_max_error): Likewise.
31007         (compare_ulp_data): Don't refer to test names in comment.
31008         (find_test_ulps): Remove function.
31009         (find_function_ulps): Likewise.
31010         (find_complex_function_ulps): Likewise.
31011         (init_max_error): Take function name as argument.  Look up ulps
31012         for that function.
31013         (print_ulps): Remove function.
31014         (print_max_error): Use prev_max_error instead of calling
31015         find_function_ulps.
31016         (print_complex_max_error): Use prev_real_max_error and
31017         prev_imag_max_error instead of calling find_complex_function_ulps.
31018         (check_float_internal): Take max_ulp parameter instead of calling
31019         find_test_ulps.  Don't call print_ulps.
31020         (check_float): Update call to check_float_internal.
31021         (check_complex): Update calls to check_float_internal.
31022         (START): Pass argument to init_max_error.
31023         * math/gen-libm-test.pl (%results): Don't include "kind"
31024         information.
31025         (parse_ulps): Don't handle ulps of individual tests.
31026         (print_ulps_file): Likewise.
31027         (output_ulps): Likewise.
31028         * math/README.libm-test: Update.
31029         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31030         individual tests.
31031         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31032         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31033         * sysdeps/arm/libm-test-ulps: Likewise.
31034         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31035         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31036         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31037         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31038         * sysdeps/microblaze/libm-test-ulps: Likewise.
31039         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31040         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31041         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31042         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31043         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31044         * sysdeps/sh/libm-test-ulps: Likewise.
31045         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31046         * sysdeps/tile/libm-test-ulps: Likewise.
31047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31049 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31051         * math/libm-test.inc (print_complex_max_error): Check separately
31052         whether real and imaginary errors are within allowed range and
31053         pass 0 to print_complex_function_ulps instead of value within
31054         allowed range.
31056 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31059         formatting.
31060         (get_handles_fopen): Likewise.
31061         (do_write_test): Likewise.
31063         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31065         * libio/fileops.c (do_ftell): Use cached offset when
31066         available.
31067         * libio/iofwide.c (do_ftell_wide): Likewise.
31068         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31069         _IO_file_attach.
31070         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31072         [BZ #16532]
31073         * libio/libioP.h (get_file_offset): New function.
31074         * libio/fileops.c (get_file_offset): Likewise.
31075         (do_ftell): Likewise.
31076         (_IO_new_file_seekoff): Split out ftell logic.
31077         * libio/wfileops.c (do_ftell_wide): Likewise.
31078         (_IO_wfile_seekoff): Split out ftell logic.
31079         * libio/tst-ftell-active-handler.c: New test case.
31080         * libio/Makefile (tests): Add it.
31082 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31084         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31085         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31087 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089         [BZ #16639]
31090         * nscd/connections.c (nscd_init): Call do_exit.
31091         (start_threads): Call do_exit and notify_parent.
31092         (begin_drop_privileges): Call do_exit.
31093         (finish_drop_privileges): Likewise.
31094         * nscd/selinux.c (preserve_capabilities): Likewise.
31095         (install_real_capabilities): Likewise.
31096         (nscd_selinux_enabled): Likewise.
31097         (avc_create_thread): Likewise.
31098         (avc_alloc_lock): Likewise.
31099         (nscd_avc_init): Likewise.
31100         * nscd/nscd.c (parent_fd): New static variable.
31101         (main): Create a pipe between parent and child processes.
31102         Skip closing parent_fd.
31103         (monitor_child): New function.
31104         (do_exit): Likewise.
31105         (notify_parent): Likewise.
31106         * nscd/nscd.h (notify_parent): Likewise.
31107         (do_exit): Likewise.
31109 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31111         * malloc/malloc.c (__libc_calloc): Revert last change.
31113 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31117 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31119         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31121         implementation.
31122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31123         (__libc_ifunc_impl_list): Likewise.
31124         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31125         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31126         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31127         * string/strrchr.c: Define STRRCHR.
31129 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31131         * benchtest/bench-strtok.c (simple_strtok): Delete.
31132         (strtok_string): Use as benchmark.
31133         * string/strtok (STRTOK): New macro.
31135 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31137         * manual/threads.texi: Add header and standard comments to all
31138         functions.
31140         * elf/dl-lookup.c (check_match): New function.
31141         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31142         (do_lookup_x): Remove nested function check_match. Use non-nested
31143         function check_match.
31145 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31147         * csu/Makefile (generated, before-compile): Use += rather than =.
31148         * catgets/Makefile (generated, generated-dirs): Likewise.
31149         * debug/Makefile (generated): Likewise.
31150         * dlfcn/Makefile (generated): Likewise.
31151         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31152         * iconvdata/Makefile (before-compile, generated): Likewise.
31153         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31154         * libio/Makefile (generated): Likewise.
31155         * malloc/Makefile (generated): Likewise.
31156         * manual/Makefile (generated, generated-dirs): Likewise.
31157         * misc/Makefile (generated): Likewise.
31158         * posix/Makefile (generated): Likewise.
31159         * resolv/Makefile (generated): Likewise.
31160         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31161         * timezone/Makefile (generated, generated-dirs): Likewise.
31163         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31165 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31168         power8 implementation.
31169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31170         file: POWER8 llround ifunc implementation.
31171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31172         (__lllround): Add POWER8 implementation.
31173         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31174         POWER8 llround implementation.
31176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31177         power8 implementation.
31178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31179         file: POWER8 llrint ifunc implementation.
31180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31181         Add POWER8 implementation.
31182         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31183         POWER8 llrint implementation.
31185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31186         power8 implementation.
31187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31188         file: POWER8 finite ifunc implementation.
31189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31190         Add POWER8 implementation.
31191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31192         Likewise.
31193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31194         POWER8 finite implementation.
31195         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31198         power8 implementation.
31199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31200         file: POWER8 isinf ifunc implementation.
31201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31202         POWER8 implementation.
31203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31204         Likewise.
31205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31206         isinf implementation.
31207         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31209         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31210         (INIT_ARCH): Add hwcap2 initialization.
31211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31212         power8 implementation.
31213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31214         file: POWER8 isnan ifunc implementation.
31215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31216         POWER8 implementation.
31217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31218         Likewise.
31219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31220         isnan implementation.
31221         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31223 2014-02-27  Joey Ye  <joey.ye@arm.com>
31225         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31226         (_FP_NANFRAC_Q): Set to zero.
31228 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31230         [BZ #16623]
31231         * math/auto-libm-test-in: New test inputs.
31232         * math/auto-libm-test-out: Regenerate.
31233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31234         and DA.
31235         (__cos): Likewise.
31236         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31238 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31240         * scripts/evaluate-test.sh: Take new argument indicating whether
31241         failure is expected.
31242         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31243         indicating whether failure is expected.
31244         * conform/Makefile (test-xfail-run-conformtest): New variable.
31245         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31246         level.
31247         * posix/Makefile (test-xfail-annexc): New variable.
31248         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31250 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31252         * argp/Makefile: Include Makeconfig immediately after defining
31253         subdir.
31254         * assert/Makefile: Likewise.
31255         * benchtests/Makefile: Likewise.
31256         * catgets/Makefile: Likewise.
31257         * conform/Makefile: Likewise.
31258         * crypt/Makefile: Likewise.
31259         * csu/Makefile: Likewise.
31260         (all): Remove target.
31261         * ctype/Makefile: Include Makeconfig immediately after defining
31262         subdir.
31263         * debug/Makefile: Likewise.
31264         * dirent/Makefile: Likewise.
31265         * dlfcn/Makefile: Likewise.
31266         * gmon/Makefile: Likewise.
31267         * gnulib/Makefile: Likewise.
31268         * grp/Makefile: Likewise.
31269         * gshadow/Makefile: Likewise.
31270         * hesiod/Makefile: Likewise.
31271         * hurd/Makefile: Likewise.
31272         (all): Remove target.
31273         * iconvdata/Makefile: Include Makeconfig immediately after
31274         defining subdir.
31275         * inet/Makefile: Likewise.
31276         * intl/Makefile: Likewise.
31277         * io/Makefile: Likewise.
31278         * libio/Makefile: Likewise.
31279         (all): Remove target.
31280         * locale/Makefile: Include Makeconfig immediately after defining
31281         subdir.
31282         * login/Makefile: Likewise.
31283         * mach/Makefile: Likewise.
31284         (all): Remove target.
31285         * malloc/Makefile: Include Makeconfig immediately after defining
31286         subdir.
31287         (all): Remove target.
31288         * manual/Makefile: Include Makeconfig immediately after defining
31289         subdir.
31290         * math/Makefile: Likewise.
31291         * misc/Makefile: Likewise.
31292         * nis/Makefile: Likewise.
31293         * nss/Makefile: Likewise.
31294         * po/Makefile: Likewise.
31295         (all): Remove target.
31296         * posix/Makefile: Include Makeconfig immediately after defining
31297         subdir.
31298         * pwd/Makefile: Likewise.
31299         * resolv/Makefile: Likewise.
31300         * resource/Makefile: Likewise.
31301         * rt/Makefile: Likewise.
31302         * setjmp/Makefile: Likewise.
31303         * shadow/Makefile: Likewise.
31304         * signal/Makefile: Likewise.
31305         * socket/Makefile: Likewise.
31306         * soft-fp/Makefile: Likewise.
31307         * stdio-common/Makefile: Likewise.
31308         * stdlib/Makefile: Likewise.
31309         * streams/Makefile: Likewise.
31310         * string/Makefile: Likewise.
31311         * sunrpc/Makefile: Likewise.
31312         (all): Remove target.
31313         * sysvipc/Makefile: Include Makeconfig immediately after defining
31314         subdir.
31315         * termios/Makefile: Likewise.
31316         * time/Makefile: Likewise.
31317         * timezone/Makefile: Likewise.
31318         (all): Remove target.
31319         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31320         subdir.
31321         * wctype/Makefile: Likewise.
31323 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31325         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31326         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31327         (libc_feholdexcept_setround_mips): Ditto.
31328         (libc_feholdsetround): New.
31329         (libc_feholdsetroundf): New.
31330         (libc_feholdsetroundl): New.
31331         (libc_feupdateenv_test_mips): New.
31332         (libc_feupdateenv_test): New.
31333         (libc_feupdateenv_testf): New.
31334         (libc_feupdateenv_testl): New.
31335         (libc_feresetround): New.
31336         (libc_feresetroundf): New.
31337         (libc_feresetroundl): New.
31338         (libc_fetestexcept_mips): New.
31339         (libc_fetestexcept): New.
31340         (libc_fetestexceptf): New.
31341         (libc_fetestexceptl): New.
31342         (HAVE_RM_CTX): New.
31343         (libc_feholdexcept_setround_mips_ctx): New.
31344         (libc_feholdexcept_setround_ctx): New.
31345         (libc_feholdexcept_setroundf_ctx): New.
31346         (libc_feholdexcept_setroundl_ctx): New.
31347         (libc_fesetenv_mips_ctx): New.
31348         (libc_fesetenv_ctx): New.
31349         (libc_fesetenv_ctxf): New.
31350         (libc_fesetenv_ctxl): New.
31351         (libc_feupdateenv_mips_ctx): New.
31352         (libc_feupdateenv_ctx): New.
31353         (libc_feupdateenvf_ctx): New.
31354         (libc_feupdateenvl_ctx): New.
31355         (libc_feholdsetround_mips_ctx): New.
31356         (libc_feholdsetround_ctx): New.
31357         (libc_feholdsetroundf_ctx): New.
31358         (libc_feholdsetroundl_ctx): New.
31359         (libc_feresetround_mips_ctx): New.
31360         (libc_feresetround_ctx): New.
31361         (libc_feresetroundf_ctx): New.
31362         (libc_feresetroundl_ctx): New.
31364 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31366         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31368         * manual/ipc.texi: New file.
31369         * manual/Makefile (chapters): Add ipc.
31370         * manual/job.texi: Add "Inter-Process Communication" to next.
31371         * manual/process.texi: Add "Inter-Process Communication" to prev.
31373 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31377 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31379         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31381         * manual/arith.texi: Fix spaces after sentences.
31382         * manual/charset.texi: Likewise.
31383         * manual/errno.texi: Likewise.
31384         * manual/install.texi: Likewise.
31385         * manual/llio.texi: Likewise.
31386         * manual/locale.texi: Likewise.
31387         * manual/maint.texi: Likewise.
31388         * manual/math.texi: Likewise.
31389         * manual/memory.texi: Likewise.
31390         * manual/message.texi: Likewise.
31391         * manual/probes.texi: Likewise.
31392         * manual/resource.texi: Likewise.
31393         * manual/signal.texi: Likewise.
31394         * manual/socket.texi: Likewise.
31395         * manual/stdio.texi: Likewise.
31396         * manual/string.texi: Likewise.
31397         * manual/time.texi: Likewise.
31398         * manual/users.texi: Likewise.
31400 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31402         [BZ #16632]
31403         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31404         _DEFAULT_SOURCE is defined.
31406 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31407             Carlos O'Donell  <carlos@redhat.com>
31409         [BZ #16613]
31410         * elf/dl-tls.c (_dl_count_modids): New function.
31411         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31412         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31413         audit library and increment generation counter.
31414         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31415         * elf/tst-audit9.c: New file.
31416         * elf/tst-auditmod9a.c: New file.
31417         * elf/tst-auditmod9b.c: New file.
31418         * elf/Makefile: Add rules to build and run tst-audit9.
31420 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31422         [BZ #15347]
31423         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31425 2014-02-25  Will Newton  <will.newton@linaro.org>
31427         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31428         (__longjmp): Restore sp and lr before restoring callee
31429         saved registers.  Add longjmp and longjmp_target
31430         SystemTap probe point.
31431         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31432         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31433         Define to zero to match jmpbuf layout.
31434         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31435         (__sigsetjmp): Save sp and lr before saving callee
31436         saved registers.  Add setjmp SystemTap probe point.
31438 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31440         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31442 2014-02-24  Andreas Schwab  <schwab@suse.de>
31444         [BZ #15804]
31445         * elf/pldd.c (wait_for_ptrace_stop): New function.
31446         (main): Call it after attaching.
31448 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31450         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31451         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31452         Versions files is now verboten.
31453         * hurd/Versions (libc: GLIBC_2.0):
31454         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31455         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31456         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31457         * mach/Versions: Likewise.
31459         * csu/Versions: Remove unused %include.
31460         * resolv/Versions: Likewise.
31462 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31464         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31465         ($(objpfx)check-local-headers.out): Likewise.
31466         ($(objpfx)begin-end-check.out): Likewise.
31467         * Makerules (check-abi-%.out): Likewise.
31468         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31469         ($(objpfx)test2.cat): Likewise.
31470         ($(objpfx)de/libc.cat): Likewise.
31471         ($(objpfx)test-gencat.out): Likewise.
31472         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31473         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31474         ($(objpfx)noload-mem): Likewise.
31475         ($(objpfx)tst-pathopt.out): Likewise.
31476         ($(objpfx)tst-rtld-load-self.out): Likewise.
31477         ($(objpfx)tst-array1-cmp.out): Likewise.
31478         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31479         ($(objpfx)tst-array2-cmp.out): Likewise.
31480         ($(objpfx)tst-array3-cmp.out): Likewise.
31481         ($(objpfx)tst-array4-cmp.out): Likewise.
31482         ($(objpfx)tst-array5-cmp.out): Likewise.
31483         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31484         ($(objpfx)check-textrel.out): Likewise.
31485         ($(objpfx)check-execstack.out): Likewise.
31486         ($(objpfx)check-localplt.out): Likewise.
31487         ($(objpfx)order2-cmp.out): Likewise.
31488         ($(objpfx)tst-leaks1-mem): Likewise.
31489         ($(objpfx)tst-leaks1-static-mem): Likewise.
31490         ($(objpfx)tst-initorder-cmp.out): Likewise.
31491         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31492         ($(objpfx)tst-unused-dep.out): Likewise.
31493         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31494         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31495         * iconv/Makefile (test-iconvconfig): Likewise.
31496         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31497         ($(objpfx)iconv-test.out): Likewise.
31498         ($(objpfx)tst-tables.out): Likewise.
31499         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31500         ($(objpfx)tst-gettext.out): Likewise.
31501         ($(objpfx)tst-translit.out): Likewise.
31502         ($(objpfx)tst-gettext2.out): Likewise.
31503         ($(objpfx)tst-gettext4.out): Likewise.
31504         ($(objpfx)tst-gettext6.out): Likewise.
31505         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31506         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31507         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31508         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31509         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31510         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31511         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31512         ($(objpfx)wordexp-tst.out): Likewise.
31513         ($(objpfx)annexc.out): Likewise.
31514         ($(objpfx)tst-fnmatch-mem): Likewise.
31515         ($(objpfx)bug-regex2-mem): Likewise.
31516         ($(objpfx)bug-regex14-mem): Likewise.
31517         ($(objpfx)bug-regex21-mem): Likewise.
31518         ($(objpfx)bug-regex31-mem): Likewise.
31519         ($(objpfx)tst-vfork3-mem): Likewise.
31520         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31521         ($(objpfx)tst-pcre-mem): Likewise.
31522         ($(objpfx)tst-boost-mem): Likewise.
31523         ($(objpfx)tst-getconf.out): Likewise.
31524         ($(objpfx)bug-ga2-mem): Likewise.
31525         ($(objpfx)bug-glob2-mem): Likewise.
31526         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31527         ($(objpfx)mtrace-tst-leaks2): Likewise.
31528         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31529         ($(objpfx)tst-printf.out): Likewise.
31530         ($(objpfx)tst-setvbuf1.out): Likewise.
31531         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31532         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31533         ($(objpfx)tst-fmtmsg.out): Likewise.
31534         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31535         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31537         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31538         * bits/sigaction.h [__USE_MISC]: Likewise.
31539         * bits/waitstatus.h: Update #endif comments.
31540         * ctype/ctype.h: Likewise.
31541         * dirent/dirent.h: Likewise.
31542         [__USE_MISC]: Remove redundant conditionals.
31543         * grp/grp.h: Update #endif comments.
31544         [__USE_GNU]: Remove redundant conditionals.
31545         [__USE_MISC]: Likewise.
31546         * inet/netinet/in.h [__USE_GNU]: Likewise.
31547         * io/sys/stat.h [__USE_MISC]: Likewise.
31548         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31549         * libio/bits/stdio.h: Update #endif comments.
31550         [__USE_MISC]: Remove redundant conditionals.
31551         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31552         * libio/stdio.h: Update #endif comments.
31553         [__USE_MISC]: Remove redundant conditionals.
31554         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31555         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31556         * math/math.h: Update #else and #endif comments.
31557         [__USE_MISC]: Remove redundant conditionals.
31558         * misc/sys/uio.h: Update #endif comments.
31559         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31560         * posix/glob.h [__USE_MISC]: Likewise.
31561         * posix/sys/types.h: Update #endif comments.
31562         [__USE_MISC]: Remove redundant conditionals.
31563         * posix/sys/wait.h: Update #endif comments.
31564         [__USE_MISC]: Remove redundant conditionals.
31565         * posix/unistd.h: Update #endif comments.
31566         [__USE_MISC]: Remove redundant conditionals.
31567         * pwd/pwd.h [__USE_GNU]: Likewise.
31568         [__USE_MISC]: Likewise.
31569         * resolv/netdb.h [__USE_GNU]: Likewise.
31570         * signal/signal.h: Update #endif comments.
31571         [__USE_MISC]: Remove redundant conditionals.
31572         * stdlib/stdlib.h: Update #else and #endif comments.
31573         [__USE_MISC]: Remove redundant conditionals.
31574         [__USE_GNU]: Likewise.
31575         * string/bits/string2.h [__USE_MISC]: Likewise.
31576         * string/string.h: Update #endif comments.
31577         [__USE_MISC]: Remove redundant conditionals.
31578         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31579         Likewise.
31580         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31581         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31582         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31583         Likewise.
31584         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31585         Likewise.
31586         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31587         comments.
31588         [__USE_MISC]: Remove redundant conditionals.
31589         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31590         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31591         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31592         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31593         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31594         Likewise.
31595         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31596         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31597         Likewise.
31598         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31599         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31600         Likewise.
31601         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31602         Likewise.
31603         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31604         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31605         Likewise.
31606         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31607         Likewise.
31608         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31609         * sysdeps/x86/bits/string.h: Update #endif comments.
31610         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31611         conditionals.
31612         * time/sys/time.h: Update #endif comments.
31613         * time/time.h: Likewise.
31614         [__USE_MISC]: Remove redundant conditionals.
31616 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31618         [BZ #16600]
31619         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31621 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31623         * Versions.def (librt): Add GLIBC_2.17.
31625 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31627         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31628         synonym for _SYS_AUXV_H to allow direct inclusion.
31629         * sysdeps/sparc/bits/hwcap.h: Likewise.
31630         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31631         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31632         * sysdeps/sparc/sysdep.h: Likewise.
31634 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31636         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31638 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31640         * benchtests/bench-strrchr.c: Print length instead of position.
31642 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31644         [BZ #16611]
31645         * sysdeps/unix/sysv/linux/kernel-features.h
31646         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31647         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31648         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31649         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31650         Likewise.
31651         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31652         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31653         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31654         (__ASSUME_SENDMMSG): Define instead of using previous
31655         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31657         (__ASSUME_SENDMMSG_SYSCALL): Define.
31658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31659         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31660         Likewise.
31661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31662         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31663         Likewise.
31664         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31665         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31666         Likewise.
31667         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31668         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31669         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31670         [__ASSUME_SENDMMSG]: Change conditionals to
31671         [__ASSUME_SENDMMSG_SOCKETCALL].
31672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31673         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31674         Define.
31675         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31676         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31677         Likewise.
31678         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31679         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31680         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31681         [!__ASSUME_SENDMMSG]: Change conditional to
31682         [!__ASSUME_SENDMMSG_SOCKETCALL].
31683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31684         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31685         Define.
31687         [BZ #16610]
31688         * sysdeps/unix/sysv/linux/kernel-features.h
31689         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31690         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31691         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31692         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31693         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31694         [__i386__ || __sparc__]
31695         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31696         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31697         (__ASSUME_RECVMMSG): Define instead of using previous
31698         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31699         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31700         (__ASSUME_RECVMMSG_SYSCALL): Define.
31701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31703         Likewise.
31704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31705         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31706         Likewise.
31707         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31708         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31709         Likewise.
31710         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31711         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31712         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31713         [__ASSUME_RECVMMSG]: Change condition to
31714         [__ASSUME_RECVMMSG_SOCKETCALL].
31715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31716         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31717         Define.
31718         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31719         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31721         Likewise.
31722         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31723         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31724         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31725         [!__ASSUME_RECVMMSG]: Change condition to
31726         [!__ASSUME_RECVMMSG_SOCKETCALL].
31727         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31728         (__ASSUME_RECVMMSG_SYSCALL): Define.
31730         [BZ #16609]
31731         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31732         __powerpc__ || __s390__ || __sh__ || __sparc__]
31733         (__ASSUME_SOCKETCALL): Define.
31734         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31735         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31736         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31737         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31738         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31739         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31740         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31741         (__ASSUME_ACCEPT4): Define instead of using previous
31742         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31743         __powerpc__ || __sparc__ || __s390__)] condition.
31744         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31745         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31746         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31747         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31748         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31749         [!__ASSUME_ACCEPT4]: Change condition to
31750         [!__ASSUME_ACCEPT4_SOCKETCALL].
31751         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31752         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31753         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31754         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31755         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31756         __ASSUME_ACCEPT4_SYSCALL.
31757         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31758         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31759         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31760         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31761         __ASSUME_ACCEPT4_SYSCALL.
31762         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31763         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31764         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31765         [__ASSUME_ACCEPT4]: Change condition to
31766         [__ASSUME_ACCEPT4_SOCKETCALL].
31767         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31768         (__ASSUME_SOCKETCALL): Define.
31769         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31770         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31771         (__ASSUME_SOCKETCALL): Define.
31772         (__ASSUME_ACCEPT4): Remove.
31773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31774         Define.
31775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31776         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31777         Likewise.
31778         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31779         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31781         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31782         macro.
31783         (HWCAP_ARM_LPAE): Likewise.
31784         (HWCAP_ARM_EVTSTRM): Likewise.
31785         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31786         Add vpfd32, lpae and evtstrm.
31787         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31788         Increase to 22.
31790 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31792         * math/auto-libm-test-in: Add tests of clog10.
31793         * math/auto-libm-test-out: Regenerated.
31794         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31795         * sysdeps/i386/fpu/libm-test-ulps: Update.
31796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31798 2014-02-18  Andreas Schwab  <schwab@suse.de>
31800         [BZ #16574]
31801         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31802         Store non-zero if the second buffer was newly allocated.
31803         (send_dg): Likewise.
31804         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31805         to send_vc and send_dg.
31806         (res_nsend): Pass NULL for ansp2_malloced.
31807         * resolv/res_query.c (__libc_res_nquery): Add parameter
31808         answerp2_malloced and pass it down to __libc_res_nsend.
31809         (res_nquery): Pass additional NULL to __libc_res_nquery.
31810         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31811         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31812         second answer buffer if answerp2_malloced was set.
31813         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31814         (__libc_res_nquerydomain): Add parameter
31815         answerp2_malloced and pass it down to __libc_res_nquery.
31816         (res_nquerydomain): Pass additional NULL to
31817         __libc_res_nquerydomain.
31818         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31819         additional NULL to __libc_res_nsend and __libc_res_nquery.
31820         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31821         additional NULL to __libc_res_nsearch.
31822         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31823         parameter of __libc_res_nsearch to check for separately allocated
31824         second buffer.
31825         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31826         __libc_res_nquery.
31827         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31828         additional NULL to __libc_res_nquery.
31829         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31830         __libc_res_nsearch.
31831         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31832         * include/resolv.h: Update prototypes of __libc_res_nquery,
31833         __libc_res_nsearch, __libc_res_nsend.
31835 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31837         * math/auto-libm-test-in: Add tests of fma.
31838         * math/auto-libm-test-out: Regenerated.
31839         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31840         (fma_towardzero_test_data): Likewise.
31841         (fma_downward_test_data): Likewise.
31842         (fma_upward_test_data): Likewise.
31843         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31844         mpc_mode.
31845         (rounding_modes): Add values for new field.
31846         (func_calc_method): Add value mpfr_fff_f.
31847         (func_calc_desc): Add mpfr_fff_f union field.
31848         (test_function): Add field exact_args.
31849         (FUNC): Add macro argument EXACT_ARGS.
31850         (FUNC_mpfr_f_f): Update call to FUNC.
31851         (FUNC_mpfr_f_f): Likewise.
31852         (FUNC_mpfr_ff_f): Likewise.
31853         (FUNC_mpfr_if_f): Likewise.
31854         (FUNC_mpc_c_f): Likewise.
31855         (FUNC_mpc_c_c): Likewise.
31856         (test_functions): Add fma.  Update calls to FUNC.
31857         (handle_input_arg): Add argument exact_args.
31858         (add_test): Update call to handle_input_arg.
31859         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31860         (output_for_one_input_case): Update call to calc_generic_results.
31861         Recalculate exact zero results in each rounding mode.
31863         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31864         non-negative before setting low bit.
31865         * math/auto-libm-test-in: Mark one asin test possibly having
31866         spurious underflow.
31867         * math/auto-libm-test-out: Regenerated.
31868         * sysdeps/i386/fpu/libm-test-ulps: Update.
31869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31871 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31873         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31874         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31875         ports/sysdeps/unix/sysv/linux/microblaze.
31876         * README: Add missing listing for microblaze*-*-linux-gnu.
31878 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31881         duplicate code
31883 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31885         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31886         * sysdeps/unix/sysv/linux/ia64: Move directory from
31887         ports/sysdeps/unix/sysv/linux/ia64.
31888         * README: Update listing for ia64-*-linux-gnu.
31890 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31891             Joseph Myers  <joseph@codesourcery.com>
31893         * Makeconfig (test-name): New variable.
31894         (evaluate-test): Likewise.
31895         * Makerules (do-test-clean): Remove .test-result files.
31896         (common-mostlyclean): Likewise.
31897         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31898         * scripts/evaluate-test.sh: New file.
31900 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31902         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31903         separate $(objpfx)tst-fopenloc-cmp.out and
31904         $(objpfx)tst-fopenloc-mem.out targets.
31905         (tests): Update dependencies.
31906         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31907         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31908         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31909         (tst-rxspencer-no-utf8-ARGS): New variable.
31910         (tst-rxspencer-no-utf8-ENV): Likewise.
31911         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31912         instead of $(objpfx)tst-rxspencer-mem.
31913         ($(objpfx)tst-rxspencer-mem): Change target to
31914         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31915         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31916         * posix/tst-rxspencer-no-utf8.c: New file.
31918         * elf/Makefile ($(objpfx)order.out): Remove rule.
31919         [$(run-built-tests) = yes] (tests): Depend on
31920         $(objpfx)order-cmp.out.
31921         ($(objpfx)order-cmp.out): New rule.
31922         [$(run-built-tests) = yes] (tests): Depend on
31923         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31924         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31925         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31926         $(objpfx)tst-array5-static-cmp.out.
31927         ($(objpfx)tst-array1.out): Remove rule.
31928         ($(objpfx)tst-array1-cmp.out): New rule.
31929         ($(objpfx)tst-array1-static.out): Remove rule.
31930         ($(objpfx)tst-array1-static-cmp.out): New rule.
31931         ($(objpfx)tst-array2.out): Remove rule.
31932         ($(objpfx)tst-array2-cmp.out): New rule.
31933         ($(objpfx)tst-array3.out): Remove rule.
31934         ($(objpfx)tst-array3-cmp.out): New rule.
31935         ($(objpfx)tst-array4.out): Remove rule.
31936         ($(objpfx)tst-array4-cmp.out): New rule.
31937         ($(objpfx)tst-array5.out): Remove rule.
31938         ($(objpfx)tst-array5-cmp.out): New rule.
31939         ($(objpfx)tst-array5-static.out): Remove rule.
31940         ($(objpfx)tst-array5-static-cmp.out): New rule.
31941         [$(run-built-tests) = yes] (tests): Depend on
31942         $(objpfx)order2-cmp.out.
31943         ($(objpfx)order2.out): Remove rule.
31944         ($(objpfx)order2-cmp.out): New rule.
31945         ($(objpfx)tst-initorder.out): Remove rule.
31946         [$(run-built-tests) = yes] (tests): Depend on
31947         $(objpfx)tst-initorder-cmp.out.
31948         ($(objpfx)tst-initorder-cmp.out): New rule.
31949         ($(objpfx)tst-initorder2.out): Remove rule.
31950         [$(run-built-tests) = yes] (tests): Depend on
31951         $(objpfx)tst-initorder2-cmp.out.
31952         ($(objpfx)tst-initorder2-cmp.out): New rule.
31953         [$(run-built-tests) = yes] (tests): Depend on
31954         $(objpfx)tst-unused-dep-cmp.out.
31955         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31956         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31957         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31958         on $(objpfx)tst-setvbuf1-cmp.out.
31959         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31960         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31961         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31962         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31963         ($(objpfx)tst-svc.out): Remove rule.
31964         ($(objpfx)tst-svc-cmp.out): New rule.
31966 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31968         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31969         * ctype/ctype.h [__USE_MISC]: Likewise.
31970         * dirent/dirent.h [__USE_MISC]: Likewise.
31971         * grp/grp.h [__USE_MISC]: Likewise.
31972         * io/fcntl.h [__USE_MISC]: Likewise.
31973         * io/sys/stat.h [__USE_MISC]: Likewise.
31974         * libio/stdio.h [__USE_MISC]: Likewise.
31975         * posix/unistd.h [__USE_MISC]: Likewise.
31976         * pwd/pwd.h [__USE_MISC]: Likewise.
31977         * stdlib.h [__USE_MISC]: Likewise.
31978         * string/bits/string2.h [__USE_MISC]: Likewise.
31979         * string/string.h [__USE_MISC]: Likewise.
31980         * time/time.h [__USE_MISC]: Likewise.
31982 2014-02-13  Andreas Schwab  <schwab@suse.de>
31984         [BZ #16574]
31985         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31986         second answer buffer if it was separately allocated.
31988 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31990         * sysdeps/mips/math-tests.h: Include <features.h>.
31991         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31992         (ROUNDING_TESTS_long_double): Do not define.
31993         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31994         (EXCEPTION_TESTS_long_double): Likewise.
31995         * sysdeps/mips/mips64/libm-test-ulps: Update.
31997         * include/features.h (__USE_BSD): Remove macro definitions.
31998         (__USE_SVID): Likewise.
31999         (_BSD_SOURCE): Likewise.
32000         (_SVID_SOURCE): Likewise.
32001         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32002         from definition of _DEFAULT_SOURCE.
32003         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32004         [_DEFAULT_SOURCE].
32005         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32006         * bits/mman.h [__USE_BSD]: Likewise.
32007         * bits/termios.h [__USE_BSD]: Likewise.
32008         * bits/waitstatus.h [__USE_BSD]: Likewise.
32009         * ctype/ctype.h [__USE_SVID]: Likewise.
32010         * dirent/dirent.h [__USE_BSD]: Likewise.
32011         * grp/grp.h [__USE_SVID]: Likewise.
32012         [__USE_BSD]: Likewise.
32013         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32014         * io/fcntl.h [__USE_BSD]: Likewise.
32015         * io/ftw.h [__USE_BSD]: Likewise.
32016         * io/sys/stat.h [__USE_BSD]: Likewise.
32017         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32018         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32019         * libio/stdio.h [__USE_SVID]: Likewise.
32020         [__USE_BSD]: Likewise.
32021         * math/math.h [__USE_SVID]: Likewise.
32022         [__USE_BSD]: Likewise.
32023         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32024         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32025         * misc/search.h [__USE_SVID]: Likewise.
32026         * misc/sys/mman.h [__USE_BSD]: Likewise.
32027         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32028         * misc/sys/uio.h [__USE_BSD]: Likewise.
32029         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32030         * posix/glob.h [__USE_BSD]: Likewise.
32031         * posix/regex.h [__USE_BSD]: Likewise.
32032         * posix/sys/types.h [__USE_BSD]: Likewise.
32033         [__USE_SVID]: Likewise.
32034         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32035         * posix/sys/wait.h [__USE_BSD]: Likewise.
32036         [__USE_SVID]: Likewise.
32037         * posix/unistd.h [__USE_BSD]: Likewise.
32038         [__USE_SVID]: Likewise.
32039         * pwd/pwd.h [__USE_SVID]: Likewise.
32040         * resolv/netdb.h [__USE_BSD]: Likewise.
32041         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32042         * signal/signal.h [__USE_BSD]: Likewise.
32043         [__USE_SVID]: Likewise.
32044         * socket/sys/socket.h [__USE_BSD]: Likewise.
32045         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32046         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32047         [__USE_SVID]: Likewise.
32048         * string/bits/string2.h [__USE_BSD]: Likewise.
32049         [__USE_SVID]: Likewise.
32050         * string/bits/string3.h [__USE_BSD]: Likewise.
32051         * string/endian.h [__USE_BSD]: Likewise.
32052         * string/string.h [__USE_SVID]: Likewise.
32053         [__USE_BSD]: Likewise.
32054         * string/strings.h [__USE_BSD]: Likewise.
32055         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32056         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32057         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32058         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32059         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32060         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32061         Likewise.
32062         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32063         Likewise.
32064         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32065         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32066         Likewise.
32067         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32068         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32069         Likewise.
32070         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32071         Likewise.
32072         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32073         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32074         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32075         Likewise.
32076         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32077         Likewise.
32078         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32079         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32080         * termios/termios.h [__USE_BSD]: Likewise.
32081         * time/sys/time.h [__USE_BSD]: Likewise.
32082         * time/time.h [__USE_BSD]: Likewise.
32083         [__USE_SVID]: Likewise.
32085         * Makefile (subdir_targets): Remove subdir_lint.out.
32087         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32088         (do-tst-printf): Likewise.
32089         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32090         $(objpfx)tst-printf.out.
32092         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32094         * Makerules (check-abi-%): Change target to
32095         $(objpfx)check-abi-%.out.
32096         (check-abi target): Update dependencies.
32097         (check-abi-pattern variable): Redirect output of diff to $@.
32098         (check-abi variable): Likewise.
32099         * elf/Makefile (check-abi): Update dependencies.
32101         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32102         unused.
32103         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32104         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32105         subnormal range.
32106         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32107         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32108         value has largest subnormal exponent.
32109         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32110         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32111         * sysdeps/aarch64/soft-fp/sfp-machine.h
32112         (_FP_TININESS_AFTER_ROUNDING): New macro.
32113         * sysdeps/alpha/soft-fp/sfp-machine.h
32114         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32115         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32116         Likewise.
32117         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32118         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32119         * sysdeps/mips/soft-fp/sfp-machine.h
32120         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32121         * sysdeps/powerpc/soft-fp/sfp-machine.h
32122         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32123         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32124         Likewise.
32125         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32126         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32127         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32128         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32129         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32130         Likewise.
32132 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32134         [BZ #16545]
32135         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32136         model 1.
32138 2014-02-12  Richard Henderson  <rth@redhat.com>
32140         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32141         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32142         * sysdeps/unix/sysv/linux/alpha: Move directory from
32143         ports/sysdeps/unix/sysv/linux/alpha.
32144         * README: Update listing for alpha-*-linux-gnu.
32146 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32148         * include/features.h: Update comment documenting feature test
32149         macros.
32150         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32151         _DEFAULT_SOURCE.
32152         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32153         (_SVID_SOURCE): Likewise.
32154         (_DEFAULT_SOURCE): Update description of default features.
32155         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32156         with _GNU_SOURCE.
32157         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32158         (S_ISVTX): Likewise.
32159         * manual/math.texi (Mathematical Constants): Likewise.
32160         * manual/signal.texi (Interrupted Primitives): Likewise.
32161         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32162         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32163         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32164         Don't refer to _SVID_SOURCE in warning text.
32166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32168         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32169         already defined.
32170         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32171         * sysdeps/mips/dl-lookup.c: Remove.
32172         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32174 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32176         [BZ #16447]
32177         * math/auto-libm-test-in: Add testcase for expl.
32178         * math/auto-libm-test-out: Regenerate.
32179         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32180         calculation of unsafe.
32181         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32183 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32185         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32186         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32187         ports/sysdeps/unix/sysv/linux/aarch64.
32188         * README: Update listing for aarch64*-*-linux-gnu.
32190 2014-02-11  Will Newton  <will.newton@linaro.org>
32192         * manual/probes.texi (Mathematical Function Probes): Use
32193         "triggered" instead of "hit".
32195         * manual/probes.texi (Internal Probes): Add documentation
32196         of setjmp, longjmp and longjmp_target probes.
32198         * include/stap-probe.h: Add comment about probe argument
32199         format.
32201         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32202         definition.  (tr_where, tr_freehook, tr_mallochook,
32203         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32205 2014-02-11  David S. Miller  <davem@davemloft.net>
32207         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32208         processing int_tests.
32210 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32212         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32213         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32214         * sysdeps/unix/sysv/linux/mips: Move directory from
32215         ports/sysdeps/unix/sysv/linux/mips.
32216         * README: Update listing for mips-*-linux-gnu and
32217         mips64-*-linux-gnu.
32219 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32221         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32222         * sysdeps/unix/sysv/linux/m68k: Move directory from
32223         ports/sysdeps/unix/sysv/linux/m68k.
32224         * README: Update listing for m68k-*-linux-gnu.
32226 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32228         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32229         * sysdeps/unix/sysv/linux/generic: Move directory from
32230         ports/sysdeps/unix/sysv/linux/generic.
32231         * sysdeps/unix/sysv/linux/tile: Move directory from
32232         ports/sysdeps/unix/sysv/linux/tile.
32233         * README: Update listing for tile*-*-linux-gnu.
32235 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32237         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32238         __builtin_expect.
32239         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32240         * catgets/open_catalog.c (__open_catalog): Likewise.
32241         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32242         * debug/confstr_chk.c: Likewise.
32243         * debug/fread_chk.c (__fread_chk): Likewise.
32244         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32245         * debug/getgroups_chk.c: Likewise.
32246         * debug/mbsnrtowcs_chk.c: Likewise.
32247         * debug/mbsrtowcs_chk.c: Likewise.
32248         * debug/mbstowcs_chk.c: Likewise.
32249         * debug/memcpy_chk.c: Likewise.
32250         * debug/memmove_chk.c: Likewise.
32251         * debug/mempcpy_chk.c: Likewise.
32252         * debug/memset_chk.c: Likewise.
32253         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32254         * debug/strcat_chk.c (__strcat_chk): Likewise.
32255         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32256         * debug/strncat_chk.c (__strncat_chk): Likewise.
32257         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32258         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32259         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32260         * debug/wcpncpy_chk.c: Likewise.
32261         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32262         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32263         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32264         * debug/wcsncpy_chk.c: Likewise.
32265         * debug/wcsnrtombs_chk.c: Likewise.
32266         * debug/wcsrtombs_chk.c: Likewise.
32267         * debug/wcstombs_chk.c: Likewise.
32268         * debug/wmemcpy_chk.c: Likewise.
32269         * debug/wmemmove_chk.c: Likewise.
32270         * debug/wmempcpy_chk.c: Likewise.
32271         * debug/wmemset_chk.c: Likewise.
32272         * dirent/scandirat.c (SCANDIRAT): Likewise.
32273         * dlfcn/dladdr1.c (dladdr1): Likewise.
32274         * dlfcn/dladdr.c (dladdr): Likewise.
32275         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32276         * dlfcn/dlerror.c (__dlerror): Likewise.
32277         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32278         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32279         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32280         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32281         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32282         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32283         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32284         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32285         Likewise.
32286         * elf/dl-conflict.c: Likewise.
32287         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32288         * elf/dl-dst.h: Likewise.
32289         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32290         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32291         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32292         * elf/dl-init.c (call_init, _dl_init): Likewise.
32293         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32294         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32295         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32296         Likewise.
32297         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32298         Likewise.
32299         * elf/dl-minimal.c (__libc_memalign): Likewise.
32300         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32301         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32302         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32303         * elf/dl-sym.c (do_sym): Likewise.
32304         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32305         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32306         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32307         * elf/dl-writev.h (_dl_writev): Likewise.
32308         * elf/ldconfig.c (search_dir): Likewise.
32309         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32310         (dl_main): Likewise.
32311         * elf/setup-vdso.h (setup_vdso): Likewise.
32312         * grp/compat-initgroups.c (compat_call): Likewise.
32313         * grp/fgetgrent.c (fgetgrent): Likewise.
32314         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32315         * grp/putgrent.c (putgrent): Likewise.
32316         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32317         Likewise.
32318         * hurd/hurdinit.c: Likewise.
32319         * iconvdata/8bit-gap.c (struct): Likewise.
32320         * iconvdata/ansi_x3.110.c : Likewise.
32321         * iconvdata/big5.c : Likewise.
32322         * iconvdata/big5hkscs.c : Likewise.
32323         * iconvdata/cp1255.c: Likewise.
32324         * iconvdata/cp1258.c : Likewise.
32325         * iconvdata/cp932.c : Likewise.
32326         * iconvdata/euc-cn.c: Likewise.
32327         * iconvdata/euc-jisx0213.c : Likewise.
32328         * iconvdata/euc-jp.c: Likewise.
32329         * iconvdata/euc-jp-ms.c : Likewise.
32330         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32331         * iconvdata/gb18030.c : Likewise.
32332         * iconvdata/gbbig5.c (const): Likewise.
32333         * iconvdata/gbgbk.c: Likewise.
32334         * iconvdata/gbk.c : Likewise.
32335         * iconvdata/ibm1364.c : Likewise.
32336         * iconvdata/ibm930.c : Likewise.
32337         * iconvdata/ibm932.c: Likewise.
32338         * iconvdata/ibm933.c : Likewise.
32339         * iconvdata/ibm935.c : Likewise.
32340         * iconvdata/ibm937.c : Likewise.
32341         * iconvdata/ibm939.c : Likewise.
32342         * iconvdata/ibm943.c: Likewise.
32343         * iconvdata/iso_11548-1.c: Likewise.
32344         * iconvdata/iso-2022-cn.c : Likewise.
32345         * iconvdata/iso-2022-cn-ext.c : Likewise.
32346         * iconvdata/iso-2022-jp-3.c: Likewise.
32347         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32348         * iconvdata/iso-2022-kr.c : Likewise.
32349         * iconvdata/iso646.c (gconv_end): Likewise.
32350         * iconvdata/iso_6937-2.c : Likewise.
32351         * iconvdata/iso_6937.c : Likewise.
32352         * iconvdata/iso8859-1.c: Likewise.
32353         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32354         * iconvdata/shift_jisx0213.c : Likewise.
32355         * iconvdata/sjis.c : Likewise.
32356         * iconvdata/t.61.c : Likewise.
32357         * iconvdata/tcvn5712-1.c : Likewise.
32358         * iconvdata/tscii.c: Likewise.
32359         * iconvdata/uhc.c : Likewise.
32360         * iconvdata/unicode.c (gconv_end): Likewise.
32361         * iconvdata/utf-16.c (gconv_end): Likewise.
32362         * iconvdata/utf-32.c (gconv_end): Likewise.
32363         * iconvdata/utf-7.c (base64): Likewise.
32364         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32365         * iconv/gconv_close.c (__gconv_close): Likewise.
32366         * iconv/gconv_open.c (__gconv_open): Likewise.
32367         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32368         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32369         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32370         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32371         (ucs4le_internal_loop_single): Likewise.
32372         * iconv/iconv.c (iconv): Likewise.
32373         * iconv/iconv_close.c: Likewise.
32374         * iconv/loop.c (SINGLE): Likewise.
32375         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32376         * include/atomic.h: Likewise.
32377         * inet/inet6_option.c (option_alloc): Likewise.
32378         * intl/bindtextdom.c (set_binding_values): Likewise.
32379         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32380         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32381         * intl/localealias.c (read_alias_file): Likewise.
32382         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32383         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32384         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32385         * libio/fmemopen.c (fmemopen): Likewise.
32386         * libio/iofgets.c (_IO_fgets): Likewise.
32387         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32388         * libio/iofgetws.c (fgetws): Likewise.
32389         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32390         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32391         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32392         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32393         * locale/findlocale.c (_nl_find_locale): Likewise.
32394         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32395         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32396         Likewise.
32397         * locale/setlocale.c (setlocale): Likewise.
32398         * login/programs/pt_chown.c (main): Likewise.
32399         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32400         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32401         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32402         (mmap, mmap64, mremap, munmap): Likewise.
32403         * math/e_exp2l.c: Likewise.
32404         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32405         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32406         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32407         * math/s_catan.c (__catan): Likewise.
32408         * math/s_catanf.c (__catanf): Likewise.
32409         * math/s_catanh.c (__catanh): Likewise.
32410         * math/s_catanhf.c (__catanhf): Likewise.
32411         * math/s_catanhl.c (__catanhl): Likewise.
32412         * math/s_catanl.c (__catanl): Likewise.
32413         * math/s_ccosh.c (__ccosh): Likewise.
32414         * math/s_ccoshf.c (__ccoshf): Likewise.
32415         * math/s_ccoshl.c (__ccoshl): Likewise.
32416         * math/s_cexp.c (__cexp): Likewise.
32417         * math/s_cexpf.c (__cexpf): Likewise.
32418         * math/s_cexpl.c (__cexpl): Likewise.
32419         * math/s_clog10.c (__clog10): Likewise.
32420         * math/s_clog10f.c (__clog10f): Likewise.
32421         * math/s_clog10l.c (__clog10l): Likewise.
32422         * math/s_clog.c (__clog): Likewise.
32423         * math/s_clogf.c (__clogf): Likewise.
32424         * math/s_clogl.c (__clogl): Likewise.
32425         * math/s_csin.c (__csin): Likewise.
32426         * math/s_csinf.c (__csinf): Likewise.
32427         * math/s_csinh.c (__csinh): Likewise.
32428         * math/s_csinhf.c (__csinhf): Likewise.
32429         * math/s_csinhl.c (__csinhl): Likewise.
32430         * math/s_csinl.c (__csinl): Likewise.
32431         * math/s_csqrt.c (__csqrt): Likewise.
32432         * math/s_csqrtf.c (__csqrtf): Likewise.
32433         * math/s_csqrtl.c (__csqrtl): Likewise.
32434         * math/s_ctan.c (__ctan): Likewise.
32435         * math/s_ctanf.c (__ctanf): Likewise.
32436         * math/s_ctanh.c (__ctanh): Likewise.
32437         * math/s_ctanhf.c (__ctanhf): Likewise.
32438         * math/s_ctanhl.c (__ctanhl): Likewise.
32439         * math/s_ctanl.c (__ctanl): Likewise.
32440         * math/w_pow.c: Likewise.
32441         * math/w_powf.c: Likewise.
32442         * math/w_powl.c: Likewise.
32443         * math/w_scalb.c (sysv_scalb): Likewise.
32444         * math/w_scalbf.c (sysv_scalbf): Likewise.
32445         * math/w_scalbl.c (sysv_scalbl): Likewise.
32446         * misc/error.c (error_tail): Likewise.
32447         * misc/pselect.c (__pselect): Likewise.
32448         * nis/nis_callback.c (__nis_create_callback): Likewise.
32449         * nis/nis_call.c (__nisfind_server): Likewise.
32450         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32451         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32452         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32453         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32454         * nis/nis_lookup.c (nis_lookup): Likewise.
32455         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32456         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32457         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32458         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32459         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32460         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32461         * nis/nss_compat/compat-initgroups.c (add_group)
32462         (internal_getgrent_r): Likewise.
32463         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32464         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32465         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32466         (internal_getspnam_r): Likewise.
32467         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32468         (_nss_nis_getaliasbyname_r): Likewise.
32469         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32470         (_nss_nis_getntohost_r): Likewise.
32471         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32472         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32473         (_nss_nis_getgrgid_r): Likewise.
32474         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32475         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32476         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32477         (_nss_nis_gethostbyname4_r): Likewise.
32478         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32479         (initgroups_netid): Likewise.
32480         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32481         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32482         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32483         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32484         (_nss_nis_getprotobynumber_r): Likewise.
32485         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32486         (_nss_nis_getsecretkey): Likewise.
32487         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32488         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32489         (_nss_nis_getpwuid_r): Likewise.
32490         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32491         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32492         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32493         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32494         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32495         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32496         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32497         Likewise.
32498         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32499         (_nss_nisplus_getntohost_r): Likewise.
32500         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32501         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32502         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32503         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32504         Likewise.
32505         * nis/nss_nisplus/nisplus-initgroups.c
32506         (_nss_nisplus_initgroups_dyn): Likewise.
32507         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32508         (_nss_nisplus_getnetbyaddr_r): Likewise.
32509         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32510         (_nss_nisplus_getprotobynumber_r): Likewise.
32511         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32512         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32513         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32514         Likewise.
32515         * nis/nss_nisplus/nisplus-service.c
32516         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32517         (_nss_nisplus_getservbyport_r): Likewise.
32518         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32519         (_nss_nisplus_getspnam_r): Likewise.
32520         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32521         Likewise.
32522         * nscd/aicache.c (addhstaiX): Likewise.
32523         * nscd/cache.c (cache_search, prune_cache): Likewise.
32524         * nscd/connections.c (register_traced_file, send_ro_fd)
32525         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32526         (main_loop_epoll): Likewise.
32527         * nscd/grpcache.c (addgrbyX): Likewise.
32528         * nscd/hstcache.c (addhstbyX): Likewise.
32529         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32530         * nscd/mem.c (gc, mempool_alloc): Likewise.
32531         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32532         (addinnetgrX): Likewise.
32533         * nscd/nscd-client.h (__nscd_acquire_maplock)
32534         (__nscd_drop_map_ref): Likewise.
32535         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32536         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32537         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32538         Likewise.
32539         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32541         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32542         (__nscd_get_map_ref): Likewise.
32543         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32544         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32545         Likewise.
32546         * nscd/pwdcache.c (addpwbyX): Likewise.
32547         * nscd/selinux.c (preserve_capabilities): Likewise.
32548         * nscd/servicescache.c (addservbyX): Likewise.
32549         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32550         * posix/fnmatch.c (fnmatch): Likewise.
32551         * posix/getopt.c (_getopt_internal_r): Likewise.
32552         * posix/glob.c (glob, glob_in_dir): Likewise.
32553         * posix/wordexp.c (exec_comm_child): Likewise.
32554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32555         (getanswer_r, gaih_getanswer_slice): Likewise.
32556         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32557         * resolv/res_init.c: Likewise.
32558         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32559         * resolv/res_query.c (__libc_res_nquery): Likewise.
32560         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32561         Likewise.
32562         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32563         * stdio-common/perror.c (perror): Likewise.
32564         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32565         * stdio-common/tmpnam.c (tmpnam): Likewise.
32566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32567         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32568         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32569         Likewise.
32570         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32571         * stdlib/putenv.c (putenv): Likewise.
32572         * stdlib/setenv.c (__add_to_environ): Likewise.
32573         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32574         * stdlib/strtol_l.c (INTERNAL): Likewise.
32575         * string/memmem.c (memmem): Likewise.
32576         * string/strerror.c (strerror): Likewise.
32577         * string/strnlen.c (__strnlen): Likewise.
32578         * string/test-memmem.c (simple_memmem): Likewise.
32579         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32580         * sunrpc/pm_getport.c (__get_socket): Likewise.
32581         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32582         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32583         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32584         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32585         Likewise.
32586         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32587         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32588         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32589         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32590         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32591         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32592         Likewise.
32593         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32594         Likewise.
32595         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32596         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32597         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32598         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32599         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32601         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32602         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32603         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32604         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32605         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32606         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32607         Likewise.
32608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32609         Likewise.
32610         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32611         Likewise.
32612         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32616         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32617         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32618         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32621         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32622         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32624         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32625         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32626         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32627         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32628         Likewise.
32629         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32630         Likewise.
32631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32632         Likewise.
32633         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32634         Likewise.
32635         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32637         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32638         Likewise.
32639         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32640         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32641         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32642         * sysdeps/posix/sleep.c: Likewise.
32643         * sysdeps/posix/tempname.c: Likewise.
32644         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32645         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32646         Likewise.
32647         * sysdeps/powerpc/powerpc32/dl-machine.h
32648         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32651         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32652         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32653         Likewise.
32654         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32655         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32656         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32657         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32658         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32659         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32660         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32661         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32662         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32663         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32664         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32665         (elf_machine_lazy_rel): Likewise.
32666         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32667         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32668         (elf_machine_lazy_rel): Likewise.
32669         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32670         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32671         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32672         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32673         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32674         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32675         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32676         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32677         Likewise.
32678         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32679         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32680         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32681         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32682         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32683         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32684         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32685         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32686         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32687         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32688         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32689         Likewise.
32690         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32691         (__posix_fallocate64_l64): Likewise.
32692         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32693         (posix_fallocate): Likewise.
32694         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32695         Likewise.
32696         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32697         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32698         (getifaddrs_internal): Likewise.
32699         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32700         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32701         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32702         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32703         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32704         (__posix_fallocate64_l64): Likewise.
32705         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32706         Likewise.
32707         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32708         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32709         (__get_clockfreq): Likewise.
32710         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32711         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32712         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32715         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32716         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32717         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32718         Likewise.
32719         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32720         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32721         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32722         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32723         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32724         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32725         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32726         Likewise.
32727         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32728         (posix_fallocate): Likewise.
32729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32730         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32731         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32732         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32733         (elf_machine_rela, elf_machine_rela_relative)
32734         (elf_machine_lazy_rel): Likewise.
32735         * time/asctime.c (asctime_internal): Likewise.
32736         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32737         * time/tzset.c (__tzset_parse_tz): Likewise.
32738         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32739         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32740         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32741         * wcsmbs/wcsmbsload.h: Likewise.
32743         [BZ #15894]
32744         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32746         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32747         (arena_get2): Remove THREAD_STATS conditionals.
32748         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32749         (__malloc_stats, int): Likewise.
32751 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32753         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32754         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32756         * manual/setjmp.texi: Fix typos/grammar errors.
32758         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32759         Only return early when n is <= 0.  Delete unused return statement.
32761         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32762         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32763         * debug/tst-longjmp_chk3.c: New file.
32765         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32766         (test_main): Replace code with set_fortify_handler call.
32767         * debug/test-strcpy_chk.c: Likewise.
32768         * debug/tst-chk1.c: Likewise.
32769         * debug/tst-longjmp_chk.c: Likewise.
32770         * test-skeleton.c: Include fcntl.h & paths.h
32771         (set_fortify_handler): Define.
32773         * debug/tst-longjmp_chk.c: Add header comment and include
32774         ../test-skeleton.c.
32775         (do_test): Mark static.
32776         (TEST_FUNCTION): Define.
32778         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32779         (IP_PMTUDISC_INTERFACE): Likewise.
32780         (IP_MULTICAST_IF): Likewise.
32781         (IP_MULTICAST_TTL): Likewise.
32782         (IP_MULTICAST_LOOP): Likewise.
32783         (IP_ADD_MEMBERSHIP): Likewise.
32784         (IP_DROP_MEMBERSHIP): Likewise.
32785         (IP_UNBLOCK_SOURCE): Likewise.
32786         (IP_BLOCK_SOURCE): Likewise.
32787         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32788         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32789         (IP_MSFILTER): Likewise.
32790         (MCAST_JOIN_GROUP): Likewise.
32791         (MCAST_BLOCK_SOURCE): Likewise.
32792         (MCAST_UNBLOCK_SOURCE): Likewise.
32793         (MCAST_LEAVE_GROUP): Likewise.
32794         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32795         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32796         (MCAST_MSFILTER): Likewise.
32797         (IP_MULTICAST_ALL): Likewise.
32798         (IP_UNICAST_IF): Likewise.
32800         * timezone/Makefile: Delete $(have-ksh) check.
32801         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32802         * timezone/tzselect.ksh: Add +x mode bits.
32804         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32805         (ANON_INODE_FS_MAGIC): Likewise.
32806         (BDEVFS_MAGIC): Likewise.
32807         (BINFMTFS_MAGIC): Likewise.
32808         (BTRFS_TEST_MAGIC): Likewise.
32809         (CRAMFS_MAGIC_WEND): Likewise.
32810         (DEBUGFS_MAGIC): Likewise.
32811         (ECRYPTFS_SUPER_MAGIC): Likewise.
32812         (EXT3_SUPER_MAGIC): Likewise.
32813         (EXT4_SUPER_MAGIC): Likewise.
32814         (FUTEXFS_SUPER_MAGIC): Likewise.
32815         (HOSTFS_SUPER_MAGIC): Likewise.
32816         (HUGETLBFS_MAGIC): Likewise.
32817         (MINIX3_SUPER_MAGIC): Likewise.
32818         (MTD_INODE_FS_MAGIC): Likewise.
32819         (NILFS_SUPER_MAGIC): Likewise.
32820         (OPENPROM_SUPER_MAGIC): Likewise.
32821         (PIPEFS_MAGIC): Likewise.
32822         (PSTOREFS_MAGIC): Likewise.
32823         (QNX6_SUPER_MAGIC): Likewise.
32824         (RAMFS_MAGIC): Likewise.
32825         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32826         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32827         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32828         (SECURITYFS_MAGIC): Likewise.
32829         (SELINUX_MAGIC): Likewise.
32830         (SMACK_MAGIC): Likewise.
32831         (SOCKFS_MAGIC): Likewise.
32832         (SQUASHFS_MAGIC): Likewise.
32833         (STACK_END_MAGIC): Likewise.
32834         (TMPFS_MAGIC): Likewise.
32835         (USBDEVICE_SUPER_MAGIC): Likewise.
32836         (V9FS_MAGIC): Likewise.
32837         (XENFS_SUPER_MAGIC): Likewise.
32838         (CRAMFS_MAGIC): Fix typo in comment.
32839         (EXT2_SUPER_MAGIC): Update comment.
32840         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32842 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32844         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32845         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32846         * sysdeps/unix/sysv/linux/arm: Move directory from
32847         ports/sysdeps/unix/sysv/linux/arm.
32848         * README: Update listing for arm-*-linux-gnueabi.
32850         * README: Remove mention of am33.
32852 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32854         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32855         than the comma operator, to avoid "rhs of comma has no effect"
32856         compiler warnings.
32857         (__sigfillset, __sigandset, __sigorset): Likewise.
32858         * include/signal.h (__sigemptyset): Likewise.
32859         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32861 2014-02-07  Allan McRae  <allan@archlinux.org>
32863         * version.h (RELEASE): Set to "development".
32864         (VERSION): Set to "2.19.90"
32865         * NEWS: Add 2.20 section.
32867 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32869         [BZ #16529]
32870         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32872 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32874         * manual/contrib.texi: Update entry for Carlos O'Donell,
32875         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32877 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32879         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32881         * sysdeps/unix/sysv/linux/kernel-features.h
32882         [__LINUX_KERNEL_VERSION >= 0x020621]
32883         (__ASSUME_PROC_PID_TASK_COMM): Define.
32885 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32887         [BZ #16398]
32888         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32889         conversion when destination buffer does not have enough space.
32890         * libio/tst-ftell-partial-wide.c: New test case.
32891         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32893         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32894         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32895         Leonard and Allan McRae.
32897 2014-02-04  David S. Miller  <davem@davemloft.net>
32899         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32900         32-bit.
32902 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32905         New file
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32907         New file
32908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32909         New file.
32910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32911         New file.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32913         New file.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32915         New file.
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32917         New file.
32918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32919         New file.
32920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32921         New file.
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32923         New file.
32924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32925         New file.
32926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32927         New file.
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32929         New file.
32931 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32933         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32934         * shlib-versions: Likewise.
32936 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32937             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32939         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32940         (abilist-pattern): New variable, set to %-le.abilist.
32942         * Makerules (abilist-pattern): New variable.
32943         (vpath): Use $(abilist-pattern) in place of %.abilist.
32944         (check-abi-% pattern rule): Likewise.
32945         (check-abi, update-abi): Likewise.
32947 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32951 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32953         * manual/startup.texi: Add next, previous, and top entries for
32954         the `Program Arguments' and `Environment Variables' nodes.
32956 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32958         * manual/macros.texi: Add comments before MTASC-safety macros.
32960         * manual/users.texi: Document MTASC-safety properties.
32962         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32963         (pthread_getspecific, pthread_setspecific): Format with
32964         @deftypefun, and add @safety note.
32965         * manual/signal.texi: Move comments that analyze the above
32966         functions to their home place.
32968 2014-02-03  Allan McRae  <allan@archlinux.org>
32970         * po/sl.po: Update Slovenian translation from translation project.
32972 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32974         * manual/time.texi (timegm): Add missing blank after @c.
32975         Reported by Joseph Myers <joseph@codesourcery.com>.
32977 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32979         * manual/check-safety.sh: New.
32980         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32982         * manual/terminal.texi: Document MTASC-safety properties.
32984         * manual/filesys.texi: Document MTASC-safety properties.
32986         * manual/errno.texi: Document MTASC-safety properties.
32988         * manual/intro.texi: Document safety identifiers and
32989         conditionals.
32991         * manual/string.texi (wcstok): Fix prototype.
32992         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32994         * manual/time.texi: Document MTASC-safety properties.
32996         * manual/string.texi: Document MTASC-safety properties.
32998         * manual/threads.texi: Document MTASC-safety properties.
33000         * manual/stdio.texi: Document MTASC-safety properties.
33002         * manual/syslog.texi: Document MTASC-safety properties.
33004         * manual/sysinfo.texi: Document MTASC-safety properties.
33006         * manual/startup.texi: Document MTASC-safety properties.
33008         * manual/socket.texi: Document MTASC-safety properties.
33010         * manual/signal.texi: Document MTASC-safety properties.
33012 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33014         * manual/setjmp.texi: Document MTASC-safety properties.
33016         * manual/search.texi: Document MTASC-safety properties.
33018         * manual/resource.texi: Document MTASC-safety properties.
33020         * manual/process.texi: Document MTASC-safety properties.
33022         * manual/platform.texi: Document MTASC-safety properties.
33024         * manual/pipe.texi: Document MTASC-safety properties.
33026         * manual/pattern.texi: Document MTASC-safety properties.
33028         * manual/message.texi: Document MTASC-safety properties.
33030         [BZ #12751]
33031         * manual/memory.texi: Document MTASC-safety properties.
33033         * manual/math.texi: Document MTASC-safety properties.
33035         * manual/locale.texi: Document MTASC-safety properties.
33037         * manual/llio.texi: Document MTASC-safety properties.
33039         * manual/libdl.texi: New.
33041         * manual/lang.texi: Document MTASC-safety properties.
33043         * manual/job.texi: Document MTASC-safety properties.
33045         * manual/getopt.texi: Document MTASC-safety properties.
33047         * manual/ctype.texi: Document MTASC-safety properties.
33049 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33051         [BZ #16046]
33052         * csu/libc-tls.c (static_map): Remove variable.
33053         (__libc_setup_tls): Use main executable's link map for TLS data.
33054         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33055         casing for LM_ID_BASE and GL(dl_nns).
33056         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33057         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33058         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33059         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33060         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33061         member.
33062         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33063         l_phnum members.
33065 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33067         * manual/debug.texi: Document MTASC-safety properties.
33069 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33071         [BZ #16510]
33072         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33073         of __x86_64__ when disabling x87 inline functions.
33075 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33077         * manual/charset.texi: Document MTASC-safety properties.
33079         * manual/crypt.texi: Document MTASC-safety properties.
33081         * manual/conf.texi: Document MTASC-safety properties.
33083         * manual/arith.texi: Document MTASC-safety properties.
33085         * manual/argp.texi: Document MTASC-safety properties.
33087         * manual/macros.texi: Introduce macros to document multi
33088         thread, asynchronous signal and asynchronous cancellation
33089         safety properties.
33090         * manual/intro.texi: Introduce the properties themselves.
33092 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33094         * sysdeps/sh/sh4/Makefile: New file.
33096 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33098         * math/gen-libm-test.pl ($srcdir): New variable.
33099         ($auto_input): Use it.
33101 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         [BZ #16506]
33104         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33105         access beyond array bounds when parsing netgroups file.
33107         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33108         the old buffer before realloc.
33110 2014-01-27  Allan McRae  <allan@archlinux.org>
33112         * po/fr.po: Update French translation from translation project.
33114 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33116         * sysdeps/sh/libm-test-ulps: Regenerate.
33118 2014-01-24  David S. Miller  <davem@davemloft.net>
33120         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33122 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33124         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33125         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33127 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33129         [BZ #16474]
33130         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33131         string pointers after reallocation.
33133 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33135         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33136         __SH4A__ instead of __SH_FPU_ANY__.
33138 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33140         * sysdeps/sh/fpu_control.h: New file.
33141         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33142         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33143         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33144         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33145         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33146         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33147         * sysdeps/sh/sys/ucontext.h: Remove.
33148         * sysdeps/sh/sys: Remove directory.
33150 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33152         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33153         s390/sys/ucontext.h.
33154         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33157 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33159         [BZ #15605]
33160         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33162 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33164         [BZ#16431]
33165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33166         Adjust the vDSO correctly for internal calls.
33167         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33169 2014-01-20  Allan McRae  <allan@archlinux.org>
33171         * po/ca.po: Update Catalan translation from translation project.
33173 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33175         * sysdeps/s390/sotruss-lib.c: New file.
33177 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33179         [BZ#16430]
33180         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33181         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33182         local calls issues by not having a PLT stub required for IFUNC calls.
33183         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33185 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33187         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33188         * math/test-fpucw-static.c: Likewise.
33190 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33192         [BZ #16453]
33193         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33195 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33197         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33198         implementation for powerpc.
33200 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33202         [BZ #14782]
33203         * sysdeps/posix/system.c (__libc_system): Do not enable
33204         asynchronous cancellation.
33206 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33208         [BZ #16427]
33209         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33210         handling only for numbers special also in the IEEE case.
33212 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33214         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33216 2014-01-11  Allan McRae  <allan@archlinux.org>
33218         * po/bg.po: Update Bulgarian translation from translation project.
33220         * po/de.po: Update German translation from translation project.
33222 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33224         * sysdeps/generic/gcc-compat.h: New file.
33226 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33228         * benchtests/asin-inputs: Correct slow inputs.
33229         * benchtests/acos-inputs: Likewise.
33231 2014-01-10  Allan McRae  <allan@archlinux.org>
33233         * po:sv.po: Update Swedish translation from translation project.
33235         * po/vi.po: Update Vietnamese translation from translation project.
33237         * po/eo.po: Update Esperanto translation from translation project.
33239         * po/cs.po: Update Czech translation from translation project.
33241         * po/nl.po: Update Dutch translation from translation project.
33243         * po/pl.po: Update Polish translation from translation project.
33245         * po/ru.po: Update Russian translation from translation project.
33247         * po/uk.po: Update Ukrainian translation from translation project.
33249 2014-01-08  Brooks Moses  <bmoses@google.com>
33251         * elf/dl-load.c: Fix comment typo.
33253 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33255         * po/header.pot: Rename to...
33256         * po/pot.header: ... this.
33257         * po/Makefile: Use pot.header.
33259 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33260             Maxim Kuvyrkov  <maxim@kugelworks.com>
33262         [BZ #16394]
33263         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33264         SRC and DEST against LEN.
33266 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33268         [BZ #16414]
33269         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33270         implementation.
33271         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33273 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33277 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33279         [BZ #16408]
33280         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33281         for large positive arguments.
33283 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33285         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33287         * math/auto-libm-test-in: Mark various tests with
33288         xfail-rounding:ldbl-128ibm.
33289         * math/auto-libm-test-out: Regenerated.
33291         [BZ #16407]
33292         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33293         Increase overflow threshold.
33295 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33297         [BZ #14286]
33298         * stdio-common/vfprintf.c: Check for integer overflow.
33300 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33302         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33303         the first argument and return value of __tls_get_addr_internal.
33305 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33307         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33308         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33310 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33312         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33313         * sysdeps/s390/rtld-global-offsets.sym: New file.
33314         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33315         GLIBC_2.19 symbol.
33316         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33319         ... this.
33320         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33321         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33322         ... this.
33323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33324         Regenerate.
33325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33326         Regenerate.
33327         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33328         halfs of GPRs for high_gprs contexts.
33329         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33330         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33331         field.
33332         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33333         uc_flags field.
33334         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33335         64 bit versions:
33336         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33337         for high GPRs (uc_high_gprs) and for future extensions
33338         (__reserved).
33339         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33340         for future extensions (__reserved).
33341         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33342         64 bit versions:
33343         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33344         SC_HIGHGPRS offset definition.
33345         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33346         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33348         * Versions.def: Add GLIBC_2.19 for libpthread.
33349         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33350         siglongjmp for libpthread with GLIBC_2.19 symver.
33351         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33352         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33353         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33354         * sysdeps/s390/__longjmp.c: New file.
33355         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33356         * sysdeps/s390/longjmp.c: New file.
33357         * sysdeps/s390/setjmp.S: New file.
33358         * sysdeps/s390/sigjmp.S: New file.
33359         * sysdeps/s390/v1-longjmp.c: New file.
33360         * sysdeps/s390/v1-setjmp.h: New file.
33361         * sysdeps/s390/v1-sigjmp.c: New file.
33362         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33363         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33364         GLIBC_2.19 version.
33365         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33366         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33367         versioned symbols for ____longjmp_chk.
33368         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33369         Likewise.
33370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33371         Regenerate.
33372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33373         Regenerate.
33374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33375         Regenerate.
33376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33377         Regenerate.
33378         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33379         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33380         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33381         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33382         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33383         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33384         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33385         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33386         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33387         * sysdeps/s390/rtld-__longjmp.c: New file.
33388         * sysdeps/s390/rtld-setjmp.S: New file.
33390 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33392         [BZ #16400]
33393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33394         Return -__logl (x) for small positive arguments without evaluating
33395         a polynomial.
33397 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33399         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33400         Rename to ...
33401         (__ptrace_peeksiginfo_args): ... this.
33402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33403         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33404         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33406 2014-01-06  Allan McRae  <allan@archlinux.org>
33408         * inet/netinet/in.h: Fix typo in comment.
33410 2014-01-05  Andreas Jaeger  <aj@suse.de>
33412         * sysdeps/i386/fpu/libm-test-ulps: Update.
33414 2014-01-05  Allan McRae  <allan@archlinux.org>
33416         * po/libc.pot: Regenerated.
33418         * malloc/memusagestat.c: Fix gettext call formatting.
33420 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33422         * nscd/nscd.c: Improve usage() output.
33424 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33426         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33427         * sysdeps/unix/sysv/linux/configure: Regenerated.
33428         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33429         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33431 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33433         [BZ #16390]
33434         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33435         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33437 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33440         extra tokens at end of #undef directive.
33441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33442         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33443         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33445 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33447         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33449         * math/auto-libm-test-in: Mark various tests with
33450         xfail-rounding:ldbl-128ibm.
33451         * math/auto-libm-test-out: Regenerated.
33453 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33455         [BZ #16386]
33456         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33457         numbers with subnormal high part when calculating exponent.
33459         [BZ #16385]
33460         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33461         fabs.
33463         [BZ #16384]
33464         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33465         M_LN2l.
33466         (__ieee754_acoshl): Use __log1pl not __log1p.
33468 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33470         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33471         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33472         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33473         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33474         (reused_arena, arena_get2): Convert to GNU style.
33475         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33476         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33477         (memalign_check, __malloc_set_state): Likewise.
33478         * malloc/mallocbug.c (main): Likewise.
33479         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33480         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33481         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33482         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33483         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33484         (__posix_memalign, malloc_info): Likewise.
33485         * malloc/malloc.h: Likewise.
33486         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33487         (mallochook, memalignhook, reallochook, mabort): Likewise.
33488         * malloc/mcheck.h: Likewise.
33489         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33490         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33491         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33492         * malloc/morecore.c (__default_morecore): Likewise.
33493         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33494         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33495         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33496         (print_and_abort): Likewise.
33497         * malloc/obstack.h: Likewise.
33498         * malloc/set-freeres.c (__libc_freeres): Likewise.
33499         * malloc/tst-mallocstate.c (main): Likewise.
33500         * malloc/tst-mtrace.c (main): Likewise.
33501         * malloc/tst-realloc.c (do_test): Likewise.
33503 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33505         [BZ #16366]
33506         * nscd/netgroupcache.c (do_notfound): New function.
33507         (addgetnetgrentX): Use it.
33509         [BZ # 16365]
33510         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33511         NSS_STATUS_NOTFOUND.
33513 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33515         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33518 2014-01-01  Allan McRae  <allan@archlinux.org>
33520         * scripts/update-copyrights: Update configure input file suffix.
33522         * NEWS: Update copyright year.
33523         * catgets/gencat.c: Likewise.
33524         * csu/version.c: Likewise.
33525         * debug/catchsegv.sh: Likewise.
33526         * debug/pcprofiledump.c: Likewise.
33527         * debug/xtrace.sh: Likewise.
33528         * elf/ldconfig.c: Likewise.
33529         * elf/ldd.bash.in: Likewise.
33530         * elf/pldd.c: Likewise.
33531         * elf/sotruss.ksh: Likewise.
33532         * elf/sprof.c: Likewise.
33533         * iconv/iconv_prog.c: Likewise.
33534         * iconv/iconvconfig.c: Likewise.
33535         * locale/programs/locale.c: Likewise.
33536         * locale/programs/localedef.c: Likewise.
33537         * login/programs/pt_chown.c: Likewise.
33538         * malloc/memusage.sh: Likewise.
33539         * malloc/memusagestat.c: Likewise.
33540         * malloc/mtrace.pl: Likewise.
33541         * manual/libc.texinfo: Likewise.
33542         * nscd/nscd.c: Likewise.
33543         * nss/getent.c: Likewise.
33544         * nss/makedb.c: Likewise.
33545         * posix/getconf.c: Likewise.
33546         * scripts/test-installation.pl: Likewise.
33548         * All files with FSF copyright notices: Update copyright dates
33549         using scripts/update-copyrights.
33550         * intl/plural.c: Regenerated.
33551         * locale/programs/charmap-kw.h: Likewise.
33552         * locale/programs/locfile-kw.h: Likewise.
33554 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33556         * sysdeps/unix/sysv/linux/configure: Regenerated.
33557         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33558         the linux/fanotify.h header.
33559         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33560         HAVE_LINUX_FANOTIFY_H is defined.
33562 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33564         * benchtests/cos-inputs: New inputs.
33565         * benchtests/sin-inputs: Likewise.
33567         * benchtests/atan-inputs: New inputs. Fix name of multiple
33568         precision fallback inputs.
33570         * benchtests/atanh-inputs: New inputs.
33571         * benchtests/tanh-inputs: Likewise.
33573         * benchtests/acosh-inputs: New inputs.
33574         * benchtests/asinh-inputs: Likewise.
33576         * benchtests/cosh-inputs: New inputs.
33577         * benchtests/sinh-inputs: Likewise.
33579         * benchtests/acos-inputs: Add more inputs.
33580         * benchtests/asin-inputs: Likewise.
33582 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33584         [BZ #16375]
33585         * manual/arith.texi: Fix spelling.
33586         * manual/charset.texi: Likewise.
33587         * manual/errno.texi: Likewise.
33588         * manual/filesys.texi: Likewise.
33589         * manual/lang.texi: Likewise.
33590         * manual/llio.texi: Likewise.
33591         * manual/locale.texi: Likewise.
33592         * manual/message.texi: Likewise.
33593         * manual/resource.texi: Likewise.
33594         * manual/search.texi: Likewise.
33595         * manual/setjmp.texi: Likewise.
33596         * manual/stdio.texi: Likewise.
33597         * manual/string.texi: Likewise.
33598         * manual/sysinfo.texi: Likewise.
33599         * manual/time.texi: Likewise.
33601 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33603         * po/sl.po: New file.
33605 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33607         * .gitignore: Add core/.gdbinit/.gdb_history.
33609 2013-12-27  Allan McRae  <allan@archlinux.org>
33611         [BZ #16369]
33612         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33613         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33615 2013-12-24  Brooks Moses  <bmoses@google.com>
33617         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33618         all compilers that claim C++98 compliance, not just GCC.
33619         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33620         Likewise.
33622 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33624         * NEWS: Restore accidentally deleted bug-fix entries.
33626 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33627             Ondřej Bílka  <neleai@seznam.cz>
33629         [BZ #15073]
33630         * malloc/malloc.c (_int_free): Perform sanity check only if we
33631         have_lock.
33633 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33635         [BZ #12986]
33636         * manual/stdio.texi (String Input Conversions): Clarify that character
33637         classes are not supported.
33639 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33643 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33645         [BZ #16337]
33646         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33647         Calculate results for small negative arguments directly rather
33648         than using reflection formula with special underflow handling.
33650         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33651         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33652         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33653         (fchflags): Likewise.
33654         (revoke): Likewise.
33655         (setlogin): Likewise.
33656         (sigaltstack): Likewise.
33657         (wait4): Likewise.
33658         (sigblock): Remove.
33659         (sigsetmask): Likewise.
33660         (wait3): Likewise.
33661         (waitpid): Likewise.
33662         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33663         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33664         file.
33665         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33666         * sysdeps/unix/bsd/Makefile: ... here.
33667         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33668         * sysdeps/unix/bsd/Versions: ... here.
33669         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33670         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33671         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33672         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33673         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33674         * sysdeps/unix/bsd/sigblock.c: ... here.
33675         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33676         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33677         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33678         * sysdeps/unix/bsd/sigvec.c: ... here.
33679         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33680         * sysdeps/unix/bsd/tcdrain.c: ... here.
33681         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33682         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33683         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33684         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33685         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33686         * sysdeps/unix/bsd/wait.c: ... here.
33687         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33688         * sysdeps/unix/bsd/wait3.c: ... here.
33689         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33690         * sysdeps/unix/bsd/waitpid.c: ... here.
33692 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33694         [BZ #16356]
33695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33696         round-to-nearest for [!USE_AS_EXPM1L].
33697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33698         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33699         more tests of exp and exp10.  Expect some exp10 tests to miss
33700         exceptions or fail in directed rounding modes.
33701         * math/auto-libm-test-out: Regenerated.
33702         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33703         (exp10_test_tonearest): New function.
33704         (exp10_towardzero_test_data): New array.
33705         (exp10_test_towardzero): New function.
33706         (exp10_downward_test_data): New array.
33707         (exp10_test_downward): New function.
33708         (exp10_upward_test_data): New array.
33709         (exp10_test_upward): New function.
33710         (main): Call the new functions.
33711         * sysdeps/i386/fpu/libm-test-ulps: Update.
33712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33714 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33716         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33717         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33718         * math/auto-libm-test-out: Regenerated.
33719         * math/libm-test.inc (acosh_test_data): Add more tests.
33720         (atanh_test_data): Likewise.
33721         (ceil_test_data): Likewise.
33722         (copysign_test_data): Likewise.
33723         * sysdeps/i386/fpu/libm-test-ulps: Update.
33724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33726         * timezone/checktab.awk: Update from tzcode 2013i.
33727         * timezone/private.h: Likewise.
33728         * timezone/scheck.c: Likewise.
33729         * timezone/tzfile.h: Likewise.
33730         * timezone/tzselect.ksh: Likewise.
33731         * timezone/zdump.c: Likewise.
33732         * timezone/zic.c: Likewise.
33734         * math/auto-libm-test-in: Add tests of cpow.
33735         * math/auto-libm-test-out: Regenerated.
33736         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33737         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33738         mpc_cc_c.
33739         (func_calc_desc): Add mpc_cc_c union field.
33740         (test_functions): Add cpow.
33741         (special_fill_2pi): New function.
33742         (special_real_inputs): Add 2pi.
33743         (calc_generic_results): Handle mpc_cc_c.
33744         * sysdeps/i386/fpu/libm-test-ulps: Update.
33745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33747         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33748         csqrt, ctan and ctanh.
33749         * math/auto-libm-test-out: Regenerated.
33750         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33751         (TEST_COND_x86): Likewise.
33752         (ccos_test_data): Use AUTO_TESTS_c_c.
33753         (ccosh_test_data): Likewise.
33754         (cexp_test_data): Likewise.
33755         (clog_test_data): Likewise.
33756         (csqrt_test_data): Likewise.
33757         (ctan_test_data): Likewise.
33758         (ctan_tonearest_test_data): Likewise.
33759         (ctan_towardzero_test_data): Likewise.
33760         (ctan_downward_test_data): Likewise.
33761         (ctan_upward_test_data): Likewise.
33762         (ctanh_test_data): Likewise.
33763         (ctanh_tonearest_test_data): Likewise.
33764         (ctanh_towardzero_test_data): Likewise.
33765         (ctanh_downward_test_data): Likewise.
33766         (ctanh_upward_test_data): Likewise.
33767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33768         mpc_c_c.
33769         (func_calc_desc): Add mpc_c_c union field.
33770         (FUNC_mpc_c_c): New macro.
33771         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33772         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33773         ctanh.
33774         (special_fill_min_subnorm_p120): New function.
33775         (special_real_inputs): Add min_subnorm_p120.
33776         (calc_generic_results): Handle mpc_c_c.
33777         * sysdeps/i386/fpu/libm-test-ulps: Update.
33778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33780 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33782         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33783         (do_sin_slow): New functions.
33784         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33785         (cslow2, csloww1, csloww2): Use the new functions.
33787         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33788         Use M to change sign of result instead of X.  Assume X is
33789         positive.
33790         (csloww1): Likewise.
33791         (__sin): Adjust.
33792         (__cos): Adjust.
33794         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33795         arguments A and DA.
33796         (__sin): Adjust.
33797         (__cos): Likewise.
33799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33800         (__cos): Likewise.
33801         (sloww1): Don't adjust sign of DX.
33802         (csloww1): Likewise.
33803         (sloww2): Use X directly and don't adjust sign of DX.
33804         (csloww2): Likewise.
33806 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33808         * math/auto-libm-test-in: Add tests of cabs and carg.
33809         * math/auto-libm-test-out: Regenerated.
33810         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33811         (carg_test_data): Likewise.
33812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33813         mpc_c_f.
33814         (func_calc_desc): Add mpc_c_f union field.
33815         (test_functions): Add cabs and carg.
33816         (calc_generic_results): Handle mpc_c_f.
33818         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33819         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33820         as a macro and a compat symbol.
33821         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33822         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33823         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33824         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33825         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33826         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33827         not use .hidden.
33828         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33829         Likewise.
33830         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33831         Likewise.
33832         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33833         Likewise.
33834         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33835         Likewise.
33836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33837         Likewise.
33838         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33839         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33840         from GLIBC_2.3.2.
33842 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33846 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33848         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33849         trailing whitespace removed.
33850         * scripts/config.guess: Update to version 2013-11-29.
33851         * scripts/config.sub: Update to version 2013-10-01.
33853         * math/auto-libm-test-in: Add tests of sincos.
33854         * math/auto-libm-test-out: Regenerated.
33855         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33856         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33857         mpfr_f_11.
33858         (func_calc_desc): Add mpfr_f_11 union field.
33859         (test_functions): Add sincos.
33860         (calc_generic_results): Handle mpfr_f_11.
33861         * sysdeps/i386/fpu/libm-test-ulps: Update.
33862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33864 2013-12-19  Andreas Schwab  <schwab@suse.de>
33866         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33867         CALL_MCOUNT.
33868         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33869         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33870         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33872 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33874         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33875         * sysdeps/i386/fpu/libm-test-ulps: Update.
33876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33878         [BZ #16293]
33879         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33880         round-to-nearest mode when using frndint.
33881         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33882         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33883         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33884         Likewise.
33885         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33886         sinh test to fail.
33887         * math/auto-libm-test-out: Regenerated.
33888         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33889         (TEST_COND_x86): Likewise.
33890         (expm1_tonearest_test_data): New array.
33891         (expm1_test_tonearest): New function.
33892         (expm1_towardzero_test_data): New array.
33893         (expm1_test_towardzero): New function.
33894         (expm1_downward_test_data): New array.
33895         (expm1_test_downward): New function.
33896         (expm1_upward_test_data): New array.
33897         (expm1_test_upward): New function.
33898         (main): Run the new test functions.
33899         * sysdeps/i386/fpu/libm-test-ulps: Update.
33900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33902         * include/features.h: Update comment documenting feature test
33903         macros.  Mention _DEFAULT_SOURCE in comment.
33904         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33905         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33906         _BSD_SOURCE and _SVID_SOURCE.
33907         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33908         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33909         !_SVID_SOURCE]: Likewise.
33910         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33911         (__USE_POSIX_IMPLICITLY): Define.
33912         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33913         (_POSIX_SOURCE): Undefine and redefine.
33914         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33915         (_POSIX_C_SOURCE): Likewise.
33916         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33917         (Feature Test Macros): Update documentation of default features.
33919 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33921         * benchtests/Makefile: Add bench-strtok.
33922         * benchtests/bench-strtok.c: New file: strtok benchtest.
33924 2013-12-19  Allan McRae  <allan@archlinux.org>
33926         * manual/install.texi: Suppress menu for plain text output.
33927         * INSTALL: Regenerated.
33929 2013-12-18  Brooks Moses  <bmoses@google.com>
33931         [BZ #15846]
33932         * misc/getauxval.c: Include errno.h.
33933         (__getauxval): Set errno to ENOENT if the requested type is not
33934         found.
33935         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33936         don't declare with __attribute_const__.
33937         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33938         * manual/startup.texi: Document that getauxval sets errno.
33940 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33942         * math/auto-libm-test-in: Add tests of jn and yn.
33943         * math/auto-libm-test-out: Regenerated.
33944         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33945         (yn_test_data): Likewise.
33946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33947         mpfr_if_f.
33948         (func_calc_desc): Add mpfr_if_f union field.
33949         (FUNC_mpfr_if_f): New macro.
33950         (test_functions): Add jn and yn.
33951         (calc_generic_results): Assert type of second input for
33952         mpfr_ff_f.  Handle mpfr_if_f.
33953         (output_for_one_input_case): Disable all checking for arguments
33954         fitting floating-point types in case of an integer argument.
33955         * sysdeps/i386/fpu/libm-test-ulps: Update.
33956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33959         Don't expect fegetround reference in libm.so.
33961 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33963         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33964         $(config-cflags-nofma).
33966 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33968         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33969         * math/auto-libm-test-out: Regenerated.
33971         [BZ #16338]
33972         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33973         to determine exponent and adjust argument to have exponent of -1.
33974         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33975         log2.
33976         * math/auto-libm-test-out: Regenerated.
33977         * sysdeps/i386/fpu/libm-test-ulps: Update.
33978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33980 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33982         * manual/probes.texi: Remove cases when per-thread arenas are
33983         disabled.
33985 2013-12-18  Andreas Schwab  <schwab@suse.de>
33987         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33988         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33989         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33990         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33991         * sysdeps/i386/i686/multiarch/Makefile: Update.
33992         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33994 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33996         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33997         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33999 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34001         [BZ #15968]
34002         Support TZ transition times < 00:00:00.
34003         This is needed for version-3 tz-format files; it supports time
34004         stamps past 2037 for America/Godthab (the only entry in the tz
34005         database for which this change is relevant).
34006         * manual/time.texi (TZ Variable): Document transition times
34007         from -167:59:59 through -00:00:01.
34008         * time/tzset.c (tz_rule): Time of day is now signed.
34009         (__tzset_parse_tz): Parse negative time of day.
34011         Document TZ transition times >= 25:00:00.
34012         * manual/time.texi (TZ Variable): Document transition times from
34013         25:00:00 through 167:59:59.  These are already supported, and this
34014         support will help with version-3 tz-format files.
34016         * manual/time.texi (TZ Variable): Modernize North America example
34017         to reflect current (i.e., 2007-and-later) daylight saving rules.
34019         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34021 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34023         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34024         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34025         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34026         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34027         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34028         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34029         * sysdeps/unix/bsd/clock.c: Likewise.
34030         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34031         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34032         * sysdeps/unix/bsd/init-posix.c: Likewise.
34033         * sysdeps/unix/bsd/poll.c: Likewise.
34034         * sysdeps/unix/bsd/ptsname.c: Likewise.
34035         * sysdeps/unix/bsd/seekdir.c: Likewise.
34036         * sysdeps/unix/bsd/setegid.c: Likewise.
34037         * sysdeps/unix/bsd/seteuid.c: Likewise.
34038         * sysdeps/unix/bsd/setgid.c: Likewise.
34039         * sysdeps/unix/bsd/setrgid.c: Likewise.
34040         * sysdeps/unix/bsd/setruid.c: Likewise.
34041         * sysdeps/unix/bsd/setsid.c: Likewise.
34042         * sysdeps/unix/bsd/setuid.c: Likewise.
34043         * sysdeps/unix/bsd/sigaction.c: Likewise.
34044         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34045         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34046         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34047         * sysdeps/unix/bsd/telldir.c: Likewise.
34048         * sysdeps/unix/bsd/times.c: Likewise.
34049         * sysdeps/unix/bsd/usleep.c: Likewise.
34051         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34052         ($(objpfx)libbsd-compat.a): Remove rule.
34054         * include/features.h (__FAVOR_BSD): Do not define.
34055         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34056         features conflicting with POSIX.
34057         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34058         (_BSD_SOURCE): Remove description of not being a subset of other
34059         feature test macros.
34060         * manual/job.texi (getpgrp): Do not document BSD version.
34061         (getpgid): Do not document by reference to BSD getpgrp.
34062         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34063         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34064         * signal/signal.h [__FAVOR_BSD]: Likewise.
34065         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34066         instead of making contents conditional on [__FAVOR_BSD].
34067         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34069 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34073 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34075         [BZ #16314]
34076         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34077         values below 2**-450, not 2**-500.
34078         * math/auto-libm-test-in: Don't allow spurious underflow from
34079         hypot.
34080         * math/auto-libm-test-out: Regenerated.
34082         [BZ #16316]
34083         [BZ #16330]
34084         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34085         values of ha and hb and sort them after adjusting subnormal
34086         arguments.
34087         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34088         Likewise.
34089         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34090         values of ea and eb and sort them after adjusting subnormal
34091         arguments.
34092         * math/auto-libm-test-in: Do not expect some hypot tests of
34093         subnormals to fail.  Add more hypot tests.
34094         * math/auto-libm-test-out: Regenerated.
34096 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34098         [BZ #13304]
34099         * sysdeps/sh/s_fma.c: New file.
34100         * sysdeps/sh/s_fmaf.c: New file.
34101         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34102         version.
34103         * sysdeps/sh/Implies: Add sh/soft-fp.
34105 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34107         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34108         level of indirection to members `objname', `errstring', `malloced'.
34109         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34110         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34111         it as the __longjmp argument (just pass 1 instead).
34112         (_dl_catch_error): Initialize C with argument pointers and address of
34113         volatile local ERRCODE rather than copying values out of C at return.
34115 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34117         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34118         * math/auto-libm-test-out: Regenerated.
34119         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34120         (hypot_test_data): Likewise.
34121         (pow_test_data): Likewise.
34122         (pow_tonearest_test_data): Likewise.
34123         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34124         mpfr_ff_f.
34125         (func_calc_desc): Add mpfr_ff_f union field.
34126         (FUNC_mpfr_ff_f): New macro.
34127         (test_functions): Add atan2, hypot and pow.
34128         (special_fill_min): New function.
34129         (special_fill_minus_min): Likewise.
34130         (special_fill_min_subnorm): Likewise.
34131         (special_fill_minus_min_subnorm): Likewise.
34132         (special_real_inputs): Add min, -min, min_subnorm and
34133         -min_subnorm.
34134         (calc_generic_results): Handle mpfr_ff_f.
34135         * sysdeps/i386/fpu/libm-test-ulps: Update.
34136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34138 2013-12-16  Will Newton  <will.newton@linaro.org>
34140         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34141         (Aligned Memory Blocks): Add documentation for aligned_alloc
34142         and suggest it as an alternative to posix_memalign.
34143         (Hooks for Malloc): Document __memalign_hook is also called
34144         for aligned_alloc.  (Summary of Malloc): Add summary for
34145         aligned alloc.  Document __memalign_hook is also called
34146         for aligned_alloc.
34148 2013-12-16  Will Newton  <will.newton@linaro.org>
34150         * manual/memory.texi (Malloc Examples): Clarify default
34151         alignment documentation.  Suggest posix_memalign rather
34152         than memalign or valloc.
34153         (Aligned Memory Blocks): Remove suggestion to use memalign
34154         or valloc.  Remove obsolete comment about BSD.
34155         Document memalign errno values and mark the function obsolete.
34156         Document posix_memalign returned error codes.  Mark valloc
34157         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34158         called for posix_memalign and valloc.
34159         (Summary of Malloc): Add posix_memalign to function summary.
34160         __memalign_hook is also called for posix_memalign and valloc.
34162 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34164         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34165         TAYLOR_SIN.
34166         (__sin): Adjust.
34167         (__cos): Likewise.
34168         (sloww): Use mynumber union.  Expand ternary operator into
34169         if-else statements.
34170         (cslow): use mynumber union.
34172 2013-12-16  Allan McRae  <allan@archlinux.org>
34174         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34175         * configure: Regenerated.
34177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34179         [BZ #14120]
34180         * configure.ac: Added --enable-maintainer-mode. Check for
34181         autoconf when enabled.
34182         * configure: Regenerated.
34184         * nscd/nscd.service: New file.
34185         * nscd/nscd.tmpfiles: New file.
34187 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34189         [BZ #12100]
34190         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34191         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34192         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34193         (strstr): Add __strstr_sse2_unaligned ifunc.
34194         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34195         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34196         (strcasestr): Remove __strcasestr_sse42 ifunc.
34197         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34201 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34203         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34204         * sysdeps/sh/bits/fenv.h: ... here.
34205         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34207 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34209         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34212         hypotf multiarch implementations.
34213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34214         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34215         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34216         multiarch hypot for PPC64.
34217         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34218         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34219         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34220         multiarch hypotf for PPC64.
34222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34223         modff multiarch implementations.
34224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34227         multiarch modf for PPC64.
34228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34231         multiarch modff for PPC64.
34233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34234         and logl multiarch implementations.
34235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34238         multiarch logb for PPC64.
34239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34242         multiarch logb for PPC64.
34243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34246         multiarch logb for PPC64.
34248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34249         isinff multiarch implementation.
34250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34251         file.
34252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34254         multiarch isinf for PPC64.
34255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34256         file.
34257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34258         multiarch isinff for PPC64.
34260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34261         finitef multiarch implementation.
34262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34263         file.
34264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34266         multiarch finite for PPC64.
34267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34268         file.
34269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34270         multiarch finitef for PPC64.
34272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34273         lrint multiarch implementation.
34274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34275         file.
34276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34278         multiarch llrint for PPC64.
34279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34280         multiarch lrint for PPC64.
34282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34283         copysignf multiarch implementation.
34284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34285         file.
34286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34287         file.
34288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34289         multiarch copysign for PPC64.
34290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34291         multiarch copysignf for PPC64.
34293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34294         multiarch implementation.
34295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34296         file.
34297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34298         file.
34299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34300         file.
34301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34302         file.
34303         multiarch llround for PPC64.
34304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34305         multiarch trunc for PPC64.
34306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34307         multiarch truncf for PPC64.
34309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34310         multiarch implementation.
34311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34312         file.
34313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34314         file.
34315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34316         file.
34317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34318         file.
34319         multiarch llround for PPC64.
34320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34321         multiarch round for PPC64.
34322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34323         multiarch roundf for PPC64.
34325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34326         multiarch implementation.
34327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34328         file.
34329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34330         file.
34331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34332         file.
34333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34334         file.
34335         multiarch llround for PPC64.
34336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34337         multiarch floor for PPC64.
34338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34339         multiarch floorf for PPC64.
34341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34342         multiarch implementation.
34343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34344         file.
34345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34346         file.
34347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34348         file.
34349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34350         file.
34351         multiarch llround for PPC64.
34352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34353         multiarch ceil for PPC64.
34354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34355         multiarch ceilf for PPC64.
34357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34358         multiarch implementation.
34359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34360         file.
34361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34362         file.
34363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34364         file.
34365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34366         multiarch llround for PPC64.
34367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34368         multiarch lround for PPC64.
34370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34371         multiarch implementation.
34372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34375         file.
34376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34379         multiarch isnan for PPC64.
34380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34381         multiarch isnanf for PPC64.
34383         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34384         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34385         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34386         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34387         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34390         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34391         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34396         multiarch implementations.
34397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34398         (__libc_ifunc_impl_list): Likewise.
34399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34401         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34402         multiarch stpcpy for PPC64.
34404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34405         multiarch implementations.
34406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34407         (__libc_ifunc_impl_list): Likewise.
34408         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34409         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34410         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34411         multiarch strcpy for PPC64.
34413         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34414         redefine function name.
34415         (_wordcopy_fwd_dest_aligned): Likewise.
34416         (_wordcopy_bwd_aligned): Likewise.
34417         (_wordcopy_bwd_dest_aligned): Likewise.
34418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34419         multiarch implementations.
34420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34421         (__libc_ifunc_impl_list): Likewise.
34422         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34423         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34424         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34425         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34426         multiarch wcscpy for PPC64.
34428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34429         multiarch implementations.
34430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34431         (__libc_ifunc_impl_list): Likewise.
34432         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34433         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34434         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34435         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34436         multiarch wcscpy for PPC64.
34438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34439         multiarch implementations.
34440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34441         (__libc_ifunc_impl_list): Likewise.
34442         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34443         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34444         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34445         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34446         multiarch wcsrchr for PPC64.
34448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34449         multiarch implementations.
34450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34451         (__libc_ifunc_impl_list): Likewise.
34452         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34453         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34454         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34455         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34456         multiarch wcschr for PPC64.
34458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34459         multiarch implementations.
34460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34461         (__libc_ifunc_impl_list): Likewise.
34462         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34463         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34464         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34465         multiarch strchrnul for PPC64.
34467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34468         implementations.
34469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34470         (__libc_ifunc_impl_list): Likewise.
34471         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34472         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34473         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34474         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34475         strchr for PPC64.
34477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34478         implementations.
34479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34480         (__libc_ifunc_impl_list): Likewise.
34481         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34482         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34483         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34484         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34485         strncmp for PPC64.
34487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34488         multiarch implementations.
34489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34490         (__libc_ifunc_impl_list): Likewise.
34491         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34492         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34493         strncasecmp for PPC64.
34494         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34495         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34496         multiarch strncasecmp_l for PPC64.
34498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34499         multiarch implementations.
34500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34501         (__libc_ifunc_impl_list): Likewise.
34502         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34504         multiarch strcasecmp for PPC64.
34505         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34506         file.
34507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34508         multiarch strcasecmp_l for PPC64.
34510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34511         implementations.
34512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34513         (__libc_ifunc_impl_list): Likewise.
34514         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34515         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34516         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34517         strnlen for PPC64.
34519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34520         implementations.
34521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34522         (__libc_ifunc_impl_list): Likewise.
34523         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34524         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34525         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34526         strlen for PPC64.
34528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34529         implementations.
34530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34531         (__libc_ifunc_impl_list): Likewise.
34532         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34533         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34534         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34535         rawmemrchr for PPC64.
34537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34538         implementation.
34539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34540         (__libc_ifunc_impl_list): Likewise.
34541         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34542         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34543         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34544         memrchr for PPC64.
34546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34547         implementation.
34548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34549         (__libc_ifunc_impl_list): Likewise.
34550         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34551         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34552         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34553         memchr for PPC64.
34555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34556         implementation.
34557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34558         (__libc_ifunc_impl_list): Likewise.
34559         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34560         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34561         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34562         mempcpy for PPC64.
34564         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34565         avoid cretion of __bzero symbol.
34566         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34567         Likewise.
34568         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34569         Likewise.
34570         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34571         Likewise.
34572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34573         multiarch implementations.
34574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34575         (__libc_ifunc_impl_list): Likewise.
34576         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34577         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34578         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34579         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34580         bzero for PPC32.
34581         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34582         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34583         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34584         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34585         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34586         memset for PPC64.
34587         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34589         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34591         implementations.
34592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34593         (__libc_ifunc_impl_list): Likewise.
34594         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34595         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34596         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34597         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34598         memcmp for PPC64.
34600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34601         multiarch for POWER/PPC64.
34602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34603         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34606         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34608         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34610         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34611         memcpy for PPC64.
34613         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34614         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34615         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34616         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34617         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34618         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34619         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34620         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34621         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34622         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34623         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34624         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34625         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34626         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34627         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34636 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34638         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34640 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34642         * benchtests/Makefile (bench): Add exp2 and log2.
34643         (LDLIBS-bench-exp2): Add -lm.
34644         (LDLIBS-bench-log2): Likewise.
34645         * benchtests/exp2-inputs: New inputs file.
34646         * benchtests/log2-inputs: New inputs file.
34647         * benchtests/log-inputs: Add new inputs.
34648         * benchtests/tan-inputs: Likewise.
34650 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34652         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34653         definition...
34654         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34655         (csloww2): ... from here.
34657         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34658         instead of structures.
34659         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34660         (POLYNOMIAL): Likewise.
34661         (TAYLOR_SLOW): Likewise.
34662         (__sin): Likewise.
34663         (__cos): Likewise.
34664         (slow1): Likewise.
34665         (slow2): Likewise.
34666         (sloww): Likewise.
34667         (sloww1); Likewise.
34668         (sloww2): Likewise.
34669         (bsloww1): Likewise.
34670         (bsloww2): Likewise.
34671         (cslow2): Likewise.
34672         (csloww): Likewise.
34673         (csloww1): Likewise.
34674         (csloww2): Likewise.
34676 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34678         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34679         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34680         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34681         * malloc/hooks.c (realloc_check): Likewise.
34683         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34684         * malloc/arena.c: Remove PER_THREAD conditional.
34685         [!PER_THREAD]: Remove code.
34686         (ptmalloc_unlock_all2): Likewise.
34687         (ptmalloc_init): Likewise.
34688         (_int_new_arena): Likewise.
34689         (arena_get2): Likewise.
34690         * malloc/hooks.c (__malloc_get_state): Likewise.
34691         (__malloc_set_state): Likewise.
34692         * malloc/malloc.c: Likewise.
34693         (struct malloc_state): Likewise.
34694         (struct malloc_par): Likewise.
34695         (__libc_realloc): Likewise.
34696         (__libc_mallopt): Likewise.
34698 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34700         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34702 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34704         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34705         macro to a function.  Check for zero perturb_byte.
34706         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34708         * malloc/malloc.c: (force_reg): Remove.
34709         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34710         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34711         force_reg by atomic_forced_read.
34712         * malloc/arena.c (ptmalloc_init): Likewise.
34713         * malloc/hooks.c (top_check): Likewise.
34715 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34719 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34723 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34725         * math/auto-libm-test-in: Add tests of lgamma.
34726         * math/auto-libm-test-out: Regenerated.
34727         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34728         (M_LOG_2_SQRT_PIl): Likewise.
34729         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34730         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34731         mpfr_f_f1.
34732         (func_calc_desc): Add mpfr_f_f1 union field.
34733         (ARGS1): New macro.
34734         (ARGS2): Likewise.
34735         (ARGS3): Likewise.
34736         (ARGS4): Likewise.
34737         (RET1): Likewise.
34738         (RET2): Likewise.
34739         (CALC): Likewise.
34740         (FUNC): Likewise.
34741         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34742         (test_functions): Add lgamma.
34743         (calc_generic_results): Handle mpfr_f_f1.
34744         * sysdeps/i386/fpu/libm-test-ulps: Update.
34745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34749         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34750         __mpn_add_n for PowerPC64/POWER7.
34751         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34752         __mpn_sub_n for PowerPC64/POWER7.
34754         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34755         __mpn_addmul_1 for PowerPC64.
34756         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34757         __mpn_submul_1 for PowerPC64.
34758         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34759         for PowerPC64.
34760         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34761         for PowerPC64.
34763 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34765         [BZ #15089]
34766         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34768 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34770         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34772         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34773         add multiarch folders.
34774         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34775         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34776         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34777         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34778         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34779         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34780         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34781         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34782         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34783         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34784         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34793         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34795         New file.
34796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34797         New file.
34798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34799         multiarch __ieee754_hypot for PowerPC32.
34800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34801         New file.
34802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34803         New file.
34804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34805         multiarch __ieee754_hypotf for PowerPC32.
34807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34808         long_double_symbol only if __logbl is defined.
34809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34810         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34812         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34814         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34816         path for implementation.
34817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34818         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34820         logb, and logbl multiarch implementations for PowerPC32.
34821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34822         file.
34823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34824         file.
34825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34826         multiarch logb for PowerPC32.
34827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34828         file.
34829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34830         file.
34831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34832         multiarch logbf for PowerPC32.
34833         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34835         file.
34836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34837         multiarch logbl implementation for PowerPC32.
34839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34840         and modff multiarch implementations.
34841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34842         New file.
34843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34844         New file.
34845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34846         multiarch modf for PowerPC32.
34847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34848         New file.
34849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34850         New file.
34851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34852         multiarch modff for PowerPC32.
34854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34855         and lrintf multiarch implementations.
34856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34857         New file.
34858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34859         New file.
34860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34861         multiarch lrint for PowerPC32.
34862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34863         file: multiarch lrintf for PowerPC32.
34865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34866         and lroundf multiarch implementations.
34867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34868         New file.
34869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34870         New file.
34871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34872         New file.
34873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34874         multiarch lround for PowerPC32.
34875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34876         file: multiarch lroundf for PowerPC32.
34878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34879         copysign and copysignf multiarch implementations.
34880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34881         New file.
34882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34883         New file.
34884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34885         file: multiarch copysign for PowerPC32.
34886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34887         file: multiarch copysignf for PowerPC32.
34889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34890         and truncf multiarch implementations.
34891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34892         New file.
34893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34894         file.
34895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34896         multiarch trunc for PowerPC32.
34897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34898         New file.
34899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34900         New file.
34901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34902         multiarch truncf for PowerPC32.
34904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34905         and roundf multiarch implementations.
34906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34907         New file.
34908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34909         file.
34910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34911         multiarch round for PowerPC32.
34912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34913         New file.
34914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34915         New file.
34916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34917         multiarch roundf for PowerPC32.
34919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34920         and floorf multiarch implementations.
34921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34922         New file.
34923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34924         file.
34925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34926         multiarch floor for PowerPC32.
34927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34928         New file.
34929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34930         New file.
34931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34932         multiarch floorf for PowerPC32.
34934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34935         and ceilf multiarch implementations.
34936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34937         New file.
34938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34939         file.
34940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34941         multiarch ceil for PowerPC32.
34942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34943         New file.
34944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34945         file.
34946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34947         multiarch ceilf for PowerPC32.
34949         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34950         is defined.
34951         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34952         FINITEF is defined.
34953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34954         and finitef multiarch implementations.
34955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34956         New file.
34957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34958         file.
34959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34960         multiarch finite for PowerPC32.
34961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34962         New file.
34963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34964         file: multiarch finitef for PowerPC32.
34966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34967         and isinff multiarch implementations.
34968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34969         file.
34970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34971         file.
34972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34973         multiarch isinf for PowerPC32.
34974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34975         New file.
34976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34977         multiarch isinff for PowerPC32.
34979         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34980         alias when __isnan is defined.
34981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34982         and isnanf multiarch implementations.
34983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34984         file.
34985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34986         file.
34987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34988         file.
34989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34990         file.
34991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34992         multiarch isnan for PowerPC32.
34993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34994         New file.
34995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34996         New file.
34997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34998         multiarch isnanf for PowerPC32.
35000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35001         and sqrtf multiarch implementations.
35002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35003         file.
35004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35005         file.
35006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35007         multiarch sqrt for PowerPC32.
35008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35009         file.
35010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35011         file.
35012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35013         multiarch sqrtf for PowerPC32.
35015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35016         and llroundf multiarch implementations.
35017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35018         New file.
35019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35020         New file.
35021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35022         New file.
35023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35024         file: multiarch llround for PowerPC32.
35025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35026         file: multiarch llroundf for PowerPC32.
35028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35029         multiarch PowerPC32 fpu implementations.
35030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35031         New file.
35032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35033         New file.
35034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35035         multiarch llrint for PowerPC32.
35036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35037         New file.
35038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35039         New file.
35040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35041         file.
35043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35046         file.
35047         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35048         file.
35049         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35050         file.
35051         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35052         multiarch wordcopy for PPC32.
35053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35054         wordcopy objects.
35055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35056         (__libc_ifunc_impl_list): Likewise.
35057         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35058         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35059         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35060         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35061         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35062         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35064         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35066         file.
35067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35068         file.
35069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35070         file.
35071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35072         multiarch wcscpy for PPC32.
35073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35074         multiarch objects.
35075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35076         (__libc_ifunc_impl_list): Likewise.
35077         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35078         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35079         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35080         sysdeps/powerpc/power6/wcscpy.c.
35082         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35084         file.
35085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35086         file.
35087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35088         file.
35089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35090         multiarch wcsrchr for PPC32.
35091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35092         multiarch objects.
35093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35094         (__libc_ifunc_impl_list): Likewise.
35095         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35096         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35097         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35098         sysdeps/powerpc/power6/wcsrchr.c.
35100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35101         file.
35102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35103         file.
35104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35106         multiarch wcschr for PPc32.
35107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35108         multiarch objects.
35109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35110         (__libc_ifunc_impl_list): Likewise.
35111         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35112         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35113         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35114         sysdeps/powerpc/power6/wcschr.c.
35116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35117         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35118         file.
35119         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35120         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35121         file: multiarch strchr for PPC32.
35122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35123         multiarch objects.
35124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35125         (__libc_ifunc_impl_list): Likewise.
35127         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35128         name.
35129         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35130         file.
35131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35132         file.
35133         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35134         multiarch strchrnul for PPC32.
35135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35136         multiarch objects.
35137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35138         (__libc_ifunc_impl_list): Likewise.
35140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35141         file.
35142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35143         multiarch strncasecmp for PPC32.
35144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35145         file.
35146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35147         multiarch strncasecmp_l for PPC32.
35148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35149         strncasecmp multiarch objects.
35150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35151         (__libc_ifunc_impl_list): Likewise.
35153         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35154         file.
35155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35156         multiarch strncasecmp for PPC32.
35157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35158         New file.
35159         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35160         multiarch strcasecmp_l for PPC32.
35161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35162         multiarch objects.
35163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35164         (__libc_ifunc_impl_list): Likewise.
35166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35167         file.
35168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35169         file.
35170         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35171         multiarch strncmp for PPC32.
35172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35173         multiarch objects.
35174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35175         (__libc_ifunc_impl_list): Likewise.
35177         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35178         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35179         file.
35180         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35181         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35183         multiarch objects.
35184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35185         (__libc_ifunc_impl_list): Likewise.
35187         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35188         file.
35189         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35190         file.
35191         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35193         multiarch objects.
35194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35195         (__libc_ifunc_impl_list): Likewise.
35197         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35198         file.
35199         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35200         file.
35201         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35202         multiarch rawmemchr for PPC32.
35203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35204         multiarch objects.
35205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35206         (__libc_ifunc_impl_list): Likewise.
35208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35209         file.
35210         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35211         file.
35212         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35213         file: memrchr multiarch for PPC32.
35214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35215         multiarch objects.
35216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35217         (__libc_ifunc_impl_list): Likewise.
35219         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35221         file.
35222         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35223         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35224         multiarch memchr for PPC32.
35225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35226         multiarch objects.
35227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35228         (__libc_ifunc_impl_list): Likewise.
35230         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35231         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35232         file.
35233         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35234         file.
35235         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35236         file: multiarch mempcpy for PPC32.
35237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35238         multiarch objects.
35239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35240         (__libc_ifunc_impl_list): Likewise.
35242         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35243         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35244         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35245         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35246         multiarch bzero for PPC32.
35247         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35248         file.
35249         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35250         file.
35251         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35252         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35253         file: multiarch memset for PPC32.
35254         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35256         memset multiarch objects.
35257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35258         (__libc_ifunc_impl_list): Likewise.
35260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35261         file.
35262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35264         memcmp for PPC32.
35265         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35267         multiarch objects.
35268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35269         (__libc_ifunc_impl_list): Likewise.
35271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35274         file.
35275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35276         file.
35277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35278         file.
35279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35280         multiarch memcpy for PPC32.
35281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35282         multiarch objects.
35283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35284         (__libc_ifunc_impl_list): Likewise.
35286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35287         support multiarch for POWER/PPC32.
35288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35289         Likewise.
35290         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35292         Implies file to make multiarch folder appers before the fpu and
35293         default folder for power4 configuration.
35295 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35297         * scripts/bench.pl: Append volatile keyword to type.
35299 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35301         * sysdeps/sh/sotruss-lib.c: New file.
35302         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35304 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35308 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35310         [BZ #6810]
35311         * math/w_tgamma.c: Include <errno.h>.
35312         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35313         * math/w_tgammaf.c: Include <errno.h>.
35314         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35315         * math/w_tgammal.c: Include <errno.h>.
35316         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35317         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35318         underflow.  Add more tgamma tests.
35319         * math/auto-libm-test-out: Regenerated.
35320         * sysdeps/i386/fpu/libm-test-ulps: Update.
35321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35323         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35324         sin, sinh, tan, tanh, tgamma, y0 and y1.
35325         * math/auto-libm-test-out: Regenerated.
35326         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35327         (TEST_COND_x86): Likewise.
35328         (M_E2l): Remove macro.
35329         (M_E3l): Likewise.
35330         (M_2_SQRT_PIl): Likewise.
35331         (M_SQRT_PIl): Likewise.
35332         (M_1_DIV_El): Likewise.
35333         (log_test_data): Use AUTO_TESTS_f_f.
35334         (log10_test_data): Likewise.
35335         (log1p_test_data): Likewise.
35336         (log2_test_data): Likewise.
35337         (sin_test_data): Likewise.
35338         (sin_tonearest_test_data): Likewise.
35339         (sin_towardzero_test_data): Likewise.
35340         (sin_downward_test_data): Likewise.
35341         (sin_upward_test_data): Likewise.
35342         (sinh_test_data): Likewise.
35343         (sinh_tonearest_test_data): Likewise.
35344         (sinh_towardzero_test_data): Likewise.
35345         (sinh_downward_test_data): Likewise.
35346         (sinh_upward_test_data): Likewise.
35347         (tan_test_data): Likewise.
35348         (tan_tonearest_test_data): Likewise.
35349         (tan_towardzero_test_data): Likewise.
35350         (tan_downward_test_data): Likewise.
35351         (tan_upward_test_data): Likewise.
35352         (tanh_test_data): Likewise.
35353         (tgamma_test_data): Likewise.
35354         (y0_test_data): Likewise.
35355         (y1_test_data): Likewise.
35356         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35357         (special_real_inputs): Add pi/4.
35358         * sysdeps/i386/fpu/libm-test-ulps: Update.
35359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35361 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35363         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35364         "longjmp_target" static probes.
35365         (__longjmp): Rename to __longjmp_symbol.
35366         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35367         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35368         on which longjmp to generate.
35369         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35370         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35371         probe.
35372         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35373         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35374         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35375         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35376         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35377         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35379         __longjmp_symbol based on which __longjmp to generate.
35380         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35381         probe.
35382         (setjmp): Rename to setjmp_symbol.
35383         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35384         (_setjmp): Rename to _setjmp_symbol.
35385         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35386         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35387         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35388         which setjmp to generate.
35389         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35390         "longjmp_target" static probes.
35392 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35394         * benchtests/README: Add note about output arguments.
35395         * benchtests/bench-sincos.c: Remove file.
35396         * benchtests/sincos-inputs: New file.
35397         * scripts/bench.pl: Identify output arguments and define
35398         static variables for them.
35400         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35402         [BZ #15941]
35403         * Makefile (INSTALL): Add install-plain.texi as the primary
35404         dependency.
35405         * manual/install-plain.texi: New file.
35406         * manual/install.texi: Include node directive only for
35407         non-plaintext output.
35409 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35411         * stdlib/longlong.h: Update from GCC.
35413         [BZ #6807]
35414         [BZ #15901]
35415         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35416         * math/w_j0f.c (y0f): Likewise.
35417         * math/w_j0l.c (__y0l): Likewise.
35418         * math/w_j1.c (y1): Likewise.
35419         * math/w_j1f.c (y1f): Likewise.
35420         * math/w_j1l.c (__y1l): Likewise
35421         * math/w_jn.c (yn): Likewise.
35422         * math/w_jnf.c (ynf): Likewise.
35423         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35424         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35425         value for Bessel function domain errors outside _SVID_ mode.
35426         Adjust sign of return value for yn (negative integer, 0).
35427         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35428         by zero in return for negative x and set sign appropriately for
35429         negative n.
35430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35432         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35433         expectations in error cases.
35434         (y1_test_data): Likewise.
35435         (yn_test_data): Likewise.
35436         * sysdeps/i386/fpu/libm-test-ulps: Update.
35437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35439 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35441         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35442         "64" to "64-v1".  Add "64-v2".
35443         (abi-64-options): Rename to ...
35444         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35445         (abi-64-condition): Rename to ...
35446         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35447         (abi-64-ld-soname): Rename to ...
35448         (abi-64-v1-ld-soname): ... this.
35449         (abi-64-v2-options): Define.
35450         (abi-64-v2-condition): Likewise.
35451         (abi-64-v2-ld-soname): Likewise.
35452         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35453         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35458 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35459             Alan Modra  <amodra@gmail.com>
35461         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35462         New versions for use with the ELFv2 ABI.
35463         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35464         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35465         declaration.
35466         (struct La_ppc64v2_retval): Likewise.
35467         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35468         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35469         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35470         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35471         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35472         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35473         Do not save or restore CR.
35474         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35475         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35476         return values for ELFv2 ABI.  Fix location of FPR return registers.
35477         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35478         updated values for _CALL_ELF == 2.
35479         (La_regs, La_retval, int_retval): Likewise.
35481 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35483         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35484         (FRAME_MIN_SIZE_PARM): Likewise.
35485         (FRAME_BACKCHAIN): Likewise.
35486         (FRAME_CR_SAVE): Likewise.
35487         (FRAME_LR_SAVE): Likewise.
35488         (FRAME_TOC_SAVE): Likewise.
35489         (FRAME_PARM_SAVE): Likewise.
35490         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35491         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35492         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35493         (call_mcount_parm_offset): New macro.
35494         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35495         (PROF): Use symbolic stack frame offsets.
35496         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35498         Redefine in terms of FRAME_MIN_SIZE.
35499         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35500         (_dl_profile_resolve): Likewise.  Update comment.
35501         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35502         symbols stack frame offsets.
35503         (__sigsetjmp): Likewise.
35504         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35505         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35506         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35507         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35510         (FRAME_BACKCHAIN): Remove.
35511         (FRAME_CR_SAVE): Likewise.
35512         (FRAME_LR_SAVE): Likewise.
35513         (FRAME_COMPILER_DW): Likewise.
35514         (FRAME_LINKER_DW): Likewise.
35515         (FRAME_TOC_SAVE): Likewise.
35516         (FRAME_PARM_SAVE): Likewise.
35517         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35518         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35519         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35521         (CHECK_SP): Use symbolic stack frame offsets.
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35523         zone" instead of caller's parameter save area for temp storage.
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35525         Likewise.  Also, use symbolic stack frame offsets.
35526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35527         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35528         our own stack frame instead of the caller's.
35529         (__socket): Use symbolic stack frame offsets.
35531 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35532             Alan Modra  <amodra@gmail.com>
35534         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35535         Define.
35536         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35537         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35538         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35539         New function.
35540         (elf_machine_fixup_plt): Call it.
35541         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35542         reloc arguments.
35543         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35545         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35546         r2 before calling target.
35548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35549             Alan Modra  <amodra@gmail.com>
35551         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35552         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35553         versions of macros to support ELFv2 ABI.
35554         (LOCALENTRY): New macro.
35555         (ENTRY, EALIGN): Use it.
35556         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35557         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35558         fall through into ENTRY entry point.
35559         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35560         Only define if _CALL_ELF != 2.
35562         (elf_machine_matches_host): Verify ABI version matches.
35563         (RTLD_START): Use LOCALENTRY.
35564         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35565         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35566         (PLT_ENTRY_WORDS): New macro.
35567         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35568         (elf_machine_runtime_setup): Support ELFv2 ABI.
35569         (elf_machine_fixup_plt): Likewise.
35570         (elf_machine_plt_conflict): Likewise.
35571         (resolve_ifunc): Likewise.
35572         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35574         Likewise.
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35576         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35578         (makecontext): Support ELFv2 ABI.
35579         * elf/elf.h (EF_PPC64_ABI): Define.
35581 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35583         * sysdeps/powerpc/powerpc64/sysdep.h
35584         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35585         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35586         (ENTRY) [ASSEMBLER]: ... but instead here ...
35587         (EALIGN) [ASSEMBLER]: ... and here.
35588         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35589         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35590         (ENTRY_2) [!ASSEMBLER]: Use it.
35591         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35592         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35593         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35594         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35595         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35597         Use PPC64_LOAD_FUNCPTR.
35599         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35601 2013-12-04  Alan Modra  <amodra@gmail.com>
35603         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35604         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35605         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35606         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35609         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35610         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35611         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35612         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35613         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35615 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35618         (__makecontext): Fix incorrect CFI when backtracing out of
35619         context created via makecontext.
35620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35621         (__setcontext): Fix incorrect CFI during switch to new context.
35622         (__novec_setcontext): Likewise.
35624 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35626         [BZ #4772]
35627         * time/strptime_l.c (__strptime_internal): Allow modifiers
35628         in strptime.
35629         * time/tst-strptime.c (day_tests): Add testcase.
35631 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35633         * scripts/bench.pl: Skip over blank lines.
35635 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35637         [BZ #926]
35638         * manual/time.texi (Calendar Time): Clarify what timezone functions
35639         use.
35641 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35645 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35647         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35648         implementation.
35649         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35650         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35651         * debug/memset_chk.c (__memset_chk): Likewise.
35652         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35653         * debug/strncpy_chk.c: Likewise.
35655 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35657         [BZ #15268]
35658         [BZ #15425]
35659         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35660         (__ieee754_exp): For possibly underflowing results, check size of
35661         result and force underflow exception if required.
35662         * math/auto-libm-test-in: Add more tests of exp.
35663         * math/auto-libm-test-out: Regenerated.
35664         * sysdeps/i386/fpu/libm-test-ulps: Update.
35665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35667         [BZ #16283]
35668         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35669         * math/w_exp2f.c (__exp2f): Likewise.
35670         * math/w_exp2l.c (__exp2l): Likewise.
35671         * math/auto-libm-test-in: Do not allow missing errno on exp2
35672         underflow.
35673         * math/auto-libm-test-out: Regenerated.
35675 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35677         [BZ #16274]
35678         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35679         handle filename validation.
35680         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35681         (do_open): Delete.
35683 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35685         [BZ #6786]
35686         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35687         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35688         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35689         <float.h>.
35690         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35691         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35692         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35693         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35694         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35695         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35696         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35697         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35698         Add more erfc tests.
35699         * math/auto-libm-test-out: Regenerated.
35700         * sysdeps/i386/fpu/libm-test-ulps: Update.
35701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35703         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35704         exp2, expm1, j0 and j1.
35705         * math/auto-libm-test-out: Regenerated.
35706         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35707         (erfc_test_data): Likewise.
35708         (exp_test_data): Likewise.
35709         (exp_tonearest_test_data): Likewise.
35710         (exp_towardzero_test_data): Likewise.
35711         (exp_downward_test_data): Likewise.
35712         (exp_upward_test_data): Likewise.
35713         (exp10_test_data): Likewise.
35714         (exp2_test_data): Likewise.
35715         (expm1_test_data): Likewise.
35716         (j0_test_data): Likewise.
35717         (j1_test_data): Likewise.
35718         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35719         (input_flag_type): Add flag_xfail_rounding.
35720         (input_flags): Add xfail-rounding.
35721         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35722         (output_for_one_input_case): Handle flag_xfail_rounding.
35723         * sysdeps/i386/fpu/libm-test-ulps: Update.
35724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35726 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35728         [BZ #16289]
35729         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35730         division by 0.
35732 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         [BZ #16195]
35735         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35736         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35737         (STAP_PROBE0): New macro.
35738         (STAP_PROBE1): Likewise.
35739         (STAP_PROBE2): Likewise.
35740         (STAP_PROBE3): Likewise.
35741         (STAP_PROBE4): Likewise.
35743 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35745         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35747 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35749         * benchtests/Makefile (bench): Add sqrt.
35750         (LDLIBS-bench-sqrt): New.
35751         * benchtests/sqrt-input: New.
35753 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35755         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35756         (GAIH_EAI): Likewise.
35757         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35758         (gaih_inet): Likewise.
35759         (getaddrinfo): Don't use GAIH_EAI.
35761         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35762         (struct gaih): Remove definition.
35764 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35766         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35767         Use HERRNOP directly.
35769 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35773 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35775         * math/gen-auto-libm-tests.c (test_functions): Add more
35776         single-argument functions.
35777         (special_fill_pi_2): New function.
35778         (special_fill_minus_pi_2): Likewise.
35779         (special_fill_pi_6): Likewise.
35780         (special_fill_minus_pi_6): Likewise.
35781         (special_fill_pi_3): Likewise.
35782         (special_fill_2pi_3): Likewise.
35783         (special_fill_e): Likewise.
35784         (special_fill_1_e): Likewise.
35785         (special_fill_e_minus_1): Likewise.
35786         (special_real_inputs): Add more special inputs.
35787         (output_for_one_input_case): Do not require ERANGE on underflow to
35788         zero if round-to-nearest result does not underflow to zero, unless
35789         exact results required.
35790         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35791         atan, atanh, cbrt, cos and cosh.
35792         * math/auto-libm-test-out: Regenerated.
35793         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35794         (acos_tonearest_test_data): Likewise.
35795         (acos_towardzero_test_data): Likewise.
35796         (acos_downward_test_data): Likewise.
35797         (acos_upward_test_data): Likewise.
35798         (acosh_test_data): Likewise.
35799         (asin_test_data): Likewise.
35800         (asin_tonearest_test_data): Likewise.
35801         (asin_towardzero_test_data): Likewise.
35802         (asin_upward_test_data): Likewise.
35803         (asinh_test_data): Likewise.
35804         (atan_test_data): Likewise.
35805         (atanh_test_data): Likewise.
35806         (cbrt_test_data): Likewise.
35807         (cos_test_data): Likewise.
35808         (cos_tonearest_test_data): Likewise.
35809         (cos_towardzero_test_data): Likewise.
35810         (cos_downward_test_data): Likewise.
35811         (cos_upward_test_data): Likewise.
35812         (cosh_test_data): Likewise.
35813         (cosh_tonearest_test_data): Likewise.
35814         (cosh_towardzero_test_data): Likewise.
35815         (cosh_downward_test_data): Likewise.
35816         (cosh_upward_test_data): Likewise.
35817         * sysdeps/i386/fpu/libm-test-ulps: Update.
35818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35820 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35822         [BZ #6787]
35823         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35824         * math/w_exp10f.c (__exp10f): Likewise.
35825         * math/w_exp10l.c (__exp10l): Likewise.
35826         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35827         errno settings in existing tests.
35829         [BZ #14032]
35830         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35831         precision control set to double precision.
35832         * sysdeps/i386/fpu/w_sqrt.c: New file.
35833         * math/auto-libm-test-in: Add more tests.
35834         * math/auto-libm-test-out: Update.
35836         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35837         (sqrt_test_tonearest): New function.
35838         (sqrt_towardzero_test_data): New variable.
35839         (sqrt_test_towardzero): New function.
35840         (sqrt_downward_test_data): New variable.
35841         (sqrt_test_downward): New function.
35842         (sqrt_upward_test_data): New variable.
35843         (sqrt_test_upward): New function.
35844         (main): Call the new functions.
35846         * math/gen-auto-libm-tests.c: New file.
35847         * math/auto-libm-test-in: Likewise.
35848         * math/auto-libm-test-out: New generated file.
35849         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35850         variables.
35851         (%beautify): Add generated representations of zero.
35852         (top level): Set $auto_input and call parse_auto_input.
35853         (beautify): Remove trailing "f" from hex float constants.
35854         (parse_args): Handle XFAIL_TEST.
35855         (convert_condition): New function.
35856         (or_value): Likewise.
35857         (or_cond_value): Likewise.
35858         (generate_testfile): Handle AUTO_TESTS_* lines.
35859         (parse_auto_input): New function.
35860         * math/libm-test.inc (XFAIL_TEST): New macro.
35861         (ERRNO_UNCHANGED): Update value.
35862         (ERRNO_EDOM): Likewise.
35863         (ERRNO_ERANGE): Likewise.
35864         (IGNORE_RESULT): Likewise.
35865         (TEST_COND_flt_32): New macro.
35866         (TEST_COND_dbl_64): Likewise.
35867         (TEST_COND_ldbl_96_intel): Likewise.
35868         (TEST_COND_ldbl_96_m68k): Likewise.
35869         (TEST_COND_ldbl_128): Likewise.
35870         (TEST_COND_ldbl_128ibm): Likewise.
35871         (TEST_COND_long32): Likewise.
35872         (TEST_COND_long64): Likewise.
35873         (TEST_COND_before_rounding): Likewise.
35874         (TEST_COND_after_rounding): Likewise.
35875         (enable_test): Handle XFAIL_TEST flag.
35876         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35877         with finite results.
35878         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35879         auto-libm-test-out.
35881 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35882             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35884         [BZ #16214]
35885         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35886         __tls_get_addr_internal instead of __tls_get_offset in order to
35887         avoid GOT pointer dependency.  Make rtld export
35888         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35889         __tls_get_addr since we are a __tls_get_offset platform.
35890         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35891         GOT pointer being set up before.
35892         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35894 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35896         * manual/math.texi (Errors in Math Functions): Document accuracy
35897         goals.
35899         [BZ #15004]
35900         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35901         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35902         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35903         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35904         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35905         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35906         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35907         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35908         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35909         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35910         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35911         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35912         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35913         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35914         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35915         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35917         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35918         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35919         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35920         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35921         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35922         Likewise.
35923         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35924         Likewise.
35925         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35926         Likewise.
35927         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35928         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35929         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35930         atomic-feupdateenv and flt-rounds.
35931         * sysdeps/powerpc/nofpu/Versions (libc): Add
35932         __atomic_feholdexcept, __atomic_feclearexcept,
35933         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35934         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35935         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35936         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35937         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35938         here.
35939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35940         Update.
35942         * manual/arith.texi (FP Exceptions): Document that exceptions may
35943         not be raised when matherr is used.
35944         (Math Error Reporting): Document overflow in directed rounding
35945         modes.  Document that errno may not be set when finite values are
35946         returned on overflow.  Document intent to set errno on underflow
35947         only for underflow to zero.
35949         [BZ #16271]
35950         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35951         round-to-nearest then adjust result for other rounding modes.
35952         * include/fenv.h (fegetround): Use libm_hidden_proto.
35953         * math/fegetround.c (fegetround): Use libm_hidden_def.
35954         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35955         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35956         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35957         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35958         Likewise.
35959         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35960         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35961         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35962         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35964 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35966         [BZ #16077]
35967         * nss/Versions (libnss_files): Add
35968         _nss_files_gethostbyname3_r.
35969         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35970         New function.
35971         (HOST_DB_LOOKUP): Remove macro.
35972         (_nss_files_gethostbyname_r): Implement function without the
35973         HOST_DB_LOOKUP macro.
35974         (_nss_files_gethostbyname2_r): Likewise.
35976 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35978         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35980 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35982         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35983         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35984         warning.
35986 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35988         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35989         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35990         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35991         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35992         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35993         __fe_nomask_env_priv and attribute_hidden.
35994         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35995         (libc_feupdateenv_test_ppc): Likewise.
35996         (libc_feresetround_ppc): Likewise.
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35998         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35999         compat_symbol macro.
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36001         (__fe_nomask_env): Likewise.
36002         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36004 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36006         * string/Makefile: Remove ifunc tests.
36007         * string/test-string.h: Define TEST_IFUNC.
36008         * string/test-bcopy-ifunc.c: Remove.
36009         * string/test-bzero-ifunc.c: Likewise.
36010         * string/test-memccpy-ifunc.c: Likewise.
36011         * string/test-memchr-ifunc.c: Likewise.
36012         * string/test-memcmp-ifunc.c: Likewise.
36013         * string/test-memcpy-ifunc.c: Likewise.
36014         * string/test-memmem-ifunc.c: Likewise.
36015         * string/test-memmove-ifunc.c: Likewise.
36016         * string/test-mempcpy-ifunc.c: Likewise.
36017         * string/test-memrchr-ifunc.c: Likewise.
36018         * string/test-memset-ifunc.c: Likewise.
36019         * string/test-rawmemchr-ifunc.c: Likewise.
36020         * string/test-stpcpy-ifunc.c: Likewise.
36021         * string/test-stpncpy-ifunc.c: Likewise.
36022         * string/test-strcasecmp-ifunc.c: Likewise.
36023         * string/test-strcasestr-ifunc.c: Likewise.
36024         * string/test-strcat-ifunc.c: Likewise.
36025         * string/test-strchr-ifunc.c: Likewise.
36026         * string/test-strchrnul-ifunc.c: Likewise.
36027         * string/test-strcmp-ifunc.c: Likewise.
36028         * string/test-strcpy-ifunc.c: Likewise.
36029         * string/test-strcspn-ifunc.c: Likewise.
36030         * string/test-strlen-ifunc.c: Likewise.
36031         * string/test-strncasecmp-ifunc.c: Likewise.
36032         * string/test-strncat-ifunc.c: Likewise.
36033         * string/test-strncmp-ifunc.c: Likewise.
36034         * string/test-strncpy-ifunc.c: Likewise.
36035         * string/test-strnlen-ifunc.c: Likewise.
36036         * string/test-strpbrk-ifunc.c: Likewise.
36037         * string/test-strrchr-ifunc.c: Likewise.
36038         * string/test-strspn-ifunc.c: Likewise.
36039         * string/test-strstr-ifunc.c: Likewise.
36041 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36043         * benchtests/Makefile: Remove ifunc tests.
36044         * benchtests/bench-string.h: Define TEST_IFUNC.
36045         * benchtests/bench-bcopy-ifunc.c: Remove.
36046         * benchtests/bench-bzero-ifunc.c: Likewise.
36047         * benchtests/bench-memccpy-ifunc.c: Likewise.
36048         * benchtests/bench-memchr-ifunc.c: Likewise.
36049         * benchtests/bench-memcmp-ifunc.c: Likewise.
36050         * benchtests/bench-memcpy-ifunc.c: Likewise.
36051         * benchtests/bench-memmem-ifunc.c: Likewise.
36052         * benchtests/bench-memmove-ifunc.c: Likewise.
36053         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36054         * benchtests/bench-memrchr-ifunc.c: Likewise.
36055         * benchtests/bench-memset-ifunc.c: Likewise.
36056         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36057         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36058         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36059         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36060         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36061         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36062         * benchtests/bench-strcat-ifunc.c: Likewise.
36063         * benchtests/bench-strchr-ifunc.c: Likewise.
36064         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36065         * benchtests/bench-strcmp-ifunc.c: Likewise.
36066         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36067         * benchtests/bench-strcpy-ifunc.c: Likewise.
36068         * benchtests/bench-strcspn-ifunc.c: Likewise.
36069         * benchtests/bench-strlen-ifunc.c: Likewise.
36070         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36071         * benchtests/bench-strncat-ifunc.c: Likewise.
36072         * benchtests/bench-strncmp-ifunc.c: Likewise.
36073         * benchtests/bench-strncpy-ifunc.c: Likewise.
36074         * benchtests/bench-strnlen-ifunc.c: Likewise.
36075         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36076         * benchtests/bench-strrchr-ifunc.c: Likewise.
36077         * benchtests/bench-strsep-ifunc.c: Likewise.
36078         * benchtests/bench-strspn-ifunc.c: Likewise.
36079         * benchtests/bench-strstr-ifunc.c: Likewise.
36081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36083         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36085 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36087         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36088         * rt/aio.h: Likewise.
36089         * sysdeps/gnu/bits/utmp.h: Likewise.
36090         * sysdeps/gnu/bits/utmpx.h: Likewise.
36091         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36092         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36093         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36094         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36095         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36096         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36097         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36098         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36099         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36100         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36101         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36102         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36103         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36105         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36106         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36107         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36108         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36109         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36110         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36111         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36112         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36113         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36114         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36115         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36117         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36118         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36119         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36120         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36121         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36122         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36123         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36124         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36125         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36126         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36127         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36128         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36129         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36130         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36131         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36132         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36134 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36136         [BZ #16245]
36137         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36138         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36140 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36142         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36143         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36144         Likewise.
36146 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36149         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36150         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36151         (__fesetround): Remove define.
36152         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36153         rounding and exceptions handling.
36154         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36155         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36156         (__fe_nomask_env): Likewise.
36157         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36158         __fegetround instead of fegetround.
36159         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36160         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36162 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36164         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36165         it's there.
36167         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36169 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36171         [BZ #11157]
36172         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36173         (encrypt_r): Likewise.
36174         * malloc/obstack.h (obstack_free): Likewise.
36175         * posix/unistd.h (encrypt): Likewise.
36177 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36179         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36180         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36181         DL_CALL_DT_FINI() that call the functions directly.
36182         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36183         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36184         * elf/dl-fini.c: Likewise.
36186 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36188         * malloc/hooks.c (memalign_check): Add alignment rounding.
36189         * malloc/malloc.c (_mid_memalign): New function.
36190         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36191         Implement by calling _mid_memalign.
36192         * manual/probes.texi (Memory Allocation Probes): Remove
36193         memory_valloc_retry and memory_pvalloc_retry.
36195 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36197         * locale/programs/locarchive.c (open_archive): Add const
36198         qualifier to ARCHIVEFNAME and copy default fname to
36199         DEFAULT_FNAME.
36201         [BZ #15601]
36202         * libio/tst-widetext.input: Rename Oriya to Odia.
36203         * locale/iso-639.def: Likewise.
36205         * manual/probes.texi (Mathematical Function Probes): Add
36206         documentation for sin, cos, asin and acos probes.
36207         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36208         (__sin32): Add slowasin probe.
36209         (__cos32): Add slowacos probe.
36210         (__mpsin): Add slowsin probe.
36211         (__mpcos): Add slowcos probe.
36213 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36215         [BZ #15483]
36216         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36217         thread-local __sim_exceptions_thread and global
36218         __sim_exceptions_global.
36219         (__sim_disabled_exceptions): Change to thread-local
36220         __sim_disabled_exceptions_thread and global
36221         __sim_disabled_exceptions_global.
36222         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36223         and global __sim_round_mode_global.
36224         (__simulate_exceptions): Use thread-local floating-point state and
36225         set global state from it as needed.
36226         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36227         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36228         __sim_round_mode_thread.
36229         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36230         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36231         and global __sim_exceptions_global.
36232         (__sim_disabled_exceptions): Change to thread-local
36233         __sim_disabled_exceptions_thread and global
36234         __sim_disabled_exceptions_global.
36235         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36236         and global __sim_round_mode_global.
36237         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36238         (SIM_SET_GLOBAL): Likewise.
36239         * sysdeps/powerpc/soft-fp/sfp-machine.h
36240         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36241         __sim_round_mode_thread.
36242         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36243         __sim_disabled_exceptions_thread.
36244         (__sim_exceptions): Change to __sim_exceptions_thread.
36245         (__sim_disabled_exceptions): Change to
36246         __sim_disabled_exceptions_thread.
36247         (__sim_round_mode): Change to __sim_round_mode_thread.
36248         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36249         thread-local floating-point state and set global state from it as
36250         needed.
36251         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36252         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36253         (__sim_disabled_exceptions): Remove extern declaration.
36254         (feenableexcept): Use thread-local floating-point state and set
36255         global state from it as needed.
36256         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36257         extern declaration.
36258         (__sim_disabled_exceptions): Likewise.
36259         (__sim_round_mode): Likewise.
36260         (__fegetenv): Use thread-local floating-point state.
36261         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36262         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36263         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36264         floating-point state and set global state from it as needed.
36265         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36266         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36267         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36268         Likewise.
36269         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36270         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36271         Likewise.
36272         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36273         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36274         Use __sim_round_mode_thread.
36275         * math/test-fenv-tls.c: New file.
36276         * math/Makefile (tests): Add test-fenv-tls.
36277         ($(objpfx)test-fenv-tls): Depend on
36278         $(common-objpfx)nptl/libpthread.so.
36280 2013-11-19  Andreas Schwab  <schwab@suse.de>
36282         * locale/programs/locale.c (show_info): Decode wordarray elements.
36283         * locale/categories.def (LC_MONETARY): Add element for
36284         _NL_MONETARY_CRNCYSTR.
36285         * locale/C-monetary.c (conversion_rate): New variable.
36286         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36287         element.
36289 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36291         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36292         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36294 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36296         * elf/Makefile (tst-auxv): New test.
36297         * elf/tst-auxv.c: New
36298         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36300 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36302         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36303         (hidden_proto): Caller changed.
36304         (hidden_tls_proto): New macro.
36305         (libc_hidden_tls_proto): Likewise.
36306         (rtld_hidden_tls_proto): Likewise.
36307         (libm_hidden_tls_proto): Likewise.
36308         (libresolv_hidden_tls_proto): Likewise.
36309         (librt_hidden_tls_proto): Likewise.
36310         (libdl_hidden_tls_proto): Likewise.
36311         (libnss_files_hidden_tls_proto): Likewise.
36312         (libnsl_hidden_tls_proto): Likewise.
36313         (libnss_nisplus_hidden_tls_proto): Likewise.
36314         (libutil_hidden_tls_proto): Likewise.
36316 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36318         [BZ #10253]
36319         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36320         (decompose_rpath): Defer expansion to fillin_rpath.
36321         (_dl_init_paths): Pass linkmap to fillin_rpath.
36323 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36325         * benchtests/Makefile: Add strsep.
36326         * benchtests/bench-strsep.c: New file: strsep benchtest.
36327         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36329 2013-11-18  Andreas Schwab  <schwab@suse.de>
36331         * locale/programs/locale.c (show_info) [case byte]: Check for
36332         '\377' instead of '\177'.
36333         * locale/C-monetary.c (not_available): Always use "\377".
36334         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36335         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36336         detect unavailable sign_posn locale elements.
36337         * locale/localeconv.c (__localeconv): For grouping and
36338         mon_grouping handle "\177" and "\377" like no grouping.
36339         (INT_ELEM): New macro.  Use it to set all numeric members.
36340         * locale/programs/ld-monetary.c (monetary_read)
36341         <tok_mon_grouping>: Normalize single -1 to the empty string.
36342         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36343         Likewise.
36345 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36347         [BZ #16055]
36348         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36349         when we match (nil).
36350         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36352 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36354         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36355         (NO_TEST_INLINE): Update value.
36356         (ERRNO_UNCHANGED): Likewise.
36357         (ERRNO_EDOM): Likewise.
36358         (ERRNO_ERANGE): Likewise.
36359         (IGNORE_RESULT): Likewise.
36360         (check_float_internal): Check signs of NaN results if
36361         TEST_NAN_SIGN used.
36362         (check_complex): Pass TEST_NAN_SIGN flag through to second
36363         check_float_internal call.
36364         (copysign_test_data): Add tests with quiet NaNs as second
36365         argument.  Use TEST_NAN_SIGN.
36366         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36367         TEST_NAN_SIGN.
36368         (signbit_test_data): Add tests of quiet NaN argument.
36369         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36371         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36372         $ignore_result.
36373         (parse_args): Handle function results specified as IGNORE.
36374         * math/libm-test.inc (IGNORE_RESULT): New macro.
36375         (check_float_internal): Do not check numerical result if flag
36376         IGNORE_RESULT set.
36377         (check_complex): Pass through IGNORE_RESULT to second
36378         check_float_internal call.
36379         (check_int): Do not check numerical result if flag IGNORE_RESULT
36380         set.
36381         (check_long): Likewise.
36382         (check_bool): Likewise.
36383         (check_longlong): Likewise.
36384         (lrint_test_data): Add tests of infinite and NaN arguments.
36385         (lrint_tonearest_test_data): Likewise.
36386         (lrint_towardzero_test_data): Likewise.
36387         (lrint_downward_test_data): Likewise.
36388         (lrint_upward_test_data): Likewise.
36389         (llrint_test_data): Likewise.
36390         (llrint_tonearest_test_data): Likewise.
36391         (llrint_towardzero_test_data): Likewise.
36392         (llrint_downward_test_data): Likewise.
36393         (llrint_upward_test_data): Likewise.
36394         (lround_test_data): Likewise.
36395         (llround_test_data): Likewise.
36397         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36398         (ERRNO_UNCHANGED): Update value.
36399         (ERRNO_EDOM): Likewise.
36400         (ERRNO_ERANGE): Likewise.
36401         (NO_TEST_INLINE_FLOAT): New macro.
36402         (NO_TEST_INLINE_DOUBLE): Likewise.
36403         (enable_test): New function.
36404         (RUN_TEST_f_f): Check enable_test before running test.
36405         (RUN_TEST_2_f): Likewise.
36406         (RUN_TEST_fff_f): Likewise.
36407         (RUN_TEST_c_f): Likewise.
36408         (RUN_TEST_f_f1): Likewise.
36409         (RUN_TEST_fF_f1): Likewise.
36410         (RUN_TEST_fI_f1): Likewise.
36411         (RUN_TEST_ffI_f1): Likewise.
36412         (RUN_TEST_c_c): Likewise.
36413         (RUN_TEST_cc_c): Likewise.
36414         (RUN_TEST_f_i): Likewise.
36415         (RUN_TEST_f_i_tg): Likewise.
36416         (RUN_TEST_ff_i_tg): Likewise.
36417         (RUN_TEST_f_b): Likewise.
36418         (RUN_TEST_f_b_tg): Likewise.
36419         (RUN_TEST_f_l): Likewise.
36420         (RUN_TEST_f_L): Likewise.
36421         (RUN_TEST_fFF_11): Likewise.
36422         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36423         conditionals.
36424         (cosh_test_data): Likewise.
36425         (exp_test_data): Likewise.
36426         (expm1_test_data): Likewise.
36427         (hypot_test_data): Likewise.
36428         (pow_test_data): Likewise.
36429         (sinh_test_data): Likewise.
36430         (tanh_test_data): Likewise.
36431         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36432         flags argument.
36434         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36435         tests with quiet NaN input and output.
36436         (acosh_test_data): Likewise.
36437         (asin_test_data): Likewise.
36438         (asinh_test_data): Likewise.
36439         (atan_test_data): Likewise.
36440         (atanh_test_data): Likewise.
36441         (atan2_test_data): Likewise.
36442         (cbrt_test_data): Likewise.
36443         (cos_test_data): Likewise.
36444         (cosh_test_data): Likewise.
36445         (erf_test_data): Likewise.
36446         (erfc_test_data): Likewise.
36447         (exp_test_data): Likewise.
36448         (exp10_test_data): Likewise.
36449         (exp2_test_data): Likewise.
36450         (expm1_test_data): Likewise.
36451         (hypot_test_data): Likewise.
36452         (j0_test_data): Likewise.
36453         (j1_test_data): Likewise.
36454         (jn_test_data): Likewise.
36455         (lgamma_test_data): Likewise.
36456         (log_test_data): Likewise.
36457         (log10_test_data): Likewise.
36458         (log1p_test_data): Likewise.
36459         (log2_test_data): Likewise.
36460         (pow_test_data): Likewise.
36461         (scalb_test_data): Likewise.
36462         (sin_test_data): Likewise.
36463         (sincos_test_data): Likewise.
36464         (sinh_test_data): Likewise.
36465         (tan_test_data): Likewise.
36466         (tanh_test_data): Likewise.
36467         (tgamma_test_data): Likewise.
36468         (y0_test_data): Likewise.
36469         (y1_test_data): Likewise.
36470         (yn_test_data): Likewise.
36472         [BZ #16167]
36473         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36474         argument being NaN and avoid computations with second argument in
36475         that case.
36476         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36477         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36478         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36480 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36482         * locale/iso-639.def: Add Chitwani Tharu (the).
36484 2013-11-14  Andreas Schwab  <schwab@suse.de>
36486         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36487         word instead of empty string.
36489 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36492         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36494         (__fe_nomask_env): Likewise.
36496 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36498         * benchtests/bench-timing.h: Include time.h.
36500 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36502         [BZ #15997]
36503         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36504         to 3.4.0 for x32.
36505         * sysdeps/unix/sysv/linux/configure: Regenerated.
36507 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36509         [BZ #16151]
36510         * stdlib/strtod_l.c (round_and_return): Do not consider
36511         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36512         exponent one less than half the least subnormal exponent.
36513         * stdlib/test-strtod-round-data: Add more tests.
36514         * stdlib/tst-strtod-round.c (tests): Regenerated.
36516 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36518         [BZ #14143]
36519         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36520         (__fe_mask_env): Likewise.
36521         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36522         libm_hidden_proto and add function prototype.
36523         (__fe_mask_env): Add function prototype.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36525         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36527         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36529         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36531 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36533         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36534         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36536 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36538         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36539         of htab_find_slot().
36541 2013-11-11  David S. Miller  <davem@davemloft.net>
36543         [BZ #16150]
36544         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36545         symbol in the non-vis3 case in static builds.
36546         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36547         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36548         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36549         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36551 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36553         [BZ #387]
36554         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36555         it is empty.
36557 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36559         * benchtests/Makefile: Add bench-strtod.
36560         * benchtests/bench-strtod.c: New file: strtod benchtest
36562 2013-11-11  Andreas Schwab  <schwab@suse.de>
36564         [BZ #16153]
36565         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36566         terminating NUL in key length.
36568 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36570         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36571         Add artificial ODP entry for vDSO symbol for PPC64.
36572         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36573         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36575 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36577         [BZ #15374]
36578         * nss/getent.c (services_keys): Recognize services starting with digit.
36580 2013-11-06  David S. Miller  <davem@davemloft.net>
36582         [BZ #15985]
36583         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36584         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36586 2013-11-06  Will Newton  <will.newton@linaro.org>
36588         * manual/memory.texi (Malloc Examples): Remove register
36589         keyword from examples.
36591 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36593         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36595 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #6981]
36598         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36599         depending on [__GCC_IEC_559 > 0].
36600         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36601         depending on [__GCC_IEC_559_COMPLEX > 0].
36603 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36605         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36606         to iso-639.def.
36608 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36610         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36612 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36614         [BZ #16112]
36615         * malloc/malloc (malloc_info): Do not handle first bin as
36616         special case.
36618 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36620         * locale/iso-639.def: Add Central Nahuatl (nhn).
36622 2013-11-01  Bruno Haible  <bruno@clisp.org>
36624         [BZ #7003]
36625         * manual/math.texi (BSD Random): Specify range upper bound as
36626         in POSIX.
36628 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36630         * locale/iso-639.def: Add Meadow Mari (mhr).
36632 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36634         [BZ #14752], [BZ #15763]
36635         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36636         Validate name.
36637         * rt/tst_shm.c: Add test for escaping directory.
36639 2013-10-31  Andreas Schwab  <schwab@suse.de>
36641         [BZ #15917]
36642         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36643         followed by 'x' as part of digit sequence.
36644         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36646 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36648         [BZ #16037]
36649         * configure.ac: allow GNU Make 4.0 and greater.
36650         * configure: Regenerated.
36652 2013-10-30  Will Newton  <will.newton@linaro.org>
36654         [BZ #16038]
36655         * malloc/hooks.c (memalign_check): Limit alignment to the
36656         maximum representable power of two.
36657         * malloc/malloc.c (__libc_memalign): Likewise.
36658         * malloc/tst-memalign.c (do_test): Add test for very
36659         large alignment values.
36660         * malloc/tst-posix_memalign.c (do_test): Likewise.
36662 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36664         [BZ #11087]
36665         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36666         (munmap_chunk): Likewise.
36667         (mremap_chunk): Likewise.
36669 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36671         [BZ #15799]
36672         * stdlib/div.c (div): Remove obsolete code.
36673         * stdlib/ldiv.c (ldiv): Likewise.
36674         * stdlib/lldiv.c (lldiv): Likewise.
36676 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36678         [BZ #16071]
36679         * nss/nss_files/files-XXX.c (get_contents_ret): New
36680         enumerator.
36681         (get_contents): New function.
36682         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36684 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36686         * configure.in: Moved to ...
36687         * configure.ac: ... here. Change reference to configure.in
36688         to configure.ac.
36689         * sysdeps/arm/preconfigure.ac: ... here.
36690         configure.in to configure.ac.
36691         * sysdeps/gnu/configure.in: Moved to ...
36692         * sysdeps/gnu/configure.ac: ... here.
36693         * sysdeps/i386/configure.in: Moved to ...
36694         * sysdeps/i386/configure.ac: ... here.
36695         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36696         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36697         * sysdeps/mach/configure.in: Moved to ...
36698         * sysdeps/mach/configure.ac: ... here.
36699         * sysdeps/mach/hurd/configure.in: Moved to ...
36700         * sysdeps/mach/hurd/configure.ac: ... here.
36701         * sysdeps/powerpc/configure.in: Moved to ...
36702         * sysdeps/powerpc/configure.ac: ... here.
36703         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36704         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36705         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36706         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36707         * sysdeps/s390/s390-32/configure.in: Moved to ...
36708         * sysdeps/s390/s390-32/configure.ac: ... here.
36709         * sysdeps/s390/s390-64/configure.in: Moved to ...
36710         * sysdeps/s390/s390-64/configure.ac: ... here.
36711         * sysdeps/sh/configure.in: Moved to ...
36712         * sysdeps/sh/configure.ac: ... here.
36713         * sysdeps/sparc/configure.in: Moved to ...
36714         * sysdeps/sparc/configure.ac: ... here.
36715         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36716         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36717         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36718         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36719         * sysdeps/x86_64/configure.in: Moved to ...
36720         * sysdeps/x86_64/configure.ac: ... here.
36721         * sysdeps/x86_64/preconfigure.in: Moved to ...
36722         * sysdeps/x86_64/preconfigure.ac: ... here.
36723         * aclocal.m4: Change reference to configure.in to configure.ac.
36724         * config.h.in: Likewise.
36725         * manual/install.texi: Likewise.
36726         * manual/maint.texi: Likewise.
36727         * Makefile: Likewise.
36728         * malloc/Makefile: Likewise.
36729         * nscd/Makefile: Likewise.
36730         * Makeconfig: Change reference to configure.in and
36731         preconfigure.in to configure.ac and preconfigure.ac
36732         respectively.
36733         * INSTALL: Regenerated.
36734         * configure: Likewise.
36735         * sysdeps/gnu/configure: Likewise.
36736         * sysdeps/i386/configure: Likewise.
36737         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36738         * sysdeps/mach/configure: Likewise.
36739         * sysdeps/mach/hurd/configure: Likewise.
36740         * sysdeps/powerpc/configure: Likewise.
36741         * sysdeps/powerpc/powerpc32/configure: Likewise.
36742         * sysdeps/powerpc/powerpc64/configure: Likewise.
36743         * sysdeps/s390/s390-32/configure: Likewise.
36744         * sysdeps/s390/s390-64/configure: Likewise.
36745         * sysdeps/sh/configure: Likewise.
36746         * sysdeps/sparc/configure: Likewise.
36747         * sysdeps/unix/sysv/linux/configure: Likewise.
36748         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36749         * sysdeps/x86_64/configure: Likewise.
36750         * sysdeps/x86_64/preconfigure: Likewise.
36752 2013-10-29  Andreas Schwab  <schwab@suse.de>
36754         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36756 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36758         * benchtests/pow-inputs: Add new inputs.
36760         * benchtests/exp-inputs: Add new inputs.
36762         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36763         conditional check for return value.
36764         (__cos32): Likewise.
36766 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36768         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36769         to provide a boost for large inputs with word alignment.
36770         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36771         implementation based on optimized PPC64 strcpy.
36772         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36773         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36774         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36775         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36777 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36779         [BZ #2801]
36780         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36782 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36784         [BZ #14876]
36785         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36786         * time/tst-strptime.c (day_tests): Add testcase.
36788 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36790         [BZ #14029]
36791         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36793 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36795         [BZ #16074]
36796         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36797         MAP_FAILED on error.
36799 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36801         [BZ #16072]
36802         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36803         heap for large requests.
36805 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36807         [BZ #9954]
36808         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36809         result if the result has no associated interface.
36810         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36811         interface for all 127.X.Y.Z addresses.
36813 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36815         * locale/iso-639.def: Add Ligurian (lij)
36817 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36819         [BZ #15825]
36820         * sunrpc/rpc_main.c: Document rpcgen -5.
36822 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36824         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36826 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36828         [BZ #10278]
36829         * posix/glob.c: Match only directories when trailing slash is present.
36830         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36831         (main): Add testcase.
36833 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36835         [BZ #15670]
36836         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36838 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36840         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36841         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36842         AUTH_DES and cindex for FIPS 140-2.
36843         (DES Encryption): Add cindex FIPS 46-3.
36845         * locale/locarchive.h (struct locarhandle): Add fname.
36846         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36847         if an optional argument was specified to --list-archive,
36848         otherwise NULL.
36849         * locale/programs/locarchive.c (show_archive_content): Take new
36850         argument fname and pass it via ah.fname to open_archive.
36851         * locale/programs/localedef.h: Update decl.
36852         (open_archive): If AH->fname is non-null, open that file
36853         rather than the default file name, and don't ignore ENOENT.
36854         (create_archive): Set AH.fname to NULL.
36855         (delete_locales_from_archive): Likewise.
36856         (add_locales_to_archive): Likewise.
36857         * locale/programs/locfile.c (write_all_categories): Likewise.
36859 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36860             Aldy Hernandez  <aldyh@redhat.com>
36862         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36863         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36864         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36865         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36866         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36867         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36868         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36870         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36872         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36873         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36874         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36875         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36876         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36877         Likewise.
36878         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36879         Likewise.
36880         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36881         Likewise.
36882         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36883         Likewise.
36884         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36885         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36886         Likewise.
36887         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36888         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36889         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36890         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36891         Likewise.
36892         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36893         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36894         * sysdeps/powerpc/preconfigure: Likewise.
36895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36896         Likewise.
36897         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36898         Replace contents of file by #include of <fenv_libc.h>.
36899         * sysdeps/powerpc/soft-fp/sfp-machine.h
36900         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36901         and <sys/prctl.h>.
36902         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36910         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36915         Allow copysignl PLT reference to be missing.
36917 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36918             Joseph Myers  <joseph@codesourcery.com
36920         [BZ #15948]
36921         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36922         single character.
36923         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36925 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36927         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36928         * elf/tst-tls1.c: Likewise.
36929         * elf/tst-tls10.h: Likewise.
36930         * elf/tst-tls14.c: Likewise.
36931         * elf/tst-tls2.c: Likewise.
36932         * elf/tst-tls3.c: Likewise.
36933         * elf/tst-tls4.c: Likewise.
36934         * elf/tst-tls5.c: Likewise.
36935         * elf/tst-tls6.c: Likewise.
36936         * elf/tst-tls7.c: Likewise.
36937         * elf/tst-tls8.c: Likewise.
36938         * elf/tst-tls9.c: Likewise.
36939         * elf/tst-tlsmod1.c: Likewise.
36940         * elf/tst-tlsmod13.c: Likewise.
36941         * elf/tst-tlsmod13a.c: Likewise.
36942         * elf/tst-tlsmod14a.c: Likewise.
36943         * elf/tst-tlsmod16a.c: Likewise.
36944         * elf/tst-tlsmod16b.c: Likewise.
36945         * elf/tst-tlsmod2.c: Likewise.
36946         * elf/tst-tlsmod3.c: Likewise.
36947         * elf/tst-tlsmod4.c: Likewise.
36948         * elf/tst-tlsmod5.c: Likewise.
36949         * elf/tst-tlsmod6.c: Likewise.
36951 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36953         [BZ #12486]
36954         * malloc/malloc.c: remove checks for statistics.
36956 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36958         [BZ #15277]
36959         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36960         * inet/tst-network.c: Add testcase.
36962 2013-10-17  Andreas Schwab  <schwab@suse.de>
36964         [BZ #15218]
36965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36966         to determine canonical name.
36968 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36970         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36971         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36973         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36975         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36976         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36977         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36978         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36979         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36980         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36981         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36982         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36983         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36984         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36985         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36988         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36989         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36991         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36993         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36994         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36995         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36996         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36997         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36998         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36999         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37000         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37002         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37003         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37004         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37005         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37006         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37007         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37008         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37009         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37010         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37011         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37012         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37013         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37014         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37015         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37016         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37017         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37018         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37019         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37020         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37021         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37022         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37023         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37024         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37025         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37026         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37027         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37029 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37031         [BZ #16041]
37032         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37033         make result into a quiet NaN.
37035 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37037         * soft-fp/adddf3.c: Fix horizontal whitespace.
37038         * soft-fp/addsf3.c: Likewise.
37039         * soft-fp/addtf3.c: Likewise.
37040         * soft-fp/divdf3.c: Likewise.
37041         * soft-fp/divsf3.c: Likewise.
37042         * soft-fp/divtf3.c: Likewise.
37043         * soft-fp/double.h: Likewise.
37044         * soft-fp/eqdf2.c: Likewise.
37045         * soft-fp/eqsf2.c: Likewise.
37046         * soft-fp/eqtf2.c: Likewise.
37047         * soft-fp/extenddftf2.c: Likewise.
37048         * soft-fp/extended.h: Likewise.
37049         * soft-fp/extendsfdf2.c: Likewise.
37050         * soft-fp/extendsftf2.c: Likewise.
37051         * soft-fp/extendxftf2.c: Likewise.
37052         * soft-fp/fixdfdi.c: Likewise.
37053         * soft-fp/fixdfsi.c: Likewise.
37054         * soft-fp/fixdfti.c: Likewise.
37055         * soft-fp/fixsfdi.c: Likewise.
37056         * soft-fp/fixsfsi.c: Likewise.
37057         * soft-fp/fixsfti.c: Likewise.
37058         * soft-fp/fixtfdi.c: Likewise.
37059         * soft-fp/fixtfsi.c: Likewise.
37060         * soft-fp/fixtfti.c: Likewise.
37061         * soft-fp/fixunsdfdi.c: Likewise.
37062         * soft-fp/fixunsdfsi.c: Likewise.
37063         * soft-fp/fixunsdfti.c: Likewise.
37064         * soft-fp/fixunssfdi.c: Likewise.
37065         * soft-fp/fixunssfsi.c: Likewise.
37066         * soft-fp/fixunssfti.c: Likewise.
37067         * soft-fp/fixunstfdi.c: Likewise.
37068         * soft-fp/fixunstfsi.c: Likewise.
37069         * soft-fp/fixunstfti.c: Likewise.
37070         * soft-fp/floatdidf.c: Likewise.
37071         * soft-fp/floatdisf.c: Likewise.
37072         * soft-fp/floatditf.c: Likewise.
37073         * soft-fp/floatsidf.c: Likewise.
37074         * soft-fp/floatsisf.c: Likewise.
37075         * soft-fp/floatsitf.c: Likewise.
37076         * soft-fp/floattidf.c: Likewise.
37077         * soft-fp/floattisf.c: Likewise.
37078         * soft-fp/floattitf.c: Likewise.
37079         * soft-fp/floatundidf.c: Likewise.
37080         * soft-fp/floatundisf.c: Likewise.
37081         * soft-fp/floatunditf.c: Likewise.
37082         * soft-fp/floatunsidf.c: Likewise.
37083         * soft-fp/floatunsisf.c: Likewise.
37084         * soft-fp/floatunsitf.c: Likewise.
37085         * soft-fp/floatuntidf.c: Likewise.
37086         * soft-fp/floatuntisf.c: Likewise.
37087         * soft-fp/floatuntitf.c: Likewise.
37088         * soft-fp/fmadf4.c: Likewise.
37089         * soft-fp/fmasf4.c: Likewise.
37090         * soft-fp/fmatf4.c: Likewise.
37091         * soft-fp/gedf2.c: Likewise.
37092         * soft-fp/gesf2.c: Likewise.
37093         * soft-fp/getf2.c: Likewise.
37094         * soft-fp/ledf2.c: Likewise.
37095         * soft-fp/lesf2.c: Likewise.
37096         * soft-fp/letf2.c: Likewise.
37097         * soft-fp/muldf3.c: Likewise.
37098         * soft-fp/mulsf3.c: Likewise.
37099         * soft-fp/multf3.c: Likewise.
37100         * soft-fp/negdf2.c: Likewise.
37101         * soft-fp/negsf2.c: Likewise.
37102         * soft-fp/negtf2.c: Likewise.
37103         * soft-fp/op-1.h: Likewise.
37104         * soft-fp/op-2.h: Likewise.
37105         * soft-fp/op-4.h: Likewise.
37106         * soft-fp/op-8.h: Likewise.
37107         * soft-fp/op-common.h: Likewise.
37108         * soft-fp/quad.h: Likewise.
37109         * soft-fp/single.h: Likewise.
37110         * soft-fp/soft-fp.h: Likewise.
37111         * soft-fp/sqrtdf2.c: Likewise.
37112         * soft-fp/sqrtsf2.c: Likewise.
37113         * soft-fp/sqrttf2.c: Likewise.
37114         * soft-fp/subdf3.c: Likewise.
37115         * soft-fp/subsf3.c: Likewise.
37116         * soft-fp/subtf3.c: Likewise.
37117         * soft-fp/truncdfsf2.c: Likewise.
37118         * soft-fp/trunctfdf2.c: Likewise.
37119         * soft-fp/trunctfsf2.c: Likewise.
37120         * soft-fp/trunctfxf2.c: Likewise.
37121         * soft-fp/unorddf2.c: Likewise.
37122         * soft-fp/unordsf2.c: Likewise.
37123         * soft-fp/unordtf2.c: Likewise.
37125 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37127         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37128         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37130 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37132         * elf/dl-libc.c: Clear initfini list after freeing.
37134 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37136         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37137         * soft-fp/addsf3.c: Likewise.
37138         * soft-fp/addtf3.c: Likewise.
37139         * soft-fp/divdf3.c: Likewise.
37140         * soft-fp/divsf3.c: Likewise.
37141         * soft-fp/divtf3.c: Likewise.
37142         * soft-fp/double.h: Likewise.
37143         * soft-fp/eqdf2.c: Likewise.
37144         * soft-fp/eqsf2.c: Likewise.
37145         * soft-fp/eqtf2.c: Likewise.
37146         * soft-fp/extenddftf2.c: Likewise.
37147         * soft-fp/extended.h: Likewise.
37148         * soft-fp/extendsfdf2.c: Likewise.
37149         * soft-fp/extendsftf2.c: Likewise.
37150         * soft-fp/extendxftf2.c: Likewise.
37151         * soft-fp/fixdfdi.c: Likewise.
37152         * soft-fp/fixdfsi.c: Likewise.
37153         * soft-fp/fixdfti.c: Likewise.
37154         * soft-fp/fixsfdi.c: Likewise.
37155         * soft-fp/fixsfsi.c: Likewise.
37156         * soft-fp/fixsfti.c: Likewise.
37157         * soft-fp/fixtfdi.c: Likewise.
37158         * soft-fp/fixtfsi.c: Likewise.
37159         * soft-fp/fixtfti.c: Likewise.
37160         * soft-fp/fixunsdfdi.c: Likewise.
37161         * soft-fp/fixunsdfsi.c: Likewise.
37162         * soft-fp/fixunsdfti.c: Likewise.
37163         * soft-fp/fixunssfdi.c: Likewise.
37164         * soft-fp/fixunssfsi.c: Likewise.
37165         * soft-fp/fixunssfti.c: Likewise.
37166         * soft-fp/fixunstfdi.c: Likewise.
37167         * soft-fp/fixunstfsi.c: Likewise.
37168         * soft-fp/fixunstfti.c: Likewise.
37169         * soft-fp/floatdidf.c: Likewise.
37170         * soft-fp/floatdisf.c: Likewise.
37171         * soft-fp/floatditf.c: Likewise.
37172         * soft-fp/floatsidf.c: Likewise.
37173         * soft-fp/floatsisf.c: Likewise.
37174         * soft-fp/floatsitf.c: Likewise.
37175         * soft-fp/floattidf.c: Likewise.
37176         * soft-fp/floattisf.c: Likewise.
37177         * soft-fp/floattitf.c: Likewise.
37178         * soft-fp/floatundidf.c: Likewise.
37179         * soft-fp/floatundisf.c: Likewise.
37180         * soft-fp/floatunsidf.c: Likewise.
37181         * soft-fp/floatunsisf.c: Likewise.
37182         * soft-fp/floatuntidf.c: Likewise.
37183         * soft-fp/floatuntisf.c: Likewise.
37184         * soft-fp/floatuntitf.c: Likewise.
37185         * soft-fp/fmadf4.c: Likewise.
37186         * soft-fp/fmasf4.c: Likewise.
37187         * soft-fp/fmatf4.c: Likewise.
37188         * soft-fp/gedf2.c: Likewise.
37189         * soft-fp/gesf2.c: Likewise.
37190         * soft-fp/getf2.c: Likewise.
37191         * soft-fp/ledf2.c: Likewise.
37192         * soft-fp/lesf2.c: Likewise.
37193         * soft-fp/letf2.c: Likewise.
37194         * soft-fp/muldf3.c: Likewise.
37195         * soft-fp/mulsf3.c: Likewise.
37196         * soft-fp/multf3.c: Likewise.
37197         * soft-fp/negdf2.c: Likewise.
37198         * soft-fp/negsf2.c: Likewise.
37199         * soft-fp/negtf2.c: Likewise.
37200         * soft-fp/op-1.h: Likewise.
37201         * soft-fp/op-2.h: Likewise.
37202         * soft-fp/op-4.h: Likewise.
37203         * soft-fp/op-8.h: Likewise.
37204         * soft-fp/op-common.h: Likewise.
37205         * soft-fp/quad.h: Likewise.
37206         * soft-fp/single.h: Likewise.
37207         * soft-fp/soft-fp.h: Likewise.
37208         * soft-fp/sqrtdf2.c: Likewise.
37209         * soft-fp/sqrtsf2.c: Likewise.
37210         * soft-fp/sqrttf2.c: Likewise.
37211         * soft-fp/subdf3.c: Likewise.
37212         * soft-fp/subsf3.c: Likewise.
37213         * soft-fp/subtf3.c: Likewise.
37214         * soft-fp/truncdfsf2.c: Likewise.
37215         * soft-fp/trunctfdf2.c: Likewise.
37216         * soft-fp/trunctfsf2.c: Likewise.
37217         * soft-fp/trunctfxf2.c: Likewise.
37218         * soft-fp/unorddf2.c: Likewise.
37219         * soft-fp/unordsf2.c: Likewise.
37220         * soft-fp/unordtf2.c: Likewise.
37222 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37224         [BZ #15672]
37225         * misc/error.c (error_tail): Fix possible buffer overflow.
37227 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37229         [BZ #13028]
37230         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37231         address.
37233 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37235         [BZ #832]
37236         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37237         testing pipefail option.
37239 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37241         * soft-fp/double.h: Indent preprocessor directives inside #if.
37242         * soft-fp/extended.h: Likewise.
37243         * soft-fp/op-2.h: Likewise.
37244         * soft-fp/op-4.h: Likewise.
37245         * soft-fp/op-common.h: Likewise.
37246         * soft-fp/quad.h: Likewise.
37247         * soft-fp/single.h: Likewise.
37248         * soft-fp/soft-fp.h: Likewise.
37250 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37252         * iconv/iconv_prog.c: Fix typos.
37253         * stdio-common/psiginfo-data.h: Likewise.
37255 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37257         [BZ #15764]
37258         * locale/setlocale.c: Fix typo.
37260 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37262         [BZ #16036]
37263         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37264         signaling NaN arguments.
37265         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37266         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37268         [BZ #14910]
37269         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37270         unordered operands.
37271         * soft-fp/gesf2.c (__gesf2): Likewise.
37272         * soft-fp/getf2.c (__getf2): Likewise.
37273         * soft-fp/ledf2.c (__ledf2): Likewise.
37274         * soft-fp/lesf2.c (__lesf2): Likewise.
37275         * soft-fp/letf2.c (__letf2): Likewise.
37277         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37278         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37279         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37280         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37281         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37282         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37283         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37284         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37285         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37286         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37287         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37288         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37289         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37290         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37291         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37292         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37293         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37294         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37295         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37296         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37297         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37298         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37299         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37300         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37301         * soft-fp/floattidf.c (__floattidf): Likewise.
37302         * soft-fp/floattisf.c (__floattisf): Likewise.
37303         * soft-fp/floattitf.c (__floattitf): Likewise.
37304         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37305         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37306         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37307         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37308         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37309         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37310         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37311         * soft-fp/gesf2.c (__gesf2): Likewise.
37312         * soft-fp/getf2.c (__getf2): Likewise.
37313         * soft-fp/ledf2.c (__ledf2): Likewise.
37314         * soft-fp/lesf2.c (__lesf2): Likewise.
37315         * soft-fp/letf2.c (__letf2): Likewise.
37317         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37318         Undefine and redefine.
37319         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37320         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37321         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37322         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37323         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37324         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37325         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37326         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37327         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37328         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37329         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37330         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37331         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37332         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37333         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37335         [BZ #16032]
37336         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37337         without decrementing exponent if mantissa >= that for the
37338         denominator, not >.
37339         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37340         denominator, not >.  Decrement exponent in < case instead of
37341         incrementing in >= case.
37342         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37343         without decrementing exponent if mantissa >= that for the
37344         denominator, not >.
37346         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37347         computing saturated result for unsigned overflow.
37349 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37350             Jeff Law  <law@redhat.com>
37352         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37353         (atan2Mp): Add systemtap probe marker.
37354         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37355         (__ieee754_log): Add systemtap probe marker.
37356         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37357         (atanMp): Add systemtap probe marker.
37358         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37359         (tanMp): Add systemtap probe marker.
37360         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37361         (__slowexp): Add systemtap probe marker.
37362         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37363         (__slowpow): Add systemtap probe marker.
37364         * manual/probes.texi: Document probes.
37366 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37368         [BZ #15362]
37369         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37370         written.
37371         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37372         written.
37373         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37374         written to buffer but not flushed.
37375         * libio/iofwrite_u.c:  Likewise.
37376         * libio/iopadn.c:  Return bytes returned even if EOF was
37377         encountered.
37378         * libio/iowpadn.c:  Likewise.
37379         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37380         if _IO_padn does not write the whole buffer.
37381         [!COMPILE_WPRINTF] (PAD): Likewise.
37383 2013-10-10  David S. Miller  <davem@davemloft.net>
37385         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37386         directory block.
37388 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37390         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37391         instead of FSF address.
37392         * soft-fp/fixdfti.c: Likewise.
37393         * soft-fp/fixsfti.c: Likewise.
37394         * soft-fp/fixtfti.c: Likewise.
37395         * soft-fp/fixunsdfti.c: Likewise.
37396         * soft-fp/fixunssfti.c: Likewise.
37397         * soft-fp/fixunstfti.c: Likewise.
37398         * soft-fp/floattidf.c: Likewise.
37399         * soft-fp/floattisf.c: Likewise.
37400         * soft-fp/floattitf.c: Likewise.
37401         * soft-fp/floatuntidf.c: Likewise.
37402         * soft-fp/floatuntisf.c: Likewise.
37403         * soft-fp/floatuntitf.c: Likewise.
37404         * soft-fp/trunctfxf2.c: Likewise.
37406         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37407         * soft-fp/fixdfti.c: Likewise.
37408         * soft-fp/fixsfti.c: Likewise.
37409         * soft-fp/fixtfti.c: Likewise.
37410         * soft-fp/fixunsdfti.c: Likewise.
37411         * soft-fp/fixunssfti.c: Likewise.
37412         * soft-fp/fixunstfti.c: Likewise.
37413         * soft-fp/floattidf.c: Likewise.
37414         * soft-fp/floattisf.c: Likewise.
37415         * soft-fp/floattitf.c: Likewise.
37416         * soft-fp/floatuntidf.c: Likewise.
37417         * soft-fp/floatuntisf.c: Likewise.
37418         * soft-fp/floatuntitf.c: Likewise.
37419         * soft-fp/trunctfxf2.c: Likewise.
37421 2013-10-10  David S. Miller  <davem@davemloft.net>
37423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37425 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37427         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37428         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37429         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37430         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37431         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37432         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37433         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37436         for NaNs before doing comparisons on argument.
37437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37438         Likewise.
37440 2013-10-10  Will Newton  <will.newton@linaro.org>
37442         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37443         passed to _int_memalign does not overflow.
37445 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37447         * scripts/bench.pl: Add include-sources directive.
37448         * benchtests/README: Update documentation.
37450 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37452         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37453         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37454         instead of FP_INIT_ROUNDMODE.
37455         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37456         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37458         [BZ #16034]
37459         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37460         copy class of input value.
37461         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37462         not handle exceptions.
37463         * soft-fp/negsf2.c (__negsf2): Likewise.
37464         * soft-fp/negtf2.c (__negtf2): Likewise.
37465         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37467 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37469         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37470         semicolon.  From Linux kernel.
37472 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37474         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37476 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37478         [BZ #156]
37479         * manual/socket.texi: Added statement about buffer
37480         for gethostbyname2_r.
37482 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37484         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37485         Use .p2align directive instead, throughout.
37486         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37487         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37488         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37490         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37491         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37492         * sysdeps/x86_64/strchr.S: Likewise.
37493         * sysdeps/x86_64/strrchr.S: Likewise.
37495 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37497         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37499         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37501         * sysdeps/generic/math_private.h (__mpsin1): Remove
37502         declaration.
37503         (__mpcos1): Likewise.
37504         (__mpsin): New argument __range_reduce.
37505         (__mpcos): Likewise.
37506         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37507         (slow): Use __mpsin and __mpcos.
37508         (slow1): Likewise.
37509         (slow2): Likewise.
37510         (sloww): Likewise.
37511         (sloww1): Likewise.
37512         (sloww2): Likewise.
37513         (bsloww): Likewise.
37514         (bsloww1): Likewise.
37515         (bsloww2): Likewise.
37516         (cslow2): Likewise.
37517         (csloww): Likewise.
37518         (csloww1): Likewise.
37519         (csloww2): Likewise.
37520         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37521         range_reduce.  Merge in __mpsin1.
37522         (__mpcos): Likewise.
37523         (__mpsin1): Remove.
37524         (__mpcos1): Likewise.
37526 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37528         * locale/loadlocale.c (_nl_intern_locale_data): Use
37529         LOCFILE_ALIGNED_P.
37530         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37531         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37532         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37533         obstack data is appropriately aligned.
37534         (obstack_int32_grow_fast): Likewise.
37535         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37536         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37537         (add_locale_uint32_array): Likewise.
37539 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37541         * benchtests/Makefile: Remove ARGLIST and RET variables.
37542         ($(objpfx)bench-%.c): Pass only function name to the script.
37543         * benchtests/README: Update documentation.
37544         * benchtests/acos-inputs: Add new directives.
37545         * benchtests/acosh-inputs: Likewise.
37546         * benchtests/asin-inputs: Likewise.
37547         * benchtests/asinh-inputs: Likewise.
37548         * benchtests/atan-inputs: Likewise.
37549         * benchtests/atanh-inputs: Likewise.
37550         * benchtests/cos-inputs: Likewise.
37551         * benchtests/cosh-inputs: Likewise.
37552         * benchtests/exp-inputs: Likewise.
37553         * benchtests/log-inputs: Likewise.
37554         * benchtests/pow-inputs: Likewise.
37555         * benchtests/rint-inputs: Likewise.
37556         * benchtests/sin-inputs: Likewise.
37557         * benchtests/sinh-inputs: Likewise.
37558         * benchtests/tan-inputs: Likewise.
37559         * benchtests/tanh-inputs: Likewise.
37560         * scripts/bench.pl: Add support for new directives.
37562 2013-10-07  Alan Modra  <amodra@gmail.com>
37564         * README: Fix careless merge.
37566 2013-10-05  Alan Modra  <amodra@gmail.com>
37568         * NEWS: Mention powerpc64le support and bugs fixed.
37569         * README: Both big-endian and little-endian powerpc64 supported.
37571 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37573         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37574         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37575         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37576         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37578 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37580         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37581         match prototype.
37583 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37585         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37586         Move -mhard-float appending from
37587         ports/sysdeps/powerpc/powerpc32/Makefile.
37588         [$(with-fp) = yes] (ASFLAGS): Likewise.
37589         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37590         * sysdeps/powerpc/nofpu: Move directory from
37591         ports/sysdeps/powerpc/nofpu.
37592         * sysdeps/powerpc/soft-fp: Move directory from
37593         ports/sysdeps/powerpc/soft-fp.
37594         * sysdeps/powerpc/powerpc32/405: Move directory from
37595         ports/sysdeps/powerpc/powerpc32/405.
37596         * sysdeps/powerpc/powerpc32/440: Move directory from
37597         ports/sysdeps/powerpc/powerpc32/440.
37598         * sysdeps/powerpc/powerpc32/464: Move directory from
37599         ports/sysdeps/powerpc/powerpc32/464.
37600         * sysdeps/powerpc/powerpc32/476: Move directory from
37601         ports/sysdeps/powerpc/powerpc32/476.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37603         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37607         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37609         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37611         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37612         * README: Update for powerpc-*-linux-gnu software floating point
37613         support in libc.
37615         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37616         case to powerpc/powerpc32*.
37617         * sysdeps/unix/sysv/linux/configure: Regenerated.
37619         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37620         (_FPU_MASK_OM): Define as 0x04.
37621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37623         0x00c10080.
37624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37625         0x0000003c.
37626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37629         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37630         getcontext_e500.
37631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37632         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37633         setcontext_e500.
37634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37635         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37636         and setcontext_e500.
37638 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37640         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37642 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37644         * manual/threads.texi (Default Thread Attributes): Fix typo.
37646 2013-10-04  Will Newton  <will.newton@linaro.org>
37648         * malloc/Makefile: Add tst-memalign.
37649         * malloc/tst-memalign.c: New file.
37651         * malloc/tst-posix_memalign.c: Add comments.
37652         (do_test): Add comments and call free on all potentially
37653         allocated pointers. Add space after cast.
37655         * malloc/tst-pvalloc.c: Add comments.
37656         (do_test): Add comments and call free on all potentially
37657         allocated pointers. Remove duplicate check for NULL pointer.
37658         Add space after cast.
37660         * malloc/tst-valloc.c: Add comments.
37661         (do_test): Add comments and call free on all potentially
37662         allocated pointers. Remove duplicate check for NULL pointer.
37663         Add space after cast.
37665 2013-10-04  Alan Modra  <amodra@gmail.com>
37667         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37668         Use stdint types in rather than __attribute__((mode())).
37669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37671 2013-10-04  Alan Modra  <amodra@gmail.com>
37673         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37674         Correct handling of unaligned relocs for little-endian.
37675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37677 2013-10-04  Alan Modra  <amodra@gmail.com>
37679         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37680         * configure: Regenerate.
37681         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37682         * shlib-versions: Likewise.
37684 2013-10-04  Alan Modra  <amodra@gmail.com>
37686         * string/tester.c (test_memrchr): Increment reported test cycle.
37688 2013-10-04  Alan Modra  <amodra@gmail.com>
37690         * string/test-memcpy.c (do_one_test): When reporting errors, print
37691         string address and don't overrun end of string.
37693 2013-10-04  Alan Modra  <amodra@gmail.com>
37695         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37696         insrdi.  Make better use of reg selection to speed exit slightly.
37697         Schedule entry path a little better.  Remove useless "are we done"
37698         checks on entry to main loop.  Handle wrapping around zero address.
37699         Correct main loop count.  Handle single left-over word from main
37700         loop inline rather than by using loop_small.  Remove extra word
37701         case in loop_small caused by wrong loop count.  Add little-endian
37702         support.
37703         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37704         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37705         cache hint.
37706         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37707         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37708         support.  Avoid rlwimi.
37709         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37711 2013-10-04  Alan Modra  <amodra@gmail.com>
37713         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37714         insrdi.  Formatting.
37715         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37716         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37717         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37718         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37719         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37720         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37722 2013-10-04  Alan Modra  <amodra@gmail.com>
37724         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37725         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37726         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37727         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37728         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37729         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37730         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37731         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37732         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37733         use of regs.  Use power7 mtocrf.  Tidy function tails.
37735 2013-10-04  Alan Modra  <amodra@gmail.com>
37737         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37738         Formatting.  Consistently use rXXX register defines or rN defines.
37739         Use early exit labels that avoid restoring unused non-volatile regs.
37740         Make cr field use more consistent with rWORDn compares.  Rename
37741         regs used as shift registers for unaligned loop, using rN defines
37742         for short lifetime/multiple use regs.
37743         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37745         addi 1,1,64 to pop stack frame.  Simplify return value code.
37746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37748 2013-10-04  Alan Modra  <amodra@gmail.com>
37750         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37751         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37752         rather than rlwimi.
37753         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37754         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37755         little-endian support.  Correct typos.
37756         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37757         rather than rlwimi.
37758         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37759         in loop and entry code to keep "and." results.
37760         (strchr): Add little-endian support.  Comment.  Move cntlzd
37761         earlier in tail.
37762         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37764 2013-10-04  Alan Modra  <amodra@gmail.com>
37766         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37767         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37768         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37769         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37771 2013-10-04  Alan Modra  <amodra@gmail.com>
37773         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37774         (rTMP): Define as r11.
37775         (strcmp): Add little-endian support.  Optimise tail.
37776         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37777         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37778         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37779         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37780         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37781         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37782         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37784 2013-10-04  Alan Modra  <amodra@gmail.com>
37786         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37787         little-endian support.  Remove unnecessary "are we done" tests.
37788         Handle "s" wrapping around zero and extremely large "size".
37789         Correct main loop count.  Handle single left-over word from main
37790         loop inline rather than by using small_loop.  Correct comments.
37791         Delete "zero" tail, use "end_max" instead.
37792         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37794 2013-10-04  Alan Modra  <amodra@gmail.com>
37796         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37797         support.  Don't branch over align.
37798         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37799         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37800         support.  Rearrange tmp reg use to suit.  Comment.
37801         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37803 2013-10-04  Alan Modra  <amodra@gmail.com>
37805         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37807 2013-10-04  Alan Modra  <amodra@gmail.com>
37809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37810         conditional form of branch and link when obtaining pc.
37811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37813 2013-10-04  Alan Modra  <amodra@gmail.com>
37815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37816         HIWORD/LOWORD.
37817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37820 2013-10-04  Alan Modra  <amodra@gmail.com>
37822         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37823         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37824         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37825         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37826         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37827         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37828         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37829         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37830         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37831         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37833 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37834             Alistair Popple <alistair@ozlabs.au.ibm.com>
37835             Alan Modra <amodra@gmail.com>
37837         [BZ #15723]
37838         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37839         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37840         _dl_hwcap access for little-endian.
37841         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37842         destroy vmx regs when saving unaligned.
37843         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37844         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37845         destroy vmx regs when saving unaligned.
37847 2013-10-04  Alan Modra  <amodra@gmail.com>
37849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37850         Don't use a union to pack hi/low value.
37852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37854         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37855         for little-endian.
37856         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37857         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37858         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37859         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37860         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37862 2013-10-04  Alan Modra  <amodra@gmail.com>
37864         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37865         constants to usual value for .cst8 section, and remove redundant
37866         high address load.
37867         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37868         constant for 0x1p52.  Load little-endian words of double from
37869         correct stack offsets.
37871 2013-10-04  Alan Modra  <amodra@gmail.com>
37873         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37874         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37875         words of double from correct stack offsets.
37876         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37877         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37878         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37879         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37880         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37881         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37882         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37883         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37884         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37886         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37888         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37889         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37890         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37891         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37892         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37894 2013-10-04  Alan Modra  <amodra@gmail.com>
37896         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37897         64-bit int/double union.
37898         (_FPU_SETCW): Likewise.
37899         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37900         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37902 2013-10-04  Alan Modra  <amodra@gmail.com>
37904         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37905         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37907 2013-10-04  Alan Modra  <amodra@gmail.com>
37909         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37910         use vector int constants.
37911         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37915         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37916         array with long long.
37917         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37918         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37919         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37920         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37921         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37922         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37923         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37924         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37925         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37926         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37927         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37928         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37929         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37931 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37933         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37934         (__signbit): Likewise.  Correct for little-endian.
37935         (__signbitl): Call __signbit.
37936         (lrint): Correct for little-endian.
37937         (lrintf): Call lrint.
37939 2013-10-04  Alan Modra  <amodra@gmail.com>
37941         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37942         union 32-bit int array member with 64-bit int array.
37943         (t515, tm256): Double rather than long double.
37944         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37946 2013-10-04  Alan Modra  <amodra@gmail.com>
37948         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37949         Delete.
37950         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37952         version of math_ldbl.h.
37954 2013-10-04  Alan Modra  <amodra@gmail.com>
37956         [BZ #15734], [BZ #15735]
37957         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37958         all uses of ieee875 long double macros and unions.  Simplify test
37959         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37960         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37961         normalize after ldbl_extract_mantissa, and don't add hidden bit
37962         already handled.  Don't treat low word of ieee854 mantissa like
37963         low word of IBM long double and mask off bit when testing for
37964         zero.
37965         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37966         all uses of ieee875 long double macros and unions.  Simplify tests
37967         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37968         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37969         two1022, instead use their values.  Recognise that tests for large
37970         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37971         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37972         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37973         test for 0.0L and nan.  Correct negation.
37974         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37975         ieee875 long double macros and unions.  Correct output for large
37976         magnitude x.  Correct absolute value calculation.
37977         (__erfcl): Likewise.
37978         * math/libm-test.inc: Add tests for errors discovered in IBM long
37979         double versions of fmodl, remainderl, erfl and erfcl.
37981 2013-10-04  Alan Modra  <amodra@gmail.com>
37983         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37984         all uses of ieee854 long double macros and unions.  Simplify tests
37985         for long doubles that are fully specified by the high double.
37986         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37987         Likewise.
37988         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37989         Remove dead code too.
37990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37991         (__ieee754_ynl): Likewise.
37992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37993         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37994         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37995         Remove dead code too.
37996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37997         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37998         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37999         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38000         Simplify.
38001         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38002         Simplify.
38003         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38004         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38006         Comment on variable precision.
38007         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38008         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38009         Likewise.
38010         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38011         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38012         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38013         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38014         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38016 2013-10-04  Alan Modra  <amodra@gmail.com>
38018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38020         all uses of ieee854 long double macros and unions.
38021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38025         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38026         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38027         Likewise.
38028         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38029         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38030         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38031         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38033         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38034         Simplify sign and nan test too.
38035         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38036         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38037         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38038         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38039         Likewise.
38040         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38041         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38042         Likewise.
38043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38044         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38045         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38046         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38047         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38050 2013-10-04  Alan Modra  <amodra@gmail.com>
38052         * stdio-common/printf_size.c (__printf_size): Don't use
38053         union ieee854_long_double in fpnum union.
38054         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38055         signbit macro to retrieve sign from long double.
38056         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38057         retrieve sign from long double.
38058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38059         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38060         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38061         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38062         * math/test-misc.c (main): Don't use union ieee854_long_double.
38064 2013-10-04  Alan Modra  <amodra@gmail.com>
38066         [BZ #15680]
38067         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38068         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38069         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38070         calculation.  Remove unnecessary test for denormal exponent.
38071         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38072         Correct handling of denormals.  Avoid undefined shift behaviour.
38073         Correct normalisation of low mantissa when low double is denormal.
38074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38075         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38076         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38077         Correct normalisation of low mantissa.  Test for overflow of high
38078         mantissa and normalise.
38079         (ldbl_nearbyint): Use more readable constant for two52.
38080         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38081         (__mpn_construct_long_double): Fix test for overflow of high
38082         mantissa and correct normalisation.  Avoid undefined shift.
38084 2013-10-04  Alan Modra  <amodra@gmail.com>
38086         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38087         (union ibm_extended_long_double): Define as an array of ieee754_double.
38088         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38089         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38090         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38091         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38093         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38095         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38096         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38097         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38098         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38100 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38102         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38103         page size instead of calling getpagesize.
38105         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38106         (LOCFILE_ALIGN_MASK): Likewise.
38107         (LOCFILE_ALIGN_UP): Likewise.
38108         (LOCFILE_ALIGNED_P): Likewise.
38109         * locale/programs/ld-collate.c (collate_output): Use the new
38110         macros instead of __alignof__ (int32_t).
38111         * locale/weight.h (findidx): Likewise.
38113 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38115         [BZ #431]
38116         * manual/string.texi: Fix strncat and wcsncat.
38118 2013-10-03  Brooks Moses  <bmoses@google.com>
38120         [BZ #15915]
38121         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38122         * Makerules: ...here, and adjust associated comments.
38124 2013-10-02  Will Newton  <will.newton@linaro.org>
38126         * malloc/Makefile: Add tst-pvalloc.
38127         * malloc/tst-pvalloc.c: New file.
38129 2013-10-02  Will Newton  <will.newton@linaro.org>
38131         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38132         improve test coverage.
38134 2013-10-02  Will Newton  <will.newton@linaro.org>
38136         * malloc/Makefile: Add tst-posix_memalign.
38137         * malloc/tst-posix_memalign.c: New file.
38139 2013-10-01  Eric Blake  <eblake@redhat.com>
38141         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38142         Use __THROWNL rather than __THROW on static functions.
38144 2013-09-30  Petr Machata  <pmachata@redhat.com>
38146         * elf/elf.h (R_AARCH64_ABS16): New macro.
38147         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38148         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38149         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38150         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38151         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38152         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38153         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38154         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38155         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38156         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38157         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38158         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38159         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38160         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38161         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38162         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38163         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38164         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38165         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38166         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38167         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38168         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38169         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38170         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38171         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38172         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38173         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38174         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38175         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38176         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38177         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38178         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38179         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38180         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38181         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38182         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38183         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38184         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38185         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38186         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38187         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38188         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38189         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38190         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38191         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38192         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38193         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38194         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38195         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38196         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38197         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38198         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38199         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38200         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38201         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38202         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38203         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38204         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38205         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38206         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38207         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38208         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38209         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38210         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38211         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38212         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38213         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38214         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38215         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38216         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38217         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38218         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38219         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38220         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38221         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38222         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38223         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38224         (R_AARCH64_TLSDESC_LDR): Likewise.
38225         (R_AARCH64_TLSDESC_ADD): Likewise.
38226         (R_AARCH64_TLSDESC_CALL): Likewise.
38228 2013-09-30  Andreas Schwab  <schwab@suse.de>
38230         [BZ #15048]
38231         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38232         the nss database lookup.
38233         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38236 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38238         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38240 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38243         ${Bash-specific parameter/pattern/string} parameter expansion.
38244         * sysdeps/unix/make-syscalls.sh: Likewise.
38246 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38248         * sysdeps/sh/stackguard-macros.h: New file.
38250 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38254         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38255         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38256         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38257         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38259 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38261         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38262         Fix thread ID register.
38264 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38266         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38267         [POSIX || UNIX98]: Require rather than permitting all symbols from
38268         <time.h>.
38269         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38270         element of struct sched_param.
38271         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38272         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38273         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38274         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38275         constant.
38277 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38279         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38280         argument calculation.
38282 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38284         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38285         Expect macro.
38286         [POSIX] (pthread_attr_t): Do not require type.
38287         [POSIX] (pthread_cond_t): Likewise.
38288         [POSIX] (pthread_condattr_t): Likewise.
38289         [POSIX] (pthread_key_t): Likewise.
38290         [POSIX] (pthread_mutex_t): Likewise.
38291         [POSIX] (pthread_mutexattr_t): Likewise.
38292         [POSIX] (pthread_once_t): Likewise.
38293         [POSIX] (pthread_t): Likewise.
38294         [POSIX-based standards] (pthread_atfork): Expect function.
38296 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38297             Richard Sandiford  <richard@codesourcery.com>
38299         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38300         (swap_endianness_p): New extern variable.
38301         (set_big_endian): New inline function.
38302         (maybe_swap_uint32): Likewise.
38303         (maybe_swap_uint32_array): Likewise.
38304         (maybe_swap_uint32_obstack): Likewise.
38305         * locale/programs/locfile.c: Include <stdbool.h>.
38306         (swap_endianness_p): New variable.
38307         (add_locale_uint32): Call maybe_swap_uint32.
38308         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38309         (write_locale_data): Call maybe_swap_uint32_array.
38310         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38311         maybe_swap_uint32.
38312         (obstack_int32_grow_fast): Likewise.
38313         (output_weightwc): Call maybe_swap_uint32_obstack.
38314         (collate_output): Likewise.
38315         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38316         (OPT_LITTLE_ENDIAN): Likewise.
38317         (options): Add --little-endian and --big-endian options.
38318         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38319         * locale/programs/locarchive.c: Include "locfile.h".
38320         (GET): New macro.
38321         (SET): Likewise.
38322         (INC): Likewise.
38323         (create_archive): Use the new macros to access fields of
38324         structures directly mapped from or written to locale archives.
38325         (oldlocrecentcmp): Likewise.
38326         (enlarge_archive): Likewise.
38327         (insert_name): Likewise.
38328         (add_alias): Likewise.
38329         (add_locale): Likewise.
38330         (delete_locales_from_archive): Likewise.
38331         (show_archive_content): Likewise.
38332         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38333         locale data.
38335 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38337         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38338         http://www.gnu.org/doc/freemanuals.texi.
38339         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38341 2013-09-24  Will Newton  <will.newton@linaro.org>
38343         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38344         macro.
38346 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38348         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38349         unsigned char.
38351 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38353         * manual/threads.texi (POSIX Threads): Fix a typo.
38355 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38357         [BZ #14547]
38358         * string/tst-strcoll-overflow.c: New test case.
38359         * string/Makefile (xtests): Add tst-strcoll-overflow.
38360         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38361         cache if string sizes may cause integer overflow.
38363         [BZ #14547]
38364         * string/strcoll_l.c (coll_seq): New members rule, idx,
38365         save_idx and back_us.
38366         (get_next_seq_nocache): New function.
38367         (do_compare_nocache): New function.
38368         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38369         when malloc fails.
38371 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38373         [BZ #15754]
38374         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38375         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38376         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38378         [BZ #15754]
38379         * elf/Makefile (tests): Add tst-ptrguard1.
38380         (tests-static): Add tst-ptrguard1-static.
38381         (tst-ptrguard1-ARGS): Define.
38382         (tst-ptrguard1-static-ARGS): Define.
38383         * elf/tst-ptrguard1.c: New file.
38384         * elf/tst-ptrguard1-static.c: New file.
38385         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38386         * sysdeps/i386/stackguard-macros.h: Likewise.
38387         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38388         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38389         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38390         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38391         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38392         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38394 2013-09-23  Hector Marco  <hecmargi@upv.es>
38395             Ismael Ripoll  <iripoll@disca.upv.es>
38396             Carlos O'Donell  <carlos@redhat.com>
38398         [BZ #15754]
38399         * sysdeps/generic/stackguard-macros.h: Define
38400         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38401         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38402         Define __pointer_chk_guard_local.
38403         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38404         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38406 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38408         [BZ #15859]
38409         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38411 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38413         * include/string.h (__ffs): Declare as hidden.
38414         * string/ffs.c (__ffs): Define as hidden.
38415         * sysdeps/i386/ffs.c (__ffs): Likewise.
38416         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38417         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38418         * sysdeps/s390/ffs.c (__ffs): Likewise.
38419         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38421 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38423         * NEWS: Mention malloc probes.
38425         * malloc/arena.c (new_heap): New memory_heap_new probe.
38426         (grow_heap): New memory_heap_more probe.
38427         (shrink_heap): New memory_heap_less probe.
38428         (heap_trim): New memory_heap_free probe.
38429         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38430         (systrim): New memory_sbrk_less probe.
38431         * manual/probes.texi: Document them.
38433         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38434         * manual/probes.texi: Document it.
38436         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38437         (__libc_realloc): Add memory_realloc_retry probe.
38438         (__libc_memalign): Add memory_memalign_retry probe.
38439         (__libc_valloc): Add memory_valloc_retry probe.
38440         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38441         (__libc_calloc): Add memory_calloc_retry probe.
38442         * manual/probes.texi: Document them.
38444         * malloc/arena.c (get_free_list): Add probe
38445         memory_arena_reuse_free_list.
38446         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38447         and memory_arena_reuse.
38448         (arena_get2) [!PER_THREAD]: Likewise.
38449         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38450         memory_arena_reuse_realloc.
38451         * manual/probes.texi: Document them.
38453         * malloc/malloc.c (__libc_free): Add
38454         memory_mallopt_free_dyn_thresholds probe.
38455         (__libc_mallopt): Add multiple memory_mallopt probes.
38456         * manual/probes.texi: Document them.
38458         * malloc/malloc.c: Include stap-probe.h.
38459         (__libc_mallopt): Add memory_mallopt probe.
38460         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38461         * manual/probes.texi: New.
38462         * manual/Makefile (chapters): Add probes.
38463         * manual/threads.texi: Set next node.
38465 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38467         [BZ #15963, #13985]
38468         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38469         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38470         Add `Chinese' to `nan' entry name.
38472 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38474         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38475         (POLYNOMIAL): Likewise.
38476         (TAYLOR_SINCOS): Likewise.
38477         (TAYLOR_SLOW): Likewise.
38478         (__sin): Use TAYLOR_SINCOS.
38479         (__cos): Likewise.
38480         (slow): Use TAYLOR_SLOW.
38481         (sloww): Likewise.
38482         (bsloww): Likewise.
38483         (csloww): Likewise.
38485 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38487         * stdlib/strtod_l.c: Fix buffer overrun.
38489 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38491         * benchtests/Makefile (bench): Add sincos.
38492         * benchtests/bench-sincos.c: New file.
38494         * math/libm-test.inc (cos_test_data): New test inputs.
38495         (sin_test_data): Likewise.
38497         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38498         macro.
38499         (__sin): Use it.
38500         (__cos): Likewise.
38501         (slow1): Likewise.
38502         (slow2): Likewise.
38503         (sloww1): Likewise.
38504         (sloww2): Likewise.
38505         (bsloww1): Likewise.
38506         (bsloww2): Likewise.
38507         (cslow2): Likewise.
38508         (csloww1): Likewise.
38509         (csloww2): Likewise.
38511         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38512         function.
38513         (__sin): Use it.
38514         (__cos): Likewise.
38516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38517         gotos.
38518         (__cos): Likewise.
38520 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38522         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38523         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38524         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38525         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38526         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38527         * elf/cache.c (print_entry): Handle the new cache flags.
38529 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38530             Aldy Hernandez  <aldyh@redhat.com>
38532         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38533         Change condition to [_SOFT_FLOAT].
38534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38546         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38549         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38550         declaration.
38552 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38554         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38555         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38556         (__longjmp): Use LOAD_GP to load saved GPRs.
38557         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38558         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38559         (__sigsetjmp): Use SAVE_GP to save GPRs.
38561         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38562         Do not append -msoft-float.
38563         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38565 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38567         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38569 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38571         [BZ #15966]
38572         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38573         (_FPU_GETCW): Use initial "__" on variable and field names but not
38574         on macro parameter name.
38575         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38576         parentheses around reference to macro parameter.
38578 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38580         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38581         prototype.
38582         (ctype_startup): Use uint32_t in cast and sizeof for
38583         ctype->charnames.
38585 2013-09-11  Jia Liu  <proljc@gmail.com>
38587         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38588         __daddr_t_defined.
38589         [__FreeBSD__]: Likewise.
38591 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38594         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38595         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38596         (strchr): Remove __strchr_sse42 ifunc selection.
38597         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38598         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38600 2013-09-11  Will Newton  <will.newton@linaro.org>
38602         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38603         parameter to RES. Remove hardcoded 1000 value.
38604         * benchtests/bench-skeleton.c (main): Pass RES parameter
38605         to TIMING_INIT and multiply result by 1000.
38607 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38611 2013-09-11  Andreas Schwab  <schwab@suse.de>
38613         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38614         if not defined.
38615         (O_TMPFILE) [__USE_GNU]: Define.
38616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38617         Define.
38619 2013-09-11  Will Newton  <will.newton@linaro.org>
38621         [BZ #15857]
38622         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38623         does not overflow.
38625 2013-09-11  Will Newton  <will.newton@linaro.org>
38627         [BZ #15856]
38628         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38629         does not overflow.
38631 2013-09-11  Will Newton  <will.newton@linaro.org>
38633         [BZ #15855]
38634         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38635         does not overflow.
38637 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38639         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38640         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38641         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38642         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38643         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38645 2013-09-10  Allan McRae  <allan@archlinux.org>
38647         [BZ #15748]
38648         * manual/arith.texi (Parsing of Floats): Clarify
38649         cross-reference.
38651         [BZ #15849]
38652         * manual/install.texi (Running make install): Mention
38653         --enable-pt-chown.
38654         * INSTALL: Regenerated.
38656 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38658         * csu/init-first.c (_init): Remove the !SHARED condition around
38659         FPU control word initialization.
38660         * elf/dl-support.c (_dl_fpu_control): New variable.
38661         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38662         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38663         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38664         * math/test-fpucw-static.c: New file.
38665         * math/test-fpucw-ieee.c: New file.
38666         * math/test-fpucw-ieee-static.c: New file.
38667         * math/Makefile (tests): Add `test-fpucw-ieee' and
38668         `$(tests-static)'.
38669         (tests-static): New variable.
38670         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38671         dependency to...
38672         [($(build-shared),yes)]
38673         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38674         ... this.
38675         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38676         New dependency.
38678 2013-09-09  Allan McRae  <allan@archlinux.org>
38680         [BZ #15939]
38681         * manual/string.texi (Collation Functions): Fix typo in
38682         strcoll example.
38683         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38685         [BZ #15893]
38686         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38688         [BZ #15892]
38689         * libio/memstream.c (open_memstream): Fix memory leak.
38690         * libio/wmemstream.c (open_wmemstream): Likewise.
38692         [BZ #15895]
38693         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38695 2013-09-09  Will Newton  <will.newton@linaro.org>
38697         * malloc/Makefile: Add tst-realloc to tests.
38698         * malloc/tst-realloc.c: New file.
38700 2013-09-09  Allan McRae  <allan@archlinux.org>
38702         [BZ #15844]
38703         * COPYING: Update from GNU website to fix FSF address.
38704         * COPYING.LIB: Likewise.
38706 2013-09-06  David S. Miller  <davem@davemloft.net>
38708         * po/zh_TW.po: Update Chinese (traditional) translation from
38709         translation project.
38711 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38712             Joseph Myers  <joseph@codesourcery.com>
38714         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38715         "localeinfo.h".
38716         (obstack_chunk_alloc): New macro.
38717         (obstack_chunk_free): Likewise.
38718         (record_offset): New function.
38719         (init_locale_data): Likewise.
38720         (align_locale_data): Likewise.
38721         (add_locale_empty): Likewise.
38722         (add_locale_raw_data): Likewise.
38723         (add_locale_raw_obstack): Likewise.
38724         (add_locale_string): Likewise.
38725         (add_locale_wstring): Likewise.
38726         (add_locale_uint32): Likewise.
38727         (add_locale_uint32_array): Likewise.
38728         (add_locale_char): Likewise.
38729         (start_locale_structure): Likewise.
38730         (end_locale_structure): Likewise.
38731         (start_locale_prelude): Likewise.
38732         (end_locale_prelude): Likewise.
38733         (write_locale_data): Take locale_file structure rather than an
38734         iovec.
38735         * locale/programs/locfile.h: Include "obstack.h".
38736         (struct locale_file): Change to store locale file contents instead
38737         of header.
38738         (init_locale_data): New prototype.
38739         (align_locale_data): Likewise.
38740         (add_locale_empty): Likewise.
38741         (add_locale_raw_data): Likewise.
38742         (add_locale_raw_obstack): Likewise.
38743         (add_locale_string): Likewise.
38744         (add_locale_wstring): Likewise.
38745         (add_locale_uint32): Likewise.
38746         (add_locale_uint32_array): Likewise.
38747         (add_locale_char): Likewise.
38748         (start_locale_structure): Likewise.
38749         (end_locale_structure): Likewise.
38750         (start_locale_prelude): Likewise.
38751         (end_locale_prelude): Likewise.
38752         (write_locale_data): Update prototype.
38753         * locale/programs/3level.h (struct TABLE): Remove result field.
38754         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38755         Use new locale_file interface.
38756         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38757         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38758         * locale/programs/ld-address.c (address_output): Use new
38759         locale_file interface.
38760         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38761         NO_ADD_LOCALE.
38762         (collate_finish): Don't call collseq_table_finalize.
38763         (collate_output): Use new locale_file interface.
38764         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38765         in file.
38766         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38767         (TABLE): Move defines earlier in file.
38768         (ELEMENT): Likewise.
38769         (DEFAULT): Likewise.
38770         (wctrans_table_add): Move macro and inline function earlier in
38771         file.
38772         (struct wctype_table): Move type earlier in file.
38773         (add_locale_wctype_table): New static prototype.
38774         (struct locale_ctype_t): Use logical types instead of struct iovec
38775         pointers for members.
38776         (ctype_output): Use new locale_file interface.
38777         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38778         new locale_file interface.
38779         (allocate_arrays): Update for use of new locale_file interface.
38780         * locale/programs/ld-identification.c (identification_output): Use
38781         new locale_file interface.
38782         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38783         * locale/programs/ld-messages.c (messages_output): Likewise.
38784         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38785         * locale/programs/ld-name.c (name_output): Likewise.
38786         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38787         * locale/programs/ld-paper.c (paper_output): Likewise.
38788         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38789         * locale/programs/ld-time.c (time_output): Likewise.
38791 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38793         * benchtests/Makefile: Add memrchr benchmark.
38794         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38795         benchmark as memrchr.
38796         * benchtests/bench-memrchr-ifunc.c: New file.
38797         * benchtests/bench-memrchr.c: New file.
38799 2013-09-06   Will Newton  <will.newton@linaro.org>
38801         * benchtests/Makefile (string-bench): Add memcpy.
38803 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38804             Cong Wang  <amwang@redhat.com>
38806         [BZ #15850]
38807         * sysdeps/unix/sysv/linux/bits/in.h
38808         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38809         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38810         before __USE_KERNEL_IPV6_DEFS uses.
38811         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38812         IPPROTO_BEETPH.
38813         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38814         sockaddr_in6, or ipv6_mreq.
38816 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38818         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38819         memory access for final bytes in some large inputs.
38820         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38822 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38824         * string/test-memrchr.c: New file.
38825         * string/test-memrchr-ifunc.c: New file.
38826         * string/Makefile: Add new memrchr testcase.
38828 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38830         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38831         fanotify_init returns EPERM.
38833 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38835         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38836         errors.
38837         (top level): Treat second token from macro or constant entries for
38838         allowed headers as allowed.
38839         * include/complex.h: Condition internal declarations on
38840         [!_ISOMAC].
38841         * include/fenv.h: Condition include of <stdbool.h> and internal
38842         declarations on [!_ISOMAC].
38844 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38846         [BZ #15923]
38847         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38849 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38851         * configure.in (--enable-versioning): Remove configure option.
38852         (libc_cv_asm_symver_directive): Remove configure test.
38853         (libc_cv_ld_version_script_option): Likewise.
38854         (VERSIONING): Remove variable and AC_SUBST.
38855         (DO_VERSIONING): Remove AC_DEFINE.
38856         * configure: Regenerated.
38857         * config.h.in (DO_VERSIONING): Remove macro.
38858         * Makerules [$(versioning) = yes]: Change conditionals to
38859         [$(build-shared) = yes].
38860         * config.make.in (versioning): Remove variable.
38861         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38862         [$(build-shared) = yes].
38863         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38864         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38865         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38866         [$(build-shared) = yes].
38867         * extra-lib.mk [$(versioning) = yes]: Likewise.
38868         * hurd/Makefile [$(versioning) = yes]: Likewise.
38869         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38870         [SHARED].
38871         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38872         [SHARED].
38873         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38874         [SHARED && !NO_HIDDEN].
38875         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38876         [SHARED].
38877         [SHARED && DO_VERSIONING]: Likewise..
38878         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38879         [$(build-shared) = yes].
38880         * manual/install.texi (--disable-versioning): Remove
38881         documentation.
38882         * INSTALL: Regenerated.
38883         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38884         to [SHARED].
38885         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38886         [$(build-shared) = yes].
38887         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38888         * sysdeps/i386/i686/multiarch/strstr-c.c
38889         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38890         [SHARED && !NO_HIDDEN].
38891         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38892         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38893         * sysdeps/powerpc/powerpc32/dl-machine.c
38894         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38895         * sysdeps/powerpc/powerpc32/sysdep.h
38896         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38897         to [SHARED && PIC && !NO_HIDDEN].
38898         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38899         conditional to [SHARED].
38901 2013-09-04   Will Newton  <will.newton@linaro.org>
38903         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38904         * benchtests/bench-string.h: Include bench-timing.h instead
38905         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38906         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38907         call to HP_TIMING_DIFF_INIT.
38908         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38909         instead of hp-timing.h macros.
38910         * benchtests/bench-memchr.c: Likewise.
38911         * benchtests/bench-memcmp.c: Likewise.
38912         * benchtests/bench-memcpy.c: Likewise.
38913         * benchtests/bench-memmem.c: Likewise.
38914         * benchtests/bench-memmove.c: Likewise.
38915         * benchtests/bench-memset.c: Likewise.
38916         * benchtests/bench-rawmemchr.c: Likewise.
38917         * benchtests/bench-strcasecmp.c: Likewise.
38918         * benchtests/bench-strcasestr.c: Likewise.
38919         * benchtests/bench-strcat.c: Likewise.
38920         * benchtests/bench-strchr.c: Likewise.
38921         * benchtests/bench-strcmp.c: Likewise.
38922         * benchtests/bench-strcpy.c: Likewise.
38923         * benchtests/bench-strcpy_chk.c: Likewise.
38924         * benchtests/bench-strlen.c: Likewise.
38925         * benchtests/bench-strncasecmp.c: Likewise.
38926         * benchtests/bench-strncat.c: Likewise.
38927         * benchtests/bench-strncmp.c: Likewise.
38928         * benchtests/bench-strncpy.c: Likewise.
38929         * benchtests/bench-strnlen.c: Likewise.
38930         * benchtests/bench-strpbrk.c: Likewise.
38931         * benchtests/bench-strrchr.c: Likewise.
38932         * benchtests/bench-strspn.c: Likewise.
38933         * benchtests/bench-strstr.c: Likewise.
38935 2013-09-04  Will Newton  <will.newton@linaro.org>
38937         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38939 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38941         [BZ #15427]
38942         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38943         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38944         * math/libm-test.inc (lgamma_test_data): Add more tests.
38945         * sysdeps/i386/fpu/libm-test-ulps: Update.
38946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38948 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38950         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38952         Add ifunc.
38953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38954         Add strcmp-sse2-unaligned
38955         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38957 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38959         * Versions.def (libc): Add GLIBC_2.19.
38961 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38963         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38964         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38966 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38968         [BZ #14155]
38969         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38970         intermediate calculations in recurrence.
38971         (__ieee754_ynf): Likewise.
38972         * math/libm-test.inc (jn_test_data): Do not allow spurious
38973         underflow exception.  Add more tests.
38974         (yn_test_data): Add more tests.
38975         * sysdeps/i386/fpu/libm-test-ulps: Update.
38976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38978 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38980         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38982 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38984         * csu/init-first.c: Fix then/than typos.
38985         * locale/programs/ld-collate.c: Likewise.
38986         * locale/programs/linereader.h: Likewise.
38987         * manual/charset.texi: Likewise.
38988         * manual/filesys.texi: Likewise.
38989         * manual/stdio.texi: Likewise.
38990         * manual/string.texi: Likewise.
38991         * stdlib/fmtmsg.c: Likewise.
38992         * sysdeps/i386/stpncpy.S: Likewise.
38993         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38994         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38995         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38996         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38998 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39000         * elf/dl-open.c: Fix typos.
39001         * iconvdata/gbbig5.c: Likewise.
39002         * iconvdata/iso-2022-jp.c: Likewise.
39003         * iconv/gconv_int.h: Likewise.
39004         * iconv/loop.c: Likewise.
39005         * nis/rpcsvc/nis.h: Likewise.
39006         * resolv/ns_name.c: Likewise.
39007         * stdio-common/vfscanf.c: Likewise.
39008         * streams/stropts.h: Likewise.
39009         * sunrpc/rpc_thread.c: Likewise.
39010         * sysdeps/i386/strpbrk.S: Likewise.
39011         * sysdeps/ieee754/k_standard.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39014         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39015         * sysdeps/mach/hurd/profil.c: Likewise.
39016         * sysdeps/s390/dl-procinfo.h: Likewise.
39017         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39018         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39019         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39020         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39023 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39025         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39028 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39030         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39031         aix specific files.
39032         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39033         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39034         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39035         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39036         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39037         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39038         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39039         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39041 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39042             Roland McGrath  <roland@hack.frob.com>
39044         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39045         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39047 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39049         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39050         __executable_start symbol instead of _start.
39052 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39054         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39055         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39056         Move macros to...
39057         * sysdeps/gnu/ldsodefs.h: ... this new file.
39059         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39060         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39061         instead of ELFOSABI_LINUX.
39063         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39064         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39065         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39066         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39067         Likewise.
39068         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39069         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39070         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39071         Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39073         (ibm_extended_long_double): Add ieee_nan member.
39074         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39075         (do_test): New function.
39077         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39078         TEST_TRUNC.
39079         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39080         functions, renamed from truncdfsf_test, trunctfsf_test,
39081         trunctfdf_test.
39082         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39083         functions.
39084         (do_test): Run all these.
39086 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39088         * argp/argp-help.c: Fix typos.
39089         * argp/argp-parse.c: Likewise.
39090         * debug/backtracesyms.c: Likewise.
39091         * elf/elf.h: Likewise.
39092         * malloc/malloc.c: Likewise.
39093         * nis/nis_print.c: Likewise.
39094         * resolv/res_comp.c: Likewise.
39095         * stdlib/stdlib.h: Likewise.
39096         * sunrpc/clnt_tcp.c: Likewise.
39097         * sunrpc/clnt_udp.c: Likewise.
39098         * sunrpc/clnt_unix.c: Likewise.
39099         * sysdeps/unix/bsd/ptsname.c: Likewise.
39100         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39101         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39103         Likewise.
39104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39105         Likewise.
39106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39107         Likewise.
39108         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39110 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39112         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39115 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39117         [BZ #15897]
39118         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39119         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39120         ($(objpfx)bug-dl-leaf): New rule.
39121         ($(objpfx)bug-dl-leaf.so): Likewise.
39122         ($(objpfx)bug-dl-leaf.out): Likewise.
39123         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39124         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39125         * dlfcn/bug-dl-leaf.c: New test.
39126         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39127         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39128         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39129         (dlclose): Likewise.
39130         (dlmopen): Likewise.
39132 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39134         * include/netdb.h [!_ISOMAC]:
39135         Don't include <tls.h>.
39136         (h_errno, __libc_h_errno): Move declaration and macros out of
39137         [_LIBC_REENTRANT].
39139         * include/resolv.h [_RESOLV_H_]:
39140         Don't include <tls.h>.
39141         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39142         * resolv/res_libc.c: Don't include <tls.h>.
39143         (_res): Use __attribute__ ((nocommon)) in place of
39144         __attribute__ ((section (".bss"))).
39146         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39147         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39149         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39151         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39152         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39154         * resolv/res_mkquery.c: Include <sys/time.h>.
39156         * inet/ifreq.c: Moved to ...
39157         * sysdeps/unix/ifreq.c: ... here.
39158         * inet/ifreq.c: New file, true stub version.
39160         * socket/sa_len.c: New file.
39161         * socket/Makefile (aux): Add it.
39162         * sysdeps/unix/sysv/linux/Makefile
39163         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39164         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39165         and #include <socket/sa_len.c>.
39166         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39167         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39169         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39170         * bits/socket.h: ... here.
39172         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39173         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39174         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39176 2013-08-27  Andreas Schwab  <schwab@suse.de>
39178         [BZ #15736]
39179         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39180         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39181         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39182         * string/test-strcasecmp.c (test_main): Run tests in several
39183         locales.
39184         * string/test-strncasecmp.c (test_main): Likewise.
39186         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39187         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39188         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39190         (__strncasecmp_ssse3) [PIC]: Likewise.
39192 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39194         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39196         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39197         instead of explicitly declaring xdecrypt.
39198         * nis/nss_nis/nis-publickey.c: Likewise.
39200 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39202         [BZ #15890]
39203         * nscd/aicache.c: Include res_hconf.h.
39204         (addhstaiX): Initialize res_hconf.
39206 2013-08-26  Andreas Schwab  <schwab@suse.de>
39208         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39209         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39211 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39213         * nscd/aicache.c (addhstaiX): Fix indentation.
39215 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39217         * configure.ac: Quote $build_pt_chown test.
39218         * configure: Regenerated.
39220 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39222         [BZ #15532]
39223         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39224         * math/s_cexpf.c (__cexpf): Likewise.
39225         * math/s_cexpl.c (__cexpl): Likewise.
39226         * math/libm-test.inc (cexp_test_data): Correct expected return
39227         value for NaN + i0.  Add another test.
39229 2013-08-22  David S. Miller  <davem@davemloft.net>
39231         * po/ca.po: Update Catalan translation from translation project.
39232         * po/uk.po: Add Ukrainian translations from translation project.
39234 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39236         [BZ #15797]
39237         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39238         is infinite, not alongside NaN test.
39239         * math/s_fdimf.c (__fdimf): Likewise.
39240         * math/s_fdiml.c (__fdiml): Likewise.
39241         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39242         errno is unchanged.
39244 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39246         * argp/argp-help.c: Fix typos.
39247         * crypt/speeds.c: Likewise.
39248         * csu/check_fds.c: Likewise.
39249         * elf/dl-load.c: Likewise.
39250         * elf/dl-open.c: Likewise.
39251         * elf/reldep3.c: Likewise.
39252         * elf/reldep.c: Likewise.
39253         * elf/sprof.c: Likewise.
39254         * iconv/iconv_charmap.c: Likewise.
39255         * iconv/skeleton.c: Likewise.
39256         * iconv/strtab.c: Likewise.
39257         * io/lockf64.c: Likewise.
39258         * libio/libioP.h: Likewise.
39259         * resolv/gai_notify.c: Likewise.
39260         * resolv/ns_name.c: Likewise.
39261         * resolv/ns_samedomain.c: Likewise.
39262         * resolv/res_send.c: Likewise.
39263         * stdlib/random.c: Likewise.
39264         * sunrpc/rpc/xdr.h: Likewise.
39265         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39266         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39267         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39268         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39269         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39272         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39273         * sysdeps/mach/hurd/check_fds.c: Likewise.
39274         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39275         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39276         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39277         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39278         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39279         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39280         * sysdeps/pthread/aio_notify.c: Likewise.
39281         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39282         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39283         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39284         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39285         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39287 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39289         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39290         version if bit_Slow_SSE4_2 is set.
39291         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39292         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39294 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39296         [BZ #15867]
39297         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39298         trampoline stack frame information.
39299         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39300         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39301         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39302         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39303         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39304         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39305         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39306         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39307         sa_flags value.
39308         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39309         interrupting a syscall and set with option SA_SIGINFO.
39311 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39313         [BZ #15531]
39314         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39315         argument is infinite.
39316         * math/s_cprojf.c (__cprojf): Likewise.
39317         * math/s_cprojl.c (__cprojl): Likewise.
39318         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39319         * math/libm-test.inc (cproj_test_data): Add more tests.
39321         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39323         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39324         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39325         size.  Use __ffs to determine corresponding shift.
39327 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39328             Roland McGrath  <roland@hack.frob.com>
39330         * Makefile (INSTALL): Remove trailing blank lines from output of
39331         makeinfo.
39333 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39335         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39336         Align 32 bit compat elf_greg to 8 bytes.
39338 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39340         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39342 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39344         * string/strcoll_l.c (coll_seq): New structure.
39345         (get_next_seq_cached): New function.
39346         (get_next_seq): New function.
39347         (do_compare): New function.
39348         (STRCOLL): Use GNU style definition.  Simplify implementation
39349         by using get_next_seq, get_next_seq_cached and do_compare.
39351 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39353         [BZ #14699]
39354         CVE-2013-4237
39355         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39356         member.
39357         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39358         member.
39359         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39360         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39361         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39362         conditional.
39363         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39364         GETDENTS_64BIT_ALIGNED.
39365         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39366         * manual/filesys.texi (Reading/Closing Directory): Document
39367         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39368         strongly.
39369         * manual/conf.texi (Limits for Files): Add portability note to
39370         NAME_MAX, PATH_MAX.
39371         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39373 2013-08-13  Andreas Schwab  <schwab@suse.de>
39375         [BZ #15749]
39376         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39377         of fabs.
39378         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39379         LDBL_MAX_EXP >= 16384]: Add tests for it.
39381 2013-08-12  David S. Miller  <davem@davemloft.net>
39383         * version.h (RELEASE): Set to "development".
39384         (VERSION): Set to "2.18.90".
39385         * NEWS: Add 2.19 section.
39387 2013-08-03  David S. Miller  <davem@davemloft.net>
39389         * po/ko.po: Update Korean translation from translation project.
39391 2013-08-01  David S. Miller  <davem@davemloft.net>
39393         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39394         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39395         Bilka.
39397 2013-07-30  David S. Miller  <davem@davemloft.net>
39399         * po/fr.po: Update French translation from translation project.
39401 2013-07-28  David S. Miller  <davem@davemloft.net>
39403         * po/cs.po: Update Czech translation from translation project.
39405         * po/sv.po: Update Swedish translation from translation project.
39407 2013-07-27  David S. Miller  <davem@davemloft.net>
39409         * po/eo.po: Update Esperanto translation from translation project.
39411         * po/vi.po: Update Vietnamese translation from translation project.
39413         * po/de.po: Update German translation from translation project.
39415 2013-07-26  David S. Miller  <davem@davemloft.net>
39417         * po/bg.po: Update Bulgarian translation from translation project.
39419         * po/nl.po: Update Dutch translation from translation project.
39420         * po/pl.po: Update Polish translation from translation project.
39421         * po/ru.po: Update Russian translation from translation project.
39423 2013-07-24  David S. Miller  <davem@davemloft.net>
39425         * po/libc.pot: Update.
39427 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39429         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39430         variable page size.
39431         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39432         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39433         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39435 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39437         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39439 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39440             Andreas Schwab  <schwab@suse.de>
39441             Roland McGrath  <roland@hack.frob.com>
39442             Joseph Myers  <joseph@codesourcery.com>
39443             Carlos O'Donell  <carlos@redhat.com>
39445         [BZ #15755]
39446         * config.h.in: Define HAVE_PT_CHOWN.
39447         * config.make.in (build-pt-chown): New variable.
39448         * configure.in (--enable-pt_chown): New configure option.
39449         * configure: Regenerate.
39450         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39451         build-pt-chown is enabled.
39452         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39453         pt_chown to fix pty ownership.
39454         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39455         CLOSE_ALL_FDS.
39456         * manual/install.texi (Configuring and compiling): Mention
39457         --enable-pt_chown. Add @findex for grantpt.
39458         * INSTALL: Regenerate.
39460 2013-07-20  David S. Miller  <davem@davemloft.net>
39462         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39463         difference between 32-bit and 64-bit.
39465 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39467         [BZ #15711]
39468         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39469         Avoid system header dependency with -ffreestanding.
39470         ($(objpfx)bits/syscall%d): Likewise.
39472 2013-07-13  David S. Miller  <davem@davemloft.net>
39474         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39475         underflows from atanl/atan2l due to bug 15319.
39476         (casinh_test_data): Likewise.
39478 2013-07-07  David S. Miller  <davem@davemloft.net>
39480         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39482 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39484         * sysdeps/i386/fpu/libm-test-ulps: Update.
39485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39487 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39489         * configure.in (--enable-lock-elision): Fix message text.
39490         * INSTALL: Regenerate.
39491         * configure: Regenerate.
39493 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39497 2013-07-03  Andreas Jaeger  <aj@suse.de>
39499         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39500         define.
39501         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39502         (ptrace_peeksiginfo_args): Add.
39503         (__ptrace_peeksiginfo_flags): Add.
39504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39505         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39506         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39508 2013-07-03  Allan McRae  <allan@archlinux.org>
39510         * sysdeps/i386/fpu/libm-test-ulps: Update.
39512 2013-07-02  David S. Miller  <davem@davemloft.net>
39514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39516 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39520 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39522         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39525 2013-07-02  Andi Kleen <ak@linux.intel.com>
39527         * config.h.in (ENABLE_LOCK_ELISION): Add.
39528         * configure.in (--enable-lock-elision): Add option.
39529         * manual/install.texi: Document --enable lock elision.
39530         * configure: Regenerate
39531         * INSTALL: Regenerate.
39533 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39535         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39536         SSE4.2 strcasecmp for libc.a.
39537         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39539 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39541         [BZ #13304]
39542         * soft-fp/op-common.h (_FP_FMA): New macro.
39543         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39544         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39545         (_FP_MUL_MEAT_1_imm): ... here.
39546         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39547         (_FP_MUL_MEAT_1_wide): ... here.
39548         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39549         (_FP_MUL_MEAT_1_hard): ... here.
39550         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39551         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39552         (_FP_MUL_MEAT_2_wide): ... here.
39553         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39554         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39555         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39556         (_FP_MUL_MEAT_2_gmp): ... here.
39557         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39558         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39559         (_FP_MUL_MEAT_4_wide): ... here.
39560         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39561         (_FP_MUL_MEAT_4_gmp): ... here.
39562         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39563         (_FP_WFRACBITS_DW_S): Likewise.
39564         (_FP_WFRACXBITS_DW_S): Likewise.
39565         (_FP_HIGHBIT_DW_S): Likewise.
39566         (FP_FMA_S): Likewise.
39567         (_FP_FRAC_HIGH_DW_S): Likewise.
39568         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39569         (_FP_WFRACBITS_DW_D): Likewise.
39570         (_FP_WFRACXBITS_DW_D): Likewise.
39571         (_FP_HIGHBIT_DW_D): Likewise.
39572         (FP_FMA_D): Likewise.
39573         (_FP_FRAC_HIGH_DW_D): Likewise.
39574         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39575         (_FP_WFRACBITS_DW_E): Likewise.
39576         (_FP_WFRACXBITS_DW_E): Likewise.
39577         (_FP_HIGHBIT_DW_E): Likewise.
39578         (FP_FMA_E): Likewise.
39579         (_FP_FRAC_HIGH_DW_E): Likewise.
39580         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39581         (_FP_WFRACBITS_DW_Q): Likewise.
39582         (_FP_WFRACXBITS_DW_Q): Likewise.
39583         (_FP_HIGHBIT_DW_Q): Likewise.
39584         (FP_FMA_Q): Likewise.
39585         (_FP_FRAC_HIGH_DW_Q): Likewise.
39586         * soft-fp/fmasf4.c: New file.
39587         * soft-fp/fmadf4.c: Likewise.
39588         * soft-fp/fmatf4.c: Likewise.
39590 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39593         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39594         Silvermont.
39595         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39596         macro.
39597         (index_Slow_SSE4_2): Likewise.
39598         (index_Prefer_PMINUB_for_stringop): Likewise.
39599         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39600         bit_Slow_SSE4_2 is set.
39601         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39602         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39604 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39606         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39607         rtld_global._dl_hwcap2.
39608         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39609         POWER8.
39610         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39611         POWER8 feature descriptions defined in _dl_hwcap2.
39612         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39613         string handling for POWER8 feature bits.
39614         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39615         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39616         _dl_powerpc_cap_flags.
39617         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39618         * sysdeps/powerpc/rtld-global-offsets.sym
39619         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39620         _dl_hwcap2 in the rtld_global_ro structure.
39622 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39624         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39625         hardware capabilities in support of AT_HWCAP2.
39626         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39627         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39628         GLRO(dl_hwcap2).
39629         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39630         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39631         explicitly the unknown a_type display mechanism is used.
39632         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39633         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39634         struct member.
39635         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39636         to macro prototype for AT_HWCAP2 support.
39637         * sysdeps/i386/dl-procinfo.h: Likewise.
39638         * sysdeps/s390/dl-procinfo.h: Likewise.
39639         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39640         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39641         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39642         return -1 for unknown a_type display fallback.
39643         * sysdeps/sparc/dl-procinfo.h: Likewise.
39644         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39645         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39647 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39649         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39650         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39652 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39654         [BZ #12492]
39655         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39656         mprotect making __stack_prot writable.
39658 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39659             Joseph Myers  <joseph@codesourcery.com>
39661         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39662         as being properly aligned.
39664 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39666         * dlfcn/modstatic5.c: New file.
39667         * dlfcn/tststatic5.c: New file.
39668         * dlfcn/Makefile (tests): Add tststatic5.
39669         (tests-static): Likewise.
39670         (modules-names): Add modstatic5.
39671         (tststatic5-ENV): New variable.
39672         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39674         [BZ #15022]
39675         * elf/dl-support.c (_dl_main_map): New variable.
39676         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39677         (_dl_nns, _dl_load_adds): Set to 1.
39678         (_dl_initial_searchlist): Refer to _dl_main_map.
39679         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39680         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39681         call to _dl_get_origin.
39682         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39683         around call_map.
39684         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39685         * dlfcn/modstatic3.c: New file.
39686         * dlfcn/tststatic3.c: New file.
39687         * dlfcn/tststatic4.c: New file.
39688         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39689         (tests-static): Likewise.
39690         (modules-names): Add modstatic3.
39691         (tststatic3-ENV, tststatic4-ENV): New variables.
39692         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39693         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39695 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39697         * configure.in (CC): Require GCC version 4.4 or later.
39698         * configure: Regenerated.
39699         * manual/install.texi (Tools for Compilation): Update GCC version
39700         requirement.
39701         * INSTALL: Regenerated.
39703 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39705         [BZ #15674]
39706         * string/test-memcmp.c (check2): New.
39707         (main): Call check2.
39709         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39711 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39713         [BZ #15022]
39714         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39715         over to...
39716         (dl_open_worker) [!SHARED]: ... here.
39718 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39720         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39722 2013-06-25  Richard Henderson  <rth@redhat.com>
39724         * locale/programs/locarchive.c: Include <libc-internal.h>
39726 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39728         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39729         trailing whitespace removed.
39731 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39733         [BZ #10283]
39734         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39735         * locale/programs/locarchive.c: Include libc-mmap.h.
39736         (prepare_address_space): Take two new outputs (the mmap base and len).
39737         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39738         values.
39739         (create_archive): Declare new mmap base and len values for
39740         prepare_address_space, and store the result in ah.
39741         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39742         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39743         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39744         Declare new mmap base and len values for
39745         prepare_address_space, and store the result in new_ah.
39746         (open_archive): Declare new mmap base and len values for
39747         prepare_address_space, and store the result in ah.
39748         (close_archive): If ah->mmap_base is not NULL, use that and
39749         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39750         * sysdeps/generic/libc-mmap.h: New file.
39752 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39754         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39755         (ALIGN_UP): Likewise.
39756         (PTR_ALIGN_DOWN): Likewise.
39757         (PTR_ALIGN_UP): Likewise.
39759 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39761         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39762         entry mapped to PPC_PLATFORM_POWER8.
39763         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39764         POWER8.
39765         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39766         (_dl_string_platform): Add case for exporting platform position for
39767         POWER8.
39768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39769         search path to sysdeps/powerpc/powerpc32/power8 directory.
39770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39771         search path to sysdeps/powerpc/powerpc64/power8 directory.
39772         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39773         power7 directories.
39774         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39775         power7 directories.
39777 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39779         * INSTALL: Regenerate.
39781         * nscd/connections.c (nscd_init): Fix comment.
39783 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39785         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39787         [BZ #15667]
39788         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39789         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39791 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39793         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39794         DL_DST_REQ_STATIC.
39795         (DL_DST_REQ_STATIC): Remove macro.
39797 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39799         [BZ #7006]
39800         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39801         with a shift of 0 bits.
39803 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39805         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39806         $(tststatic-ENV).
39808 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39810         [BZ #15655]
39811         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39813 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39815         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39816         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39817         accepts -fno-tree-loop-distribute-patterns.
39818         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39819         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39820         recursive call.
39821         * string/memset.c (memset): Likewise.
39822         * string/test-memmove.c (simple_memmove): Disable loop transformation
39823         to library calls.
39824         * string/test-memset.c (simple_memset): Likewise.
39825         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39826         * benchtests/bench-memset.c (simple_memset): Likewise.
39827         * configure: Regenerated.
39829 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39831         * math/test-misc.c (main): Ignore fesetround failure when failures
39832         of subsequent rounding tests would be ignored.
39834         [BZ #15654]
39835         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39836         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39837         * math/fegetenv.c (__fegetenv): Return 0.
39838         * math/fegetexcept.c (fegetexcept): Return 0.
39839         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39840         FE_TONEAREST.
39841         * math/feholdexcpt.c (feholdexcept): Return 0.
39842         * math/fesetenv.c (__fesetenv): Return 0.
39843         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39844         argument FE_TONEAREST.
39845         * math/feupdateenv.c (__feupdateenv): Return 0.
39846         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39848 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39850         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39851         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39852         ($(objpfx)rtld-%.os rules): Use them.
39854 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39856         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39857         fields.
39859 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39861         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39862         length of target pattern, then descending length of dependency pattern.
39863         * configure.in (AWK): Require gawk 3.1.2 or newer.
39864         * manual/install.texi (Tools for Compilation): Say that we do.
39865         * configure: Regenerated.
39867         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39868         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39869         * scripts/sysd-rules.awk: ... this new script.
39870         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39871         than a glob-style pattern.
39873 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39875         * math/test-misc.c (main): Do not treat incorrectly rounded
39876         conversions as failure unless ROUNDING_TESTS passes.
39878 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39880         [BZ #15631]
39881         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39882         restore exception state around main square root computation, then
39883         check for inexactness explicitly.
39885         * math/libm-test.inc (fma_test_data): Add another test.
39887 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39889         * manual/threads.texi (Non-POSIX Extensions): New document
39890         node.  Document pthread_getattr_default_np and
39891         pthread_setattr_default_np.
39893         * Versions.def (libpthread): Add GLIBC_2.18.
39894         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39896         Likewise.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39898         Likewise.
39899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39900         Likewise.
39901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39902         Likewise.
39903         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39904         Likewise.
39905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39906         Likewise.
39907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39908         Likewise.
39909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39910         Likewise.
39911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39912         Likewise.
39914 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39917         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39919 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39920             H.J. Lu  <hjl.tools@gmail.com>
39922         [BZ #15627]
39923         * sysdeps/x86_64/rtld-memset.c: Remove file.
39924         * sysdeps/x86_64/rtld-memset.S: New file.
39926 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39928         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39929         (test_in_one_mode): Take arguments for whether the rounding mode
39930         is supported for each floating-point type.
39931         (do_test): Pass new arguments to test_in_one_mode using
39932         ROUNDING_TESTS.
39934 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39936         * posix/tst-waitid.c (do_test): Distinguish different instances of
39937         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39938         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39939         before entering the kernel for waitpid.
39941 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39943         * NEWS: Fix note on clock function precision.  Text by Roland
39944         McGrath.
39946 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39948         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39949         it into place only when and if the sanity check passes.
39951 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39953         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39954         output for whether conversion result is exact.  Take argument
39955         indicating whether type is IBM long double.
39956         (round_for_all): Change need_exact field to ibm_ld.
39957         * stdlib/tst-strtod-round.c (struct exactness): New type.
39958         (struct test): Change bool ld_ok field to struct exactness exact.
39959         (TEST): Update all definitions for change to field.
39960         (tests): Regenerate array contents.
39961         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39962         field value.  Check for IBM long double here.
39963         (do_test): Update calls to test_in_one_mode.
39965 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39967         [BZ #12515]
39968         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39969         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39971 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39973         [BZ #15605]
39974         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39975         generated by the compiler on loop optimizations.
39976         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39977         general definitions.
39979 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39981         * math/bug-nextafter.c: Include <math-tests.h>.
39982         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39983         the relevant type.
39984         * math/bug-nexttoward.c: Include <math-tests.h>.
39985         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39986         the relevant type.
39987         * math/test-misc.c: Include <math-tests.h>.
39988         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39989         the relevant type.
39991 2013-06-12  Andreas Jaeger  <aj@suse.de>
39993         * po/ia.po: Update Interlingua translation from translation
39994         project.
39996 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39998         * include/fenv.h: Include stdbool.h.
39999         (struct rm_ctx): New structure.
40000         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40001         Define macro.
40002         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40003         (SET_RESTORE_ROUNDF): Likewise.
40004         (SET_RESTORE_ROUNDL): Likewise.
40005         (SET_RESTORE_ROUND_NOEX): Likewise.
40006         (SET_RESTORE_ROUND_NOEXF): Likewise.
40007         (SET_RESTORE_ROUND_NOEXL): Likewise.
40008         (SET_RESTORE_ROUND_53BIT): Likewise.
40009         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40010         (libc_feresetround_noexf_ctx): Likewise.
40011         (libc_feresetround_noexl_ctx): Likewise.
40012         (libc_feholdsetround_53bit_ctx): Likewise.
40013         (libc_feresetround_53bit_ctx): Likewise.
40014         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40015         (libc_feholdexcept_setround_sse_ctx): New function.
40016         (libc_fesetenv_sse_ctx): Likewise.
40017         (libc_feupdateenv_sse_ctx): Likewise.
40018         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40019         (libc_feholdexcept_setround_387_ctx): Likewise.
40020         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40021         (libc_feholdsetround_387_prec_ctx): Likewise.
40022         (libc_feholdsetround_387_ctx): Likewise.
40023         (libc_feholdsetround_387_53bit_ctx): Likewise.
40024         (libc_feholdsetround_sse_ctx): Likewise.
40025         (libc_feresetround_sse_ctx): Likewise.
40026         (libc_feresetround_387_ctx): Likewise.
40027         (libc_feupdateenv_387_ctx): Likewise.
40028         (libc_feholdexcept_setroundf_ctx): Define macro.
40029         (libc_fesetenvf_ctx): Likewise.
40030         (libc_feupdateenvf_ctx): Likewise.
40031         (libc_feholdsetroundf_ctx): Likewise.
40032         (libc_feresetroundf_ctx): Likewise.
40033         (libc_feholdexcept_setround_ctx): Likewise.
40034         (libc_fesetenv_ctx): Likewise.
40035         (libc_feupdateenv_ctx): Likewise.
40036         (libc_feholdsetround_ctx): Likewise.
40037         (libc_feresetround_ctx): Likewise.
40038         (libc_feholdexcept_setroundl_ctx): Likewise.
40039         (libc_feupdateenvl_ctx): Likewise.
40040         (libc_feholdsetroundl_ctx): Likewise.
40041         (libc_feresetroundl_ctx): Likewise.
40042         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40043         (libc_feresetround_53bit_ctx): Likewise.
40045 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40047         * locale/iso-639.def: Convert to UTF-8.
40049 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40051         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40052         (EXCEPTION_TESTS_double): Likewise.
40053         (EXCEPTION_TESTS_long_double): Likewise.
40054         (EXCEPTION_TESTS): Likewise.
40055         * math/libm-test.inc (test_exceptions): Only test exceptions if
40056         EXCEPTION_TESTS (FLOAT).
40058 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40060         * benchtests/Makefile (string-bench): Add strcpy_chk and
40061         stpcpy_chk.
40062         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40063         * benchtests/bench-stpcpy_chk.c: New file.
40064         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40065         * benchtests/bench-strcpy_chk.c: New file.
40066         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40067         code.
40068         (do_test): Likewise.
40070 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40072         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40073         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40074         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40075         with tabs where appropriate.
40076         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40077         dl-procinfo.h.
40078         [PPC_PLATFORM_PPC440]: Likewise.
40079         [PPC_PLATFORM_PPC464]: Likewise.
40080         [PPC_PLATFORM_PPC476]: Likewise.
40081         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40082         ppc464, and ppc476 platform strings merging from ports/
40083         dl-procinfo.h.
40085 2013-06-11  Andreas Schwab  <schwab@suse.de>
40087         [BZ #14991]
40088         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40089         (from_ucs4_idx): Regenerate.
40090         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40091         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40092         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40093         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40094         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40095         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40096         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40097         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40098         from FROM_LOOP and TO_LOOP specific macros.
40099         (BODY): Handle combining characters.
40100         * iconvdata/BIG5HKSCS.irreversible: Update.
40101         * iconvdata/BIG5HKSCS.precomposed: New file.
40102         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40103         characters.
40104         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40106 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40108         * include/sys/time.h: Fix indentation and add copyright header.
40110         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40111         (do_test): Likewise.
40112         * string/test-memchr.c (do_one_test): Likewise.
40113         (do_test): Likewise.
40114         * string/test-memcmp.c (do_one_test): Likewise.
40115         (do_test): Likewise.
40116         * string/test-memcpy.c (do_one_test): Likewise.
40117         (do_test): Likewise.
40118         * string/test-memmem.c (do_one_test): Likewise.
40119         (do_test): Likewise.
40120         (do_random_tests): Likewise.
40121         * string/test-memmove.c (do_one_test): Likewise.
40122         (do_test): Likewise.
40123         * string/test-memset.c (do_one_test): Likewise.
40124         (do_test): Likewise.
40125         * string/test-rawmemchr.c (do_one_test): Likewise.
40126         (do_test): Likewise.
40127         * string/test-strcasecmp.c (do_one_test): Likewise.
40128         (do_test): Likewise.
40129         * string/test-strcasestr.c (do_one_test): Likewise.
40130         (do_test): Likewise.
40131         * string/test-strcat.c (do_one_test): Likewise.
40132         (do_test): Likewise.
40133         * string/test-strchr.c (do_one_test): Likewise.
40134         (do_test): Likewise.
40135         * string/test-strcmp.c (do_one_test): Likewise.
40136         (do_test): Likewise.
40137         * string/test-strcpy.c (do_one_test): Likewise.
40138         (do_test): Likewise.
40139         * string/test-string.h: Likewise.
40140         (test_init): Likewise.
40141         * string/test-strlen.c (do_one_test): Likewise.
40142         (do_test): Likewise.
40143         * string/test-strncasecmp.c (do_one_test): Likewise.
40144         (do_test): Likewise.
40145         * string/test-strncat.c (do_one_test): Likewise.
40146         (do_test): Likewise.
40147         * string/test-strncmp.c (do_one_test): Likewise.
40148         (do_test_limit): Likewise.
40149         (do_test): Likewise.
40150         * string/test-strncpy.c (do_one_test): Likewise.
40151         (do_test): Likewise.
40152         * string/test-strnlen.c (do_one_test): Likewise.
40153         (do_test): Likewise.
40154         * string/test-strpbrk.c (do_one_test): Likewise.
40155         (do_test): Likewise.
40156         * string/test-strrchr.c (do_one_test): Likewise.
40157         (do_test): Likewise.
40158         * string/test-strspn.c (do_one_test): Likewise.
40159         (do_test): Likewise.
40160         * string/test-strstr.c (do_one_test): Likewise.
40161         (do_test): Likewise.
40163         * benchtests/Makefile (string-bench): Add string benchmarks.
40164         * benchtests/bench-bcopy-ifunc.c: New file.
40165         * benchtests/bench-bcopy.c: New file.
40166         * benchtests/bench-bzero-ifunc.c: New file.
40167         * benchtests/bench-bzero.c: New file.
40168         * benchtests/bench-memccpy-ifunc.c: New file.
40169         * benchtests/bench-memccpy.c: New file.
40170         * benchtests/bench-memchr-ifunc.c: New file.
40171         * benchtests/bench-memchr.c: New file.
40172         * benchtests/bench-memcmp-ifunc.c: New file.
40173         * benchtests/bench-memcmp.c: New file.
40174         * benchtests/bench-memmem-ifunc.c: New file.
40175         * benchtests/bench-memmem.c: New file.
40176         * benchtests/bench-memmove-ifunc.c: New file.
40177         * benchtests/bench-memmove.c: New file.
40178         * benchtests/bench-mempcpy-ifunc.c: New file.
40179         * benchtests/bench-mempcpy.c: New file.
40180         * benchtests/bench-memset-ifunc.c: New file.
40181         * benchtests/bench-memset.c: New file.
40182         * benchtests/bench-rawmemchr-ifunc.c: New file.
40183         * benchtests/bench-rawmemchr.c: New file.
40184         * benchtests/bench-stpcpy-ifunc.c: New file.
40185         * benchtests/bench-stpcpy.c: New file.
40186         * benchtests/bench-stpncpy-ifunc.c: New file.
40187         * benchtests/bench-stpncpy.c: New file.
40188         * benchtests/bench-strcasecmp-ifunc.c: New file.
40189         * benchtests/bench-strcasecmp.c: New file.
40190         * benchtests/bench-strcasestr-ifunc.c: New file.
40191         * benchtests/bench-strcasestr.c: New file.
40192         * benchtests/bench-strcat-ifunc.c: New file.
40193         * benchtests/bench-strcat.c: New file.
40194         * benchtests/bench-strchr-ifunc.c: New file.
40195         * benchtests/bench-strchr.c: New file.
40196         * benchtests/bench-strchrnul-ifunc.c: New file.
40197         * benchtests/bench-strchrnul.c: New file.
40198         * benchtests/bench-strcmp-ifunc.c: New file.
40199         * benchtests/bench-strcmp.c: New file.
40200         * benchtests/bench-strcpy-ifunc.c: New file.
40201         * benchtests/bench-strcpy.c: New file.
40202         * benchtests/bench-strcspn-ifunc.c: New file.
40203         * benchtests/bench-strcspn.c: New file.
40204         * benchtests/bench-strlen-ifunc.c: New file.
40205         * benchtests/bench-strlen.c: New file.
40206         * benchtests/bench-strncasecmp-ifunc.c: New file.
40207         * benchtests/bench-strncasecmp.c: New file.
40208         * benchtests/bench-strncat-ifunc.c: New file.
40209         * benchtests/bench-strncat.c: New file.
40210         * benchtests/bench-strncmp-ifunc.c: New file.
40211         * benchtests/bench-strncmp.c: New file.
40212         * benchtests/bench-strncpy-ifunc.c: New file.
40213         * benchtests/bench-strncpy.c: New file.
40214         * benchtests/bench-strnlen-ifunc.c: New file.
40215         * benchtests/bench-strnlen.c: New file.
40216         * benchtests/bench-strpbrk-ifunc.c: New file.
40217         * benchtests/bench-strpbrk.c: New file.
40218         * benchtests/bench-strrchr-ifunc.c: New file.
40219         * benchtests/bench-strrchr.c: New file.
40220         * benchtests/bench-strspn-ifunc.c: New file.
40221         * benchtests/bench-strspn.c: New file.
40222         * benchtests/bench-strstr-ifunc.c: New file.
40223         * benchtests/bench-strstr.c: New file.
40225         * benchtests/Makefile: Disable parallel execution of targets.
40226         (string-bench): Add memcpy.
40227         (benchset): New variable to store a list of benchmark sets.
40228         (bench-func): Renamed from bench.
40229         (bench-set): New target.
40230         (bench): Depend on bench-func and bench-set.
40231         * benchtests/README: Add section on benchmark sets.
40232         * benchtests/bench-memcpy-ifunc.c: New file.
40233         * benchtests/bench-memcpy.c: New file.
40234         * benchtests/bench-string.h: New file.
40236 2013-06-11  Andreas Schwab  <schwab@suse.de>
40238         [BZ #15577]
40239         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40240         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40241         values in the triple.
40242         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40243         terminator in the group key.
40245 2013-06-11  Andreas Jaeger  <aj@suse.de>
40247         * po/zh_TW.po: Update Chinese (traditional) translation from
40248         translation project.
40250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40252         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40253         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40254         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40255         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40256         (clock_getcpuclockid): Likewise.
40257         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40258         Add weak_alias and libc_hidden_def.
40259         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40260         * rt/clock_gettime.c (clock_gettime): Rename to
40261         __clock_gettime.  Add weak_alias and libc_hidden_def.
40262         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40263         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40264         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40265         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40266         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40267         Likewise.
40268         * rt/clock_settime.c (clock_settime): Rename to
40269         __clock_settime.  Add weak_alias and libc_hidden_def.
40270         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40272 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40274         * mach/err_boot.sub: Remove trailing whitespace.
40275         * mach/err_ipc.sub: Likewise.
40276         * mach/err_mach.sub: Likewise.
40278         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40279         (ROUNDING_TESTS_double): Likewise.
40280         (ROUNDING_TESTS_long_double): Likewise.
40281         (ROUNDING_TESTS): Likewise.
40282         * math/libm-test.inc: Include <math-tests.h>.
40283         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40284         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40285         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40286         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40288 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40290         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40291         of assigning.
40293 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40295         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40296         otherwise empty TRANS lines.
40297         * sysdeps/gnu/errlist.c: Regenerated.
40299         * catgets/gencat.c (error_print): Use (void) in function
40300         definition.
40301         * crypt/crypt_util.c (__init_des): Likewise.
40302         * crypt/speeds.c (Stop): Likewise.
40303         (main): Likewise.
40304         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40305         * inet/ruserpass.c (token): Likewise.
40306         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40307         * intl/localealias.c (extend_alias_table): Likewise.
40308         * intl/plural-exp.c (init_germanic_plural): Likewise.
40309         * libio/fcloseall.c (__fcloseall): Likewise.
40310         * libio/genops.c (_IO_flush_all): Likewise.
40311         (_IO_flush_all_linebuffered): Likewise.
40312         (_IO_cleanup): Likewise.
40313         (_IO_iter_begin): Likewise.
40314         (_IO_iter_end): Likewise.
40315         (_IO_list_lock): Likewise.
40316         (_IO_list_unlock): Likewise.
40317         (_IO_list_resetlock): Likewise.
40318         * libio/getchar.c (getchar): Likewise.
40319         * libio/getchar_u.c (getchar_unlocked): Likewise.
40320         * libio/getwchar.c (getwchar): Likewise.
40321         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40322         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40323         * login/getpt.c (__getpt): Likewise.
40324         * login/tst-utmp.c (main): Likewise.
40325         * malloc/hooks.c (__malloc_check_init): Likewise.
40326         * malloc/malloc.c (__malloc_stats): Likewise.
40327         * malloc/mtrace.c (tr_break): Likewise.
40328         (mtrace): Likewise.
40329         (muntrace): Likewise.
40330         * misc/fstab.c (endfsent): Likewise.
40331         * misc/getclktck.c (__getclktck): Likewise.
40332         * misc/getdtsz.c (__getdtablesize): Likewise.
40333         * misc/gethostid.c (gethostid): Likewise.
40334         * misc/getpagesize.c (__getpagesize): Likewise.
40335         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40336         (__get_nprocs): Likewise.
40337         (__get_phys_pages): Likewise.
40338         (__get_avphys_pages): Likewise.
40339         * misc/getttyent.c (getttyent): Likewise.
40340         (setttyent): Likewise.
40341         (endttyent): Likewise.
40342         * misc/getusershell.c (getusershell): Likewise.
40343         (endusershell): Likewise.
40344         (setusershell): Likewise.
40345         (initshells): Likewise.
40346         * misc/hsearch.c (__hdestroy): Likewise.
40347         * misc/sync.c (sync): Likewise.
40348         * misc/syslog.c (closelog_internal): Likewise.
40349         (closelog): Likewise.
40350         * misc/ttyslot.c (ttyslot): Likewise.
40351         * misc/vhangup.c (vhangup): Likewise.
40352         * posix/fork.c (__fork): Likewise.
40353         * posix/getegid.c (__getegid): Likewise.
40354         * posix/geteuid.c (__geteuid): Likewise.
40355         * posix/getgid.c (__getgid): Likewise.
40356         * posix/getpid.c (__getpid): Likewise.
40357         * posix/getppid.c (__getppid): Likewise.
40358         * posix/getuid.c (__getuid): Likewise.
40359         * posix/pause.c (pause): Likewise.
40360         * posix/setpgrp.c (setpgrp): Likewise.
40361         * posix/setsid.c (__setsid): Likewise.
40362         * posix/test-vfork.c (noop): Likewise.
40363         * resolv/gethnamaddr.c (_endhtent): Likewise.
40364         (_gethtent): Likewise.
40365         (ht_endhostent): Likewise.
40366         (gethostent): Likewise.
40367         (dns_service): Likewise.
40368         * stdlib/drand48.c (drand48): Likewise.
40369         * stdlib/lrand48.c (lrand48): Likewise.
40370         * stdlib/mrand48.c (mrand48): Likewise.
40371         * stdlib/rand.c (rand): Likewise.
40372         * stdlib/random.c (__random): Likewise.
40373         * stdlib/setenv.c (clearenv): Likewise.
40374         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40375         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40376         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40377         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40378         (__get_nprocs): Likewise.
40379         (__get_phys_pages): Likewise.
40380         (__get_avphys_pages): Likewise.
40381         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40382         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40383         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40384         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40385         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40386         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40387         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40388         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40389         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40390         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40391         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40392         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40393         * sysdeps/posix/clock.c (clock): Likewise.
40394         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40395         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40396         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40397         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40398         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40399         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40400         (__get_nprocs_conf): Likewise.
40401         (__get_phys_pages): Likewise.
40402         (__get_avphys_pages): Likewise.
40403         * time/clock.c (clock): Likewise.
40404         * time/tzset.c (__tzname_max): Likewise.
40406 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40408         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40409         (__bswap_32): Do not use "register".
40410         * crypt/crypt.c (_ufc_doit_r): Likewise.
40411         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40412         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40413         * gmon/gmon.c (__monstartup): Likewise.
40414         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40415         * hurd/hurdmalloc.c (more_memory): Likewise.
40416         (malloc): Likewise.
40417         (free): Likewise.
40418         (realloc): Likewise.
40419         (malloc_fork_prepare): Likewise.
40420         (malloc_fork_parent): Likewise.
40421         (malloc_fork_child): Likewise.
40422         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40423         (_svcauth_des): Likewise.
40424         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40425         * inet/inet_net.c (inet_network): Likewise.
40426         * inet/inet_netof.c (inet_netof): Likewise.
40427         * inet/rcmd.c (__validuser2_sa): Likewise.
40428         * io/fts.c (fts_open): Likewise.
40429         (fts_load): Likewise.
40430         (fts_close): Likewise.
40431         (fts_read): Likewise.
40432         (fts_children): Likewise.
40433         (fts_build): Likewise.
40434         (fts_stat): Likewise.
40435         (fts_sort): Likewise.
40436         (fts_alloc): Likewise.
40437         (fts_lfree): Likewise.
40438         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40439         (_IO_file_xsgetn): Likewise.
40440         (_IO_file_xsgetn_mmap): Likewise.
40441         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40442         (_IO_cookie_write): Likewise.
40443         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40444         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40445         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40446         * malloc/obstack.c (_obstack_begin): Likewise.
40447         (_obstack_begin_1): Likewise.
40448         (_obstack_newchunk): Likewise.
40449         (_obstack_allocated_p): Likewise.
40450         (obstack_free): Likewise.
40451         (_obstack_memory_used): Likewise.
40452         * misc/getttyent.c (getttynam): Likewise.
40453         (getttyent): Likewise.
40454         (skip): Likewise.
40455         (value): Likewise.
40456         * misc/getusershell.c (initshells): Likewise.
40457         * misc/syslog.c (__vsyslog_chk): Likewise.
40458         * misc/ttyslot.c (ttyslot): Likewise.
40459         * nis/nis_hash.c (__nis_hash): Likewise.
40460         * posix/fnmatch_loop.c (FCT): Likewise.
40461         * posix/getconf.c (print_all): Likewise.
40462         (main): Likewise.
40463         * posix/getopt.c (exchange): Likewise.
40464         * posix/glob.c (globfree): Likewise.
40465         (prefix_array): Likewise.
40466         (__glob_pattern_type): Likewise.
40467         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40468         (NS_GET32): Likewise.
40469         (NS_PUT16): Likewise.
40470         (NS_PUT32): Likewise.
40471         * resolv/gethnamaddr.c (getanswer): Likewise.
40472         (gethostbyname2): Likewise.
40473         (gethostbyaddr): Likewise.
40474         (_gethtent): Likewise.
40475         (_gethtbyname2): Likewise.
40476         (_gethtbyaddr): Likewise.
40477         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40478         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40479         * resolv/res_init.c (__res_vinit): Likewise.
40480         (net_mask): Likewise.
40481         * resolv/res_mkquery.c (outchar): Likewise.
40482         (PRINT): Likewise.
40483         * stdio-common/printf_fp.c (outchar): Likewise.
40484         (PRINT): Likewise.
40485         * stdio-common/printf_fphex.c (outchar): Likewise.
40486         (PRINT): Likewise.
40487         * stdio-common/printf_size.c (outchar): Likewise.
40488         (PRINT): Likewise.
40489         * stdio-common/test_rdwr.c (main): Likewise.
40490         * stdio-common/tfformat.c (matches): Likewise.
40491         * stdio-common/vfprintf.c (outchar): Likewise.
40492         (printf_unknown): Likewise.
40493         (buffered_vfprintf): Likewise.
40494         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40495         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40496         (ReadFile): Likewise.
40497         * stdlib/qsort.c (SWAP): Likewise.
40498         (_quicksort): Likewise.
40499         * stdlib/setenv.c (__add_to_environ): Likewise.
40500         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40501         * stdlib/strtol_l.c (__strtol_l): Likewise.
40502         * stdlib/tst-strtod.c (main): Likewise.
40503         * stdlib/tst-strtol.c (main): Likewise.
40504         * stdlib/tst-strtoll.c (main): Likewise.
40505         * string/bits/string2.h (__strcmp_cc): Likewise.
40506         (__strcmp_cg): Likewise.
40507         (__strcspn_c1): Likewise.
40508         (__strcspn_c2): Likewise.
40509         (__strcspn_c3): Likewise.
40510         (__strspn_c1): Likewise.
40511         (__strspn_c2): Likewise.
40512         (__strspn_c3): Likewise.
40513         (__strsep_1c): Likewise.
40514         (__strsep_2c): Likewise.
40515         (__strsep_3c): Likewise.
40516         * string/memccpy.c (__memccpy): Likewise.
40517         * string/stpcpy.c (__stpcpy): Likewise.
40518         * string/strcmp.c (strcmp): Likewise.
40519         * string/strrchr.c (strrchr): Likewise.
40520         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40521         Likewise.
40522         * sysdeps/mach/hurd/getcwd.c
40523         (_hurd_canonicalize_directory_name_internal): Likewise.
40524         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40525         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40526         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40527         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40528         Likewise, in both definitions.
40529         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40530         definitions.
40531         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40532         64] (__bswap_64): Likewise.
40533         * time/test_time.c (main): Likewise.
40534         * time/tzfile.c (__tzfile_read): Likewise.
40535         (__tzfile_compute): Likewise.
40536         * time/tzset.c (__tzset_parse_tz): Likewise.
40537         (tzset_internal): Likewise.
40538         (compute_change): Likewise.
40539         * wcsmbs/wcscat.c (__wcscat): Likewise.
40540         * wcsmbs/wcschr.c (wcschr): Likewise.
40541         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40542         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40543         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40544         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40545         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40546         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40547         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40548         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40549         * wcsmbs/wmemset.c (wmemset): Likewise.
40551 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40553         * scripts/config.guess: Update to version 2013-05-16.
40554         * scripts/config.sub: Update to version 2013-04-24.
40555         * scripts/install-sh: Update to version 2011-11-20.07.
40556         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40557         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40559 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40561         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40562         * elf/sln.c: Likewise.
40563         * hurd/hurd/ioctl.h: Likewise.
40564         * hurd/hurdmalloc.c: Likewise.
40565         * hurd/xattr.c: Likewise.
40566         * include/shlib-compat.h: Likewise.
40567         * inet/ruserpass.c: Likewise.
40568         * libio/iofgets_u.c: Likewise.
40569         * libio/iofgetws_u.c: Likewise.
40570         * locale/programs/ld-identification.c: Likewise.
40571         * locale/programs/ld-time.c: Likewise.
40572         * mach/msg-destroy.c: Likewise.
40573         * nss/nss_files/files-netgrp.c: Likewise.
40574         * resolv/res_data.c: Likewise.
40575         * soft-fp/op-1.h: Likewise.
40576         * soft-fp/op-2.h: Likewise.
40577         * soft-fp/op-4.h: Likewise.
40578         * soft-fp/op-common.h: Likewise.
40579         * stdio-common/printf_fphex.c: Likewise.
40580         * stdlib/strtod_l.c: Likewise.
40581         * sunrpc/rpc/clnt.h: Likewise.
40582         * sysdeps/generic/framestate.c: Likewise.
40583         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40584         * sysdeps/i386/bsd-setjmp.S: Likewise.
40585         * sysdeps/i386/__longjmp.S: Likewise.
40586         * sysdeps/i386/setjmp.S: Likewise.
40587         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40588         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40605         * sysdeps/ieee754/support.c: Likewise.
40606         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40607         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40608         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40609         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40610         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40611         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40612         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40613         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40614         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40615         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40616         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40617         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40618         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40619         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40620         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40621         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40622         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40625 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40627         * posix/transbug.c: Remove executable mode.
40629 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40631         * crypt/speeds.c: Remove trailing whitespace.
40632         * dlfcn/default.c: Likewise.
40633         * elf/ifuncdep2.c: Likewise.
40634         * elf/ifuncmain1.c: Likewise.
40635         * elf/ifuncmain1vis.c: Likewise.
40636         * elf/testobj.h: Likewise.
40637         * elf/tst-stackguard1.c: Likewise.
40638         * gmon/sys/gmon.h: Likewise.
40639         * hurd/hurdmsg.c: Likewise.
40640         * hurd/new-fd.c: Likewise.
40641         * hurd/ports-get.c: Likewise.
40642         * iconvdata/ibm1008_420.c: Likewise.
40643         * inet/tst-getni1.c: Likewise.
40644         * inet/tst-getni2.c: Likewise.
40645         * libio/ioungetc.c: Likewise.
40646         * libio/wfiledoalloc.c: Likewise.
40647         * manual/libm-err-tab.pl: Likewise.
40648         * math/w_dremf.c: Likewise.
40649         * misc/ftruncate.c: Likewise.
40650         * posix/bug-glob2.c: Likewise.
40651         * posix/tst-pcre.c: Likewise.
40652         * posix/wait4.c: Likewise.
40653         * resolv/README: Likewise.
40654         * resolv/res_debug.h: Likewise.
40655         * resolv/tst-inet_ntop.c: Likewise.
40656         * setjmp/bug269-setjmp.c: Likewise.
40657         * soft-fp/extended.h: Likewise.
40658         * soft-fp/op-1.h: Likewise.
40659         * soft-fp/op-2.h: Likewise.
40660         * soft-fp/op-4.h: Likewise.
40661         * soft-fp/op-8.h: Likewise.
40662         * soft-fp/testit.c: Likewise.
40663         * stdio-common/bug16.c: Likewise.
40664         * stdlib/random.c: Likewise.
40665         * sunrpc/rpcsvc/rquota.x: Likewise.
40666         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40667         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40668         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40669         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40670         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40671         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40672         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40673         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40674         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40675         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40676         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40695         * sysdeps/ieee754/s_lib_version.c: Likewise.
40696         * sysdeps/mach/hurd/check_fds.c: Likewise.
40697         * sysdeps/mach/hurd/getsockname.c: Likewise.
40698         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40699         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40700         * sysdeps/powerpc/bits/link.h: Likewise.
40701         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40702         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40703         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40704         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40705         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40706         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40707         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40708         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40709         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40710         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40711         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40712         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40713         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40714         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40715         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40716         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40717         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40719         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40720         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40721         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40722         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40724         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40725         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40726         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40727         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40728         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40729         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40730         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40731         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40732         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40733         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40735         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40736         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40737         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40738         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40739         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40740         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40741         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40742         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40743         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40744         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40745         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40746         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40747         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40748         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40749         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40750         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40753         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40754         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40755         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40756         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40757         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40758         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40759         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40760         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40761         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40762         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40763         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40764         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40765         * sysdeps/powerpc/sysdep.h: Likewise.
40766         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40767         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40768         * sysdeps/sh/dl-trampoline.S: Likewise.
40769         * sysdeps/sh/memset.S: Likewise.
40770         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40771         * sysdeps/sh/strlen.S: Likewise.
40772         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40773         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40774         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40775         * sysdeps/sparc/sparc32/rem.S: Likewise.
40776         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40777         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40778         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40779         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40780         * sysdeps/sparc/sparc32/urem.S: Likewise.
40781         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40782         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40783         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40784         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40785         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40786         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40787         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40788         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40789         * sysdeps/unix/bsd/times.c: Likewise.
40790         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40791         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40795         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40796         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40797         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40798         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40799         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40802         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40803         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40804         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40805         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40806         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40807         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40808         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40809         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40810         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40811         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40812         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40813         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40814         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40815         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40816         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40817         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40818         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40819         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40820         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40821         * sysdeps/x86_64/strcspn.S: Likewise.
40823 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40825         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40826         generated file.  Regenerate properly from gen-translit.pl.
40827         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40828         locale/C-translit.h.
40830 2013-06-05  Andreas Schwab  <schwab@suse.de>
40832         [BZ #15100]
40833         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40834         week as 6 instead of -1.
40835         * time/tst-strptime.c (day_tests): Add test case.
40837 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40839         * sysdeps/generic/math_private.h
40840         (libc_feholdexcept_setround_53bit): Replace with
40841         libc_feholdsetround_53bit.
40842         (libc_feupdateenv_53bit): Replace with
40843         libc_feresetround_53bit.
40844         (SET_RESTORE_ROUND_53BIT): Adjust.
40846 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40848         * string/test-strchrnul.c: Add copyright header.
40850         * posix/tst-getaddrinfo4.c: Increase test timeout.
40852 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40854         [BZ #15536]
40855         * math/libm-test.inc (MAX_EXP): Remove
40856         (MIN_EXP): Define.
40857         (ulp): Use MIN_EXP - MANT_DIG.
40858         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40860 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40862         * po/be.po: Revert last change.
40863         * po/zh_CN.po: Likewise.
40864         * po/header.pot: Likewise.
40866 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40868         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40869         link-libc-deps to empty as target-specific variable.
40870         * Makerules (link-libc-args): New variable.
40871         (libc-for-link): Likewise.
40872         (link-libc-deps): Likewise.
40873         (lib%.so): Depend on $(link-libc-deps).  Link with
40874         $(link-libc-args).
40875         (build-module): Link with $(link-libc-args).
40876         (build-module-asneeded): Likewise.
40877         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40878         list of objects.
40879         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40880         target-specific variable.
40881         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40882         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40883         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40884         libc.
40885         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40886         libc and ld.so.
40887         ($(objpfx)libpcprofile.so): Likewise.
40888         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40889         libc_nonshared.a.
40890         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40891         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40892         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40893         $(link-libc-deps).
40894         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40895         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40896         * login/Makefile ($(objpfx)libutil.so): Likewise.
40897         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40898         * math/Makefile ($(objpfx)libm.so): Likewise.
40899         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40900         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40901         variable instead of depending directly on libc.
40902         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40903         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40904         $(link-libc-deps).
40905         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40906         libc.
40907         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40908         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40909         ($(objpfx)libanl.so): Likewise.
40910         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40911         ld.so.
40912         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40913         $(link-libc-deps).
40914         * sysdeps/i386/fpu/Makefile: Remove file.
40915         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40916         ($(objpfx)libm.so): Remove dependency on ld.so.
40918 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40920         [BZ # 15553]
40921         * nis/yp_xdr.c (XDRMAXNAME): Define.
40922         (XDRMAXRECORD): Define.
40923         (xdr_domainname): Use XDRMAXNAME.
40924         (xdr_mapname): Likewise.
40925         (xdr_peername): Likewise.
40926         (xdr_keydat): Use XDRMAXRECORD.
40927         (xdr_valdat): Likewise.
40929 2013-05-30  Jeff Law  <law@redhat.com>
40931         [BZ #14256]
40932         * manual/errno.texi (ESTALE): Update to account for more than
40933         just NFS file systems.
40934         * sysdeps/gnu/errlist.c: Regenerated.
40936 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40938         [BZ #15465]
40939         * elf/Makefile (tests): Add tst-null-argv.
40940         (modules-names):  Add tst-null-argv-lib.
40941         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40942         (tst-null-argv-ENV): Set environment for tst-null-argv.
40943         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40944         (RTLD_PROGNAME): New macro.
40945         * elf/tst-null-argv.c: New test case.
40946         * elf/tst-null-argv-lib.c: Library for test case.
40947         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40948         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40949         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40950         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40951         * elf/dl-init.c (call_init): Likewise.
40952         (_dl_init): Likewise.
40953         * elf/dl-load.c (print_search_path): Likewise.
40954         (_dl_map_object): Likewise.
40955         * elf/dl-lookup.c (do_lookup_x): Likewise.
40956         (add_dependency): Likewise.
40957         (_dl_lookup_symbol_x): Likewise.
40958         (_dl_debug_bindings): Likewise.
40959         * elf/dl-open.c (_dl_show_scope): Likewise.
40960         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40961         * elf/dl-version.c (match_symbol): Likewise.
40962         (_dl_check_map_versions): Likewise.
40963         * elf/rtld.c (dl_main): Likewise.
40964         (print_unresolved): Use RTLD_PROGNAME.
40965         (print_missing_version): Likewise.
40966         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40967         (elf_machine_rela): Likewise.
40968         * sysdeps/powerpc/powerpc32/dl-machine.c
40969         (__process_machine_rela): Likewise.
40970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40971         Likewise.
40972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40973         Likewise.
40974         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40975         Likewise.
40976         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40978         Likewise.
40979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40980         Likewise.
40981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40983 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40985         * po/be.po: Add descriptive title.
40986         * po/zh_CN.po: Likewise.
40987         * po/header.pot: Likewise.
40989 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40991         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40992         error message.
40993         (enlarge_archive): Likewise.
40995 2013-05-28  Ben North  <ben@redfrontdoor.org>
40997         * manual/arith.texi (frexp): It is the magnitude of the return
40998         value which lies in [0.5, 1), not the return value itself.
41000 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41004 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41006         * stdio-common/bug26.c (main): Correct fscanf template.
41008         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41009         declare _dl_skip_args.
41011         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41012         Don't declare.
41014         * manual/platform.texi: Add missing @end deftypefun.
41016 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41018         [BZ #15529]
41019         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41020         bit of mantissa of 2^16382.
41021         * math/libm-test.inc (hypot_test_data): Add more tests.
41023         * math/libm-test.inc: Add drem and pow10 to list of tested
41024         functions.
41025         (pow10_test): New function.
41026         (drem_test): Likewise.
41027         (drem_test_tonearest): Likewise.
41028         (drem_test_towardzero): Likewise.
41029         (drem_test_downward): Likewise.
41030         (drem_test_upward): Likewise.
41031         (main): Call the new functions.
41033         * math/libm-test.inc (finite_test_data): Remove.
41034         (finite_test): Run tests from isfinite_test_data.
41035         (gamma_test_data): Remove.
41036         (gamma_test): Run tests from lgamma_test_data.
41037         * sysdeps/i386/fpu/libm-test-ulps: Update.
41038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41040 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41042         * manual/platform.texi: Add PowerPC PPR function set documentation.
41043         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41044         implementation.
41046 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41048         * math/libm-test.inc (MAX_EXP): Define.
41049         (ULPDIFF): Define.
41050         (ulp): New function.
41051         (check_float_internal): Use ULPDIFF.
41052         (cpow_test): Disable failing test.
41053         (check_ulp): Test ulp() implemetnation.
41054         (main): Call check_ulp before starting tests.
41056 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41058         * math/gen-libm-test.pl (generate_testfile): Do not handle
41059         START_DATA and END_DATA.
41060         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41061         END_DATA.
41062         (acos_tonearest_test_data): Likewise.
41063         (acos_towardzero_test_data): Likewise.
41064         (acos_downward_test_data): Likewise.
41065         (acos_upward_test_data): Likewise.
41066         (acosh_test_data): Likewise.
41067         (asin_test_data): Likewise.
41068         (asin_tonearest_test_data): Likewise.
41069         (asin_towardzero_test_data): Likewise.
41070         (asin_downward_test_data): Likewise.
41071         (asin_upward_test_data): Likewise.
41072         (asinh_test_data): Likewise.
41073         (atan_test_data): Likewise.
41074         (atanh_test_data): Likewise.
41075         (atan2_test_data): Likewise.
41076         (cabs_test_data): Likewise.
41077         (cacos_test_data): Likewise.
41078         (cacosh_test_data): Likewise.
41079         (carg_test_data): Likewise.
41080         (casin_test_data): Likewise.
41081         (casinh_test_data): Likewise.
41082         (catan_test_data): Likewise.
41083         (catanh_test_data): Likewise.
41084         (cbrt_test_data): Likewise.
41085         (ccos_test_data): Likewise.
41086         (ccosh_test_data): Likewise.
41087         (ceil_test_data): Likewise.
41088         (cexp_test_data): Likewise.
41089         (cimag_test_data): Likewise.
41090         (clog_test_data): Likewise.
41091         (clog10_test_data): Likewise.
41092         (conj_test_data): Likewise.
41093         (copysign_test_data): Likewise.
41094         (cos_test_data): Likewise.
41095         (cos_tonearest_test_data): Likewise.
41096         (cos_towardzero_test_data): Likewise.
41097         (cos_downward_test_data): Likewise.
41098         (cos_upward_test_data): Likewise.
41099         (cosh_test_data): Likewise.
41100         (cosh_tonearest_test_data): Likewise.
41101         (cosh_towardzero_test_data): Likewise.
41102         (cosh_downward_test_data): Likewise.
41103         (cosh_upward_test_data): Likewise.
41104         (cpow_test_data): Likewise.
41105         (cproj_test_data): Likewise.
41106         (creal_test_data): Likewise.
41107         (csin_test_data): Likewise.
41108         (csinh_test_data): Likewise.
41109         (csqrt_test_data): Likewise.
41110         (ctan_test_data): Likewise.
41111         (ctan_tonearest_test_data): Likewise.
41112         (ctan_towardzero_test_data): Likewise.
41113         (ctan_downward_test_data): Likewise.
41114         (ctan_upward_test_data): Likewise.
41115         (ctanh_test_data): Likewise.
41116         (ctanh_tonearest_test_data): Likewise.
41117         (ctanh_towardzero_test_data): Likewise.
41118         (ctanh_downward_test_data): Likewise.
41119         (ctanh_upward_test_data): Likewise.
41120         (erf_test_data): Likewise.
41121         (erfc_test_data): Likewise.
41122         (exp_test_data): Likewise.
41123         (exp_tonearest_test_data): Likewise.
41124         (exp_towardzero_test_data): Likewise.
41125         (exp_downward_test_data): Likewise.
41126         (exp_upward_test_data): Likewise.
41127         (exp10_test_data): Likewise.
41128         (exp2_test_data): Likewise.
41129         (expm1_test_data): Likewise.
41130         (fabs_test_data): Likewise.
41131         (fdim_test_data): Likewise.
41132         (finite_test_data): Likewise.
41133         (floor_test_data): Likewise.
41134         (fma_test_data): Likewise.
41135         (fma_towardzero_test_data): Likewise.
41136         (fma_downward_test_data): Likewise.
41137         (fma_upward_test_data): Likewise.
41138         (fmax_test_data): Likewise.
41139         (fmin_test_data): Likewise.
41140         (fmod_test_data): Likewise.
41141         (fpclassify_test_data): Likewise.
41142         (frexp_test_data): Likewise.
41143         (gamma_test_data): Likewise.
41144         (hypot_test_data): Likewise.
41145         (ilogb_test_data): Likewise.
41146         (isfinite_test_data): Likewise.
41147         (isgreater_test_data): Likewise.
41148         (isgreaterequal_test_data): Likewise.
41149         (isinf_test_data): Likewise.
41150         (isless_test_data): Likewise.
41151         (islessequal_test_data): Likewise.
41152         (islessgreater_test_data): Likewise.
41153         (isnan_test_data): Likewise.
41154         (isnormal_test_data): Likewise.
41155         (issignaling_test_data): Likewise.
41156         (isunordered_test_data): Likewise.
41157         (j0_test_data): Likewise.
41158         (j1_test_data): Likewise.
41159         (jn_test_data): Likewise.
41160         (ldexp_test_data): Likewise.
41161         (lgamma_test_data): Likewise.
41162         (lrint_test_data): Likewise.
41163         (lrint_tonearest_test_data): Likewise.
41164         (lrint_towardzero_test_data): Likewise.
41165         (lrint_downward_test_data): Likewise.
41166         (lrint_upward_test_data): Likewise.
41167         (llrint_test_data): Likewise.
41168         (llrint_tonearest_test_data): Likewise.
41169         (llrint_towardzero_test_data): Likewise.
41170         (llrint_downward_test_data): Likewise.
41171         (llrint_upward_test_data): Likewise.
41172         (log_test_data): Likewise.
41173         (log10_test_data): Likewise.
41174         (log1p_test_data): Likewise.
41175         (log2_test_data): Likewise.
41176         (logb_test_data): Likewise.
41177         (logb_downward_test_data): Likewise.
41178         (lround_test_data): Likewise.
41179         (llround_test_data): Likewise.
41180         (modf_test_data): Likewise.
41181         (nearbyint_test_data): Likewise.
41182         (nextafter_test_data): Likewise.
41183         (nexttoward_test_data): Likewise.
41184         (pow_test_data): Likewise.
41185         (pow_tonearest_test_data): Likewise.
41186         (pow_towardzero_test_data): Likewise.
41187         (pow_downward_test_data): Likewise.
41188         (pow_upward_test_data): Likewise.
41189         (remainder_test_data): Likewise.
41190         (remainder_tonearest_test_data): Likewise.
41191         (remainder_towardzero_test_data): Likewise.
41192         (remainder_downward_test_data): Likewise.
41193         (remainder_upward_test_data): Likewise.
41194         (remquo_test_data): Likewise.
41195         (rint_test_data): Likewise.
41196         (rint_tonearest_test_data): Likewise.
41197         (rint_towardzero_test_data): Likewise.
41198         (rint_downward_test_data): Likewise.
41199         (rint_upward_test_data): Likewise.
41200         (round_test_data): Likewise.
41201         (scalb_test_data): Likewise.
41202         (scalbn_test_data): Likewise.
41203         (scalbln_test_data): Likewise.
41204         (signbit_test_data): Likewise.
41205         (sin_test_data): Likewise.
41206         (sin_tonearest_test_data): Likewise.
41207         (sin_towardzero_test_data): Likewise.
41208         (sin_downward_test_data): Likewise.
41209         (sin_upward_test_data): Likewise.
41210         (sincos_test_data): Likewise.
41211         (sinh_test_data): Likewise.
41212         (sinh_tonearest_test_data): Likewise.
41213         (sinh_towardzero_test_data): Likewise.
41214         (sinh_downward_test_data): Likewise.
41215         (sinh_upward_test_data): Likewise.
41216         (sqrt_test_data): Likewise.
41217         (tan_test_data): Likewise.
41218         (tan_tonearest_test_data): Likewise.
41219         (tan_towardzero_test_data): Likewise.
41220         (tan_downward_test_data): Likewise.
41221         (tan_upward_test_data): Likewise.
41222         (tanh_test_data): Likewise.
41223         (tgamma_test_data): Likewise.
41224         (trunc_test_data): Likewise.
41225         (y0_test_data): Likewise.
41226         (y1_test_data): Likewise.
41227         (yn_test_data): Likewise.
41228         (significand_test_data): Likewise.
41230         * math/gen-libm-test.pl (@functions): Remove variable.
41231         (generate_testfile): Don't handle START and END lines.
41232         * math/libm-test.inc (START): New macro.
41233         (END): Likewise.
41234         (END_COMPLEX): Likewise.
41235         (acos_test): Use END macro without arguments.
41236         (acos_test_tonearest): Likewise.
41237         (acos_test_towardzero): Likewise.
41238         (acos_test_downward): Likewise.
41239         (acos_test_upward): Likewise.
41240         (acosh_test): Likewise.
41241         (asin_test): Likewise.
41242         (asin_test_tonearest): Likewise.
41243         (asin_test_towardzero): Likewise.
41244         (asin_test_downward): Likewise.
41245         (asin_test_upward): Likewise.
41246         (asinh_test): Likewise.
41247         (atan_test): Likewise.
41248         (atanh_test): Likewise.
41249         (atan2_test): Likewise.
41250         (cabs_test): Likewise.
41251         (cacos_test): Use END_COMPLEX macro without arguments.
41252         (cacosh_test): Likewise.
41253         (carg_test): Use END macro without arguments.
41254         (casin_test): Use END_COMPLEX macro without arguments.
41255         (casinh_test): Likewise.
41256         (catan_test): Likewise.
41257         (catanh_test): Likewise.
41258         (cbrt_test): Use END macro without arguments.
41259         (ccos_test): Use END_COMPLEX macro without arguments.
41260         (ccosh_test): Likewise.
41261         (ceil_test): Use END macro without arguments.
41262         (cexp_test): Use END_COMPLEX macro without arguments.
41263         (cimag_test): Use END macro without arguments.
41264         (clog_test): Use END_COMPLEX macro without arguments.
41265         (clog10_test): Likewise.
41266         (conj_test): Likewise.
41267         (copysign_test): Use END macro without arguments.
41268         (cos_test): Likewise.
41269         (cos_test_tonearest): Likewise.
41270         (cos_test_towardzero): Likewise.
41271         (cos_test_downward): Likewise.
41272         (cos_test_upward): Likewise.
41273         (cosh_test): Likewise.
41274         (cosh_test_tonearest): Likewise.
41275         (cosh_test_towardzero): Likewise.
41276         (cosh_test_downward): Likewise.
41277         (cosh_test_upward): Likewise.
41278         (cpow_test): Use END_COMPLEX macro without arguments.
41279         (cproj_test): Likewise.
41280         (creal_test): Use END macro without arguments.
41281         (csin_test): Use END_COMPLEX macro without arguments.
41282         (csinh_test): Likewise.
41283         (csqrt_test): Likewise.
41284         (ctan_test): Likewise.
41285         (ctan_test_tonearest): Likewise.
41286         (ctan_test_towardzero): Likewise.
41287         (ctan_test_downward): Likewise.
41288         (ctan_test_upward): Likewise.
41289         (ctanh_test): Likewise.
41290         (ctanh_test_tonearest): Likewise.
41291         (ctanh_test_towardzero): Likewise.
41292         (ctanh_test_downward): Likewise.
41293         (ctanh_test_upward): Likewise.
41294         (erf_test): Use END macro without arguments.
41295         (erfc_test): Likewise.
41296         (exp_test): Likewise.
41297         (exp_test_tonearest): Likewise.
41298         (exp_test_towardzero): Likewise.
41299         (exp_test_downward): Likewise.
41300         (exp_test_upward): Likewise.
41301         (exp10_test): Likewise.
41302         (exp2_test): Likewise.
41303         (expm1_test): Likewise.
41304         (fabs_test): Likewise.
41305         (fdim_test): Likewise.
41306         (finite_test): Likewise.
41307         (floor_test): Likewise.
41308         (fma_test): Likewise.
41309         (fma_test_towardzero): Likewise.
41310         (fma_test_downward): Likewise.
41311         (fma_test_upward): Likewise.
41312         (fmax_test): Likewise.
41313         (fmin_test): Likewise.
41314         (fmod_test): Likewise.
41315         (fpclassify_test): Likewise.
41316         (frexp_test): Likewise.
41317         (gamma_test): Likewise.
41318         (hypot_test): Likewise.
41319         (ilogb_test): Likewise.
41320         (isfinite_test): Likewise.
41321         (isgreater_test): Likewise.
41322         (isgreaterequal_test): Likewise.
41323         (isinf_test): Likewise.
41324         (isless_test): Likewise.
41325         (islessequal_test): Likewise.
41326         (islessgreater_test): Likewise.
41327         (isnan_test): Likewise.
41328         (isnormal_test): Likewise.
41329         (issignaling_test): Likewise.
41330         (isunordered_test): Likewise.
41331         (j0_test): Likewise.
41332         (j1_test): Likewise.
41333         (jn_test): Likewise.
41334         (ldexp_test): Likewise.
41335         (lgamma_test): Likewise.
41336         (lrint_test): Likewise.
41337         (lrint_test_tonearest): Likewise.
41338         (lrint_test_towardzero): Likewise.
41339         (lrint_test_downward): Likewise.
41340         (lrint_test_upward): Likewise.
41341         (llrint_test): Likewise.
41342         (llrint_test_tonearest): Likewise.
41343         (llrint_test_towardzero): Likewise.
41344         (llrint_test_downward): Likewise.
41345         (llrint_test_upward): Likewise.
41346         (log_test): Likewise.
41347         (log10_test): Likewise.
41348         (log1p_test): Likewise.
41349         (log2_test): Likewise.
41350         (logb_test): Likewise.
41351         (logb_test_downward): Likewise.
41352         (lround_test): Likewise.
41353         (llround_test): Likewise.
41354         (modf_test): Likewise.
41355         (nearbyint_test): Likewise.
41356         (nextafter_test): Likewise.
41357         (nexttoward_test): Likewise.
41358         (pow_test): Likewise.
41359         (pow_test_tonearest): Likewise.
41360         (pow_test_towardzero): Likewise.
41361         (pow_test_downward): Likewise.
41362         (pow_test_upward): Likewise.
41363         (remainder_test): Likewise.
41364         (remainder_test_tonearest): Likewise.
41365         (remainder_test_towardzero): Likewise.
41366         (remainder_test_downward): Likewise.
41367         (remainder_test_upward): Likewise.
41368         (remquo_test): Likewise.
41369         (rint_test): Likewise.
41370         (rint_test_tonearest): Likewise.
41371         (rint_test_towardzero): Likewise.
41372         (rint_test_downward): Likewise.
41373         (rint_test_upward): Likewise.
41374         (round_test): Likewise.
41375         (scalb_test): Likewise.
41376         (scalbn_test): Likewise.
41377         (scalbln_test): Likewise.
41378         (signbit_test): Likewise.
41379         (sin_test): Likewise.
41380         (sin_test_tonearest): Likewise.
41381         (sin_test_towardzero): Likewise.
41382         (sin_test_downward): Likewise.
41383         (sin_test_upward): Likewise.
41384         (sincos_test): Likewise.
41385         (sinh_test): Likewise.
41386         (sinh_test_tonearest): Likewise.
41387         (sinh_test_towardzero): Likewise.
41388         (sinh_test_downward): Likewise.
41389         (sinh_test_upward): Likewise.
41390         (sqrt_test): Likewise.
41391         (tan_test): Likewise.
41392         (tan_test_tonearest): Likewise.
41393         (tan_test_towardzero): Likewise.
41394         (tan_test_downward): Likewise.
41395         (tan_test_upward): Likewise.
41396         (tanh_test): Likewise.
41397         (tgamma_test): Likewise.
41398         (trunc_test): Likewise.
41399         (y0_test): Likewise.
41400         (y1_test): Likewise.
41401         (yn_test): Likewise.
41402         (significand_test): Likewise.
41404 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41406         [BZ #15381]
41407         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41409 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41411         [BZ #14894]
41412         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41413         __ppc_mdoio and __ppc_mdoom.
41414         * manual/platform.texi: Document new functions __ppc_yield,
41415         __ppc_mdoio and __ppc_mdoom.
41417 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41419         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41420         (main): Mention "tls" pseudo-hwcap is legacy.
41421         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41423 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41425         * math/gen-libm-test.pl (parse_args): Output only string of
41426         arguments as text for test name, not full call or descriptions of
41427         tests for extra outputs.
41428         (generate_testfile): Do not pass function name to parse_args.
41429         Generate this_func variable from START.
41430         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41431         field to arg_str.
41432         (struct test_ff_f_data): Likewise.
41433         (test_ff_f_data_nexttoward): Likewise.
41434         (struct test_fi_f_data): Likewise.
41435         (struct test_fl_f_data): Likewise.
41436         (struct test_if_f_data): Likewise.
41437         (struct test_fff_f_data): Likewise.
41438         (struct test_c_f_data): Likewise.
41439         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41440         (struct test_fF_f1_data): Likewise.
41441         (struct test_ffI_f1_data): Likewise.
41442         (struct test_c_c_data): Rename test_name field to arg_str.
41443         (struct test_cc_c_data): Likewise.
41444         (struct test_f_i_data): Likewise.
41445         (struct test_ff_i_data): Likewise.
41446         (struct test_f_l_data): Likewise.
41447         (struct test_f_L_data): Likewise.
41448         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41449         and extra2_name.
41450         (COMMON_TEST_SETUP): New macro.
41451         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41452         (COMMON_TEST_CLEANUP): Likewise.
41453         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41454         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41455         macros.
41456         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41457         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41458         macros.
41459         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41460         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41461         cleanup macros.
41462         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41463         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41464         macros.
41465         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41466         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41467         macros.
41468         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41469         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41470         cleanup macros.
41471         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41472         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41473         cleanup macros.
41474         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41475         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41476         cleanup macros.
41477         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41478         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41479         macros.
41480         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41481         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41482         macros.
41483         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41484         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41485         macros.
41486         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41487         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41488         cleanup macros.
41489         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41490         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41491         cleanup macros.
41492         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41493         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41494         macros.
41495         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41496         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41497         cleanup macros.
41498         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41499         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41500         macros.
41501         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41502         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41503         macros.
41504         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41505         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41506         cleanup macros.
41507         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41509 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41511         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41512         to _sifields.sigfault.
41513         (si_addr_lsb): Define new macro.
41514         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41518 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41520         [BZ #15441]
41521         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41522         returns -1.
41523         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41524         null return -1.
41525         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41526         loading the domain.
41528 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41530         * math/gen-libm-test.pl (parse_args): Do not include expected
41531         result in test name.
41532         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41533         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41534         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41535         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41539 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41541         * benchtests/Makefile: Sort function entries.
41543         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41544         tanh, asinh, acosh, atanh.
41545         * benchtests/acos-inputs: New file.
41546         * benchtests/acosh-inputs: New file.
41547         * benchtests/asin-inputs: New file.
41548         * benchtests/asinh-inputs: New file.
41549         * benchtests/atanh-inputs: New file.
41550         * benchtests/cosh-inputs: New file.
41551         * benchtests/log-inputs: New file.
41552         * benchtests/sinh-inputs: New file.
41553         * benchtests/tanh-inputs: New file.
41555 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41557         [BZ #15339]
41558         * posix/tst-getaddrinfo4.c: New test.
41559         * posix/Makefile (tests): Add it.
41561 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41563         [BZ #15339]
41564         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41565         when no services were used.
41566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41567         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41569 2013-05-21  Andreas Schwab  <schwab@suse.de>
41571         [BZ #15014]
41572         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41573         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41574         successful.
41575         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41576         redundant variable declarations and reallocation of buffer when
41577         parsing as IPv6 address.  Always set NSS status when called from
41578         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41579         buffer too small.  Correct computation of needed size.
41580         * nss/Makefile (tests): Add test-digits-dots.
41581         * nss/test-digits-dots.c: New test.
41583 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41585         * benchtests/Makefile: Remove instructions for adding
41586         benchmark tests.
41587         * benchtests/README: New file to explain how to execute and
41588         enhance the benchmark tests.
41590 2013-05-21  Andreas Schwab  <schwab@suse.de>
41592         [BZ #15493]
41593         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41594         * setjmp/tst-sigsetjmp.c: New test.
41596 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41598         * sysdeps/x86_64/memset.S (memset): New implementation.
41599         (__bzero): Likewise.
41600         (__memset_tail): New function.
41602 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41604         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41605         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41606         __memcpy_sse2_unaligned ifunc selection.
41607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41608         Add memcpy-sse2-unaligned.S.
41609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41610         Add: __memcpy_sse2_unaligned.
41612 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41614         [BZ #15490]
41615         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41616         math_force_eval before restoring floating-point envrionment.
41617         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41619         Likewise.
41620         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41621         <math_private.h>.
41622         (__nearbyintl): Use math_force_eval before restoring
41623         floating-point environment.
41624         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41626         * math/gen-libm-test.pl (special_functions): Remove.
41627         (parse_args): Don't handle TEST_extra.  Handle functions with no
41628         return value.
41629         * math/libm-test.inc (struct test_sincos_data): Replace with
41630         struct test_fFF_11_data.
41631         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41632         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41633         (sincos_test_data): Change element type to struct
41634         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41635         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41636         RUN_TEST_LOOP_sincos.
41637         * math/README.libm-test: Don't mention special handling of
41638         individual functions.
41639         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41640         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41641         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41642         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41643         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41646         * math/gen-libm-test.pl (get_variable): Remove function.
41647         (parse_args): Don't show pointer parameters to call in test
41648         names.  Use "extra output N" in test names for extra outputs
41649         rather than naming variables.
41651 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41653         [BZ #15488]
41654         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41655         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41656         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41657         double tests.
41658         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41659         disable.
41660         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41661         check_long_double.
41663         * math/gen-libm-test.pl (@tests): Remove variable.
41664         ($count): Likewise.
41665         (new_test): Remove function.
41666         (show_exceptions): New function.
41667         (special_functions): Use show_exceptions instead of new_test.
41668         (parse_args): Likewise.
41669         (generate_testfile): Pass only function name in generated call to
41670         print_max_error or print_complex_max_error.
41671         (get_ulps): Do not handle complex tests specially.
41672         (output_test): Rename to ...
41673         (get_all_ulps_for_test): ... this.  Return a string rather than
41674         printing to a file.  Require ulps to be present.
41675         (output_ulps): Generate arrays rather than #defines.
41676         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41677         (struct ulp_data): New type.
41678         (BUILD_COMPLEX_ULP): Remove macro.
41679         (compare_ulp_data): New function.
41680         (find_ulps): Likewise.
41681         (find_test_ulps): Likewise.
41682         (find_function_ulps): Likewise.
41683         (find_complex_function_ulps): Likewise.
41684         (print_max_error): Determine allowed ulps using
41685         find_function_ulps.
41686         (print_complex_max_error): Determine allowed ulps using
41687         find_complex_function_ulps.
41688         (check_float_internal): Determine max ulps using find_test_ulps.
41689         (check_float): Do not take max_ulp parameter.  Update call to
41690         check_float_internal.
41691         (check_complex): Likewise.
41692         (check_int): Do not take max_ulp parameter.
41693         (check_long): Likewise.
41694         (check_bool): Likewise.
41695         (check_longlong): Likewise.
41696         (struct test_f_f_data): Remove max_ulp field.
41697         (struct test_ff_f_data): Likewise.
41698         (struct test_ff_f_data_nexttoward): Likewise.
41699         (struct test_fi_f_data): Likewise.
41700         (struct test_fl_f_data): Likewise.
41701         (struct test_if_f_data): Likewise.
41702         (struct test_fff_f_data): Likewise.
41703         (struct test_c_f_data): Likewise.
41704         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41705         (struct test_fF_f1_data): Likewise.
41706         (struct test_ffI_f1_data): Likewise.
41707         (struct test_c_c_data): Remove max_ulp field.
41708         (struct test_cc_c_data): Likewise.
41709         (struct test_f_i_data): Likewise.
41710         (struct test_ff_i_data): Likewise.
41711         (struct test_f_l_data): Likewise.
41712         (struct test_f_L_data): Likewise.
41713         (struct test_sincos_data): Likewise.
41714         (RUN_TEST_f_f): Do not handle ulps.
41715         (RUN_TEST_LOOP_f_f): Likewise.
41716         (RUN_TEST_2_f): Likewise.
41717         (RUN_TEST_LOOP_2_f): Likewise.
41718         (RUN_TEST_fff_f): Likewise.
41719         (RUN_TEST_LOOP_fff_f): Likewise.
41720         (RUN_TEST_c_f): Likewise.
41721         (RUN_TEST_LOOP_c_f): Likewise.
41722         (RUN_TEST_f_f1): Likewise.
41723         (RUN_TEST_LOOP_f_f1): Likewise.
41724         (RUN_TEST_fF_f1): Likewise.
41725         (RUN_TEST_LOOP_fF_f1): Likewise.
41726         (RUN_TEST_fI_f1): Likewise.
41727         (RUN_TEST_LOOP_fI_f1): Likewise.
41728         (RUN_TEST_ffI_f1): Likewise.
41729         (RUN_TEST_LOOP_ffI_f1): Likewise.
41730         (RUN_TEST_c_c): Likewise.
41731         (RUN_TEST_LOOP_c_c): Likewise.
41732         (RUN_TEST_cc_c): Likewise.
41733         (RUN_TEST_LOOP_cc_c): Likewise.
41734         (RUN_TEST_f_i): Likewise.
41735         (RUN_TEST_LOOP_f_i): Likewise.
41736         (RUN_TEST_f_i_tg): Likewise.
41737         (RUN_TEST_LOOP_f_i_tg): Likewise.
41738         (RUN_TEST_ff_i_tg): Likewise.
41739         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41740         (RUN_TEST_f_b): Likewise.
41741         (RUN_TEST_LOOP_f_b): Likewise.
41742         (RUN_TEST_f_b_tg): Likewise.
41743         (RUN_TEST_LOOP_f_b_tg): Likewise.
41744         (RUN_TEST_f_l): Likewise.
41745         (RUN_TEST_LOOP_f_l): Likewise.
41746         (RUN_TEST_f_L): Likewise.
41747         (RUN_TEST_LOOP_f_L): Likewise.
41748         (RUN_TEST_sincos): Likewise.
41749         (RUN_TEST_LOOP_sincos): Likewise.
41751 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41753         [BZ #15480]
41754         [BZ #15485]
41755         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41756         main case of finite arguments, set rounding mode to FE_TONEAREST
41757         and discard exceptions.
41758         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41759         exceptions.
41760         (remainder_tonearest_test_data): New variable.
41761         (remainder_test_tonearest): New function.
41762         (remainder_towardzero_test_data): New variable.
41763         (remainder_test_towardzero): New function.
41764         (remainder_downward_test_data): New variable.
41765         (remainder_test_downward): New function.
41766         (remainder_upward_test_data): New variable.
41767         (remainder_test_upward): New function.
41768         (main): Call the new test functions.
41770         * math/libm-test.inc (struct test_f_f1_data): Remove field
41771         extra_init.
41772         (struct test_fF_f1_data): Likewise.
41773         (struct test_ffI_f1_data): Likewise.
41774         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41775         based on value of EXTRA_EXPECTED.
41776         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41777         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41778         EXTRA_VAR based on value of EXTRA_EXPECTED.
41779         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41780         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41781         EXTRA_VAR based on value of EXTRA_EXPECTED.
41782         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41783         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41784         EXTRA_VAR based on value of EXTRA_EXPECTED.
41785         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41786         * math/gen-libm-test.pl (parse_args): Don't output initializers
41787         for extra output values.
41789         * math/libm-test.inc (check_int): Expect result to be exactly
41790         equal to expected value and do not handle ulps.
41791         (check_long): Likewise.
41792         (check_longlong): Likewise.
41794         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41795         exceptions.
41796         (cimag_test_data): Likewise.
41797         (conj_test_data): Likewise.
41798         (copysign_test_data): Likewise.
41799         (cproj_test_data): Likewise.
41800         (creal_test_data): Likewise.
41801         (fabs_test_data): Likewise.
41802         (fdim_test_data): Likewise.
41803         (finite_test_data): Likewise.
41804         (floor_test_data): Likewise.
41805         (fmax_test_data): Likewise.
41806         (fmin_test_data): Likewise.
41807         (fmod_test_data): Likewise.
41808         (fpclassify_test_data): Likewise.
41809         (frexp_test_data): Likewise.
41810         (ilogb_test_data): Likewise.
41811         (isfinite_test_data): Likewise.
41812         (isgreater_test_data): Likewise.
41813         (isgreaterequal_test_data): Likewise.
41814         (isinf_test_data): Likewise.
41815         (isless_test_data): Likewise.
41816         (islessequal_test_data): Likewise.
41817         (islessgreater_test_data): Likewise.
41818         (isnan_test_data): Likewise.
41819         (isnormal_test_data): Likewise.
41820         (issignaling_test_data): Likewise.
41821         (isunordered_test_data): Likewise.
41822         (ldexp_test_data): Likewise.
41823         (lrint_test_data): Likewise.
41824         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41825         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41826         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41827         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41828         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41829         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41830         test input.
41831         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41832         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41833         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41834         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41835         that test input.
41836         (lrint_downward_test_data): Test for "inexact" exceptions.
41837         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41838         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41839         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41840         test input.
41841         (lrint_upward_test_data): Test for "inexact" exceptions.
41842         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41843         test input.
41844         (llrint_test_data): Test for "inexact" exceptions.
41845         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41846         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41847         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41848         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41849         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41850         (llrint_downward_test_data): Test for "inexact" exceptions.
41851         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41852         (llrint_upward_test_data): Test for "inexact" exceptions.
41853         (logb_test_data): Likewise.
41854         (logb_downward_test_data): Likewise.
41855         (nextafter_test_data): Likewise.
41856         (nexttoward_test_data): Likewise.
41857         (remainder_test_data): Likewise.
41858         (remquo_test_data): Likewise.
41859         (scalbn_test_data): Likewise.
41860         (scalbln_test_data): Likewise.
41861         (signbit_test_data): Likewise.
41862         (sqrt_test_data): Likewise.
41863         (significand_test_data): Likewise.
41865 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41867         [BZ #15424]
41868         * benchtests/bench-modf.c (struct args): Mark arg0 as
41869         volatile.
41870         * scripts/bench.pl: Mark members of struct args as volatile.
41872 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41874         [BZ # 15497]
41875         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41876         negative infinity on POWER6 or lower.
41877         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41879 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41881         [BZ #15442]
41882         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41883         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41884         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41885         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41886         (_FP_SETQNAN): New macro.
41887         (_FP_SETQNAN_SEMIRAW): Likewise.
41888         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41889         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41890         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41891         (FP_EXTEND): Use _FP_FRAC_SNANP.
41892         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41893         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41894         into account.
41895         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41896         New macro.
41897         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41898         Likewise.
41900 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41902         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41903         with DIVIDE_BY_ZERO_EXCEPTION.
41904         (gamma_test_data): Likewise.
41905         (lgamma_test_data): Likewise.
41906         (log_test_data): Likewise.
41907         (log10_test_data): Likewise.
41908         (log2_test_data): Likewise.
41909         (tgamma_test_data): Likewise.
41911         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41912         (acos_test_tonearest): Likewise.
41913         (acos_test_towardzero): Likewise.
41914         (acos_test_downward): Likewise.
41915         (acos_test_upward): Likewise.
41916         (acosh_test): Likewise.
41917         (asin_test): Likewise.
41918         (asin_test_tonearest): Likewise.
41919         (asin_test_towardzero): Likewise.
41920         (asin_test_downward): Likewise.
41921         (asin_test_upward): Likewise.
41922         (asinh_test): Likewise.
41923         (atan_test): Likewise.
41924         (atanh_test): Likewise.
41925         (atan2_test): Likewise.
41926         (cabs_test): Likewise.
41927         (cacos_test): Likewise.
41928         (cacosh_test): Likewise.
41929         (casin_test): Likewise.
41930         (casinh_test): Likewise.
41931         (catan_test): Likewise.
41932         (catanh_test): Likewise.
41933         (cbrt_test): Likewise.
41934         (ccos_test): Likewise.
41935         (ccosh_test): Likewise.
41936         (cexp_test): Likewise.
41937         (clog_test): Likewise.
41938         (clog10_test): Likewise.
41939         (cos_test): Likewise.
41940         (cos_test_tonearest): Likewise.
41941         (cos_test_towardzero): Likewise.
41942         (cos_test_downward): Likewise.
41943         (cos_test_upward): Likewise.
41944         (cosh_test): Likewise.
41945         (cosh_test_tonearest): Likewise.
41946         (cosh_test_towardzero): Likewise.
41947         (cosh_test_downward): Likewise.
41948         (cosh_test_upward): Likewise.
41949         (cpow_test): Likewise.
41950         (csin_test): Likewise.
41951         (csinh_test): Likewise.
41952         (csqrt_test): Likewise.
41953         (ctan_test): Likewise.
41954         (ctan_test_tonearest): Likewise.
41955         (ctan_test_towardzero): Likewise.
41956         (ctan_test_downward): Likewise.
41957         (ctan_test_upward): Likewise.
41958         (ctanh_test): Likewise.
41959         (ctanh_test_tonearest): Likewise.
41960         (ctanh_test_towardzero): Likewise.
41961         (ctanh_test_downward): Likewise.
41962         (ctanh_test_upward): Likewise.
41963         (erf_test): Likewise.
41964         (erfc_test): Likewise.
41965         (exp_test): Likewise.
41966         (exp_test_tonearest): Likewise.
41967         (exp_test_towardzero): Likewise.
41968         (exp_test_downward): Likewise.
41969         (exp_test_upward): Likewise.
41970         (exp10_test): Likewise.
41971         (exp2_test): Likewise.
41972         (expm1_test): Likewise.
41973         (fmod_test): Likewise.
41974         (gamma_test): Likewise.
41975         (hypot_test): Likewise.
41976         (j0_test): Likewise.
41977         (j1_test): Likewise.
41978         (jn_test): Likewise.
41979         (lgamma_test): Likewise.
41980         (log_test): Likewise.
41981         (log10_test): Likewise.
41982         (log1p_test): Likewise.
41983         (log2_test): Likewise.
41984         (logb_test_downward): Likewise.
41985         (pow_test): Likewise.
41986         (pow_test_tonearest): Likewise.
41987         (pow_test_towardzero): Likewise.
41988         (pow_test_downward): Likewise.
41989         (pow_test_upward): Likewise.
41990         (remainder_test): Likewise.
41991         (remquo_test): Likewise.
41992         (sin_test): Likewise.
41993         (sin_test_tonearest): Likewise.
41994         (sin_test_towardzero): Likewise.
41995         (sin_test_downward): Likewise.
41996         (sin_test_upward): Likewise.
41997         (sincos_test): Likewise.
41998         (sinh_test): Likewise.
41999         (sinh_test_tonearest): Likewise.
42000         (sinh_test_towardzero): Likewise.
42001         (sinh_test_downward): Likewise.
42002         (sinh_test_upward): Likewise.
42003         (sqrt_test): Likewise.
42004         (tan_test): Likewise.
42005         (tan_test_tonearest): Likewise.
42006         (tan_test_towardzero): Likewise.
42007         (tan_test_downward): Likewise.
42008         (tan_test_upward): Likewise.
42009         (tanh_test): Likewise.
42010         (tgamma_test): Likewise.
42011         (y0_test): Likewise.
42012         (y1_test): Likewise.
42013         (yn_test): Likewise.
42015         * math/gen-libm-test.pl (adjust_arg): Remove function.
42016         (special_function): Remove argument $in_func.  Only handle
42017         generating output for tables of tests, not inside functions.
42018         (parse_args): Likewise.
42019         (generate_testfile): Remove variable $in_func.  Update call to
42020         parse_args.
42021         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42022         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42023         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42024         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42025         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42026         (MAX_VALUE_INIT): Rename macro to max_value.
42027         (MIN_VALUE_INIT): Rename macro to min_value.
42028         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42029         (plus_zero): Remove variable.
42030         (minus_zero): Likewise.
42031         (plus_infty): Likewise.
42032         (minus_infty): Likewise.
42033         (qnan_value): Likewise.
42034         (max_value): Likewise.
42035         (min_value): Likewise.
42036         (min_subnorm_value): Likewise.
42038 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42040         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42041         uint64_t or uint32_t usage.
42042         * crypt/sha256-block.c: Likewise.
42043         * crypt/sha256-crypt.c: Likewise.
42044         * crypt/sha256.c: Likewise.
42045         * crypt/sha512-block.c: Likewise.
42046         * crypt/sha512-crypt.c: Likewise.
42047         * crypt/sha512.c: Likewise.
42048         * debug/backtrace-tst.c: Likewise.
42049         * debug/pcprofiledump.c: Likewise.
42050         * elf/cache.c: Likewise.
42051         * elf/dl-cache.c: Likewise.
42052         * elf/dl-misc.c: Likewise.
42053         * elf/dl-profile.c: Likewise.
42054         * elf/dl-support.c: Likewise.
42055         * elf/ldconfig.c: Likewise.
42056         * elf/sprof.c: Likewise.
42057         * iconv/dummy-repertoire.c: Likewise.
42058         * iconv/iconv_charmap.c: Likewise.
42059         * iconv/skeleton.c: Likewise.
42060         * iconvdata/8bit-generic.c: Likewise.
42061         * iconvdata/cp737.h: Likewise.
42062         * iconvdata/cp775.h: Likewise.
42063         * iconvdata/ibm1008.h: Likewise.
42064         * iconvdata/ibm1025.h: Likewise.
42065         * iconvdata/ibm1046.h: Likewise.
42066         * iconvdata/ibm1097.h: Likewise.
42067         * iconvdata/ibm1112.h: Likewise.
42068         * iconvdata/ibm1122.h: Likewise.
42069         * iconvdata/ibm1123.h: Likewise.
42070         * iconvdata/ibm1124.h: Likewise.
42071         * iconvdata/ibm1129.h: Likewise.
42072         * iconvdata/ibm1130.h: Likewise.
42073         * iconvdata/ibm1132.h: Likewise.
42074         * iconvdata/ibm1133.h: Likewise.
42075         * iconvdata/ibm1137.h: Likewise.
42076         * iconvdata/ibm1140.h: Likewise.
42077         * iconvdata/ibm1141.h: Likewise.
42078         * iconvdata/ibm1142.h: Likewise.
42079         * iconvdata/ibm1143.h: Likewise.
42080         * iconvdata/ibm1144.h: Likewise.
42081         * iconvdata/ibm1145.h: Likewise.
42082         * iconvdata/ibm1146.h: Likewise.
42083         * iconvdata/ibm1147.h: Likewise.
42084         * iconvdata/ibm1148.h: Likewise.
42085         * iconvdata/ibm1149.h: Likewise.
42086         * iconvdata/ibm1153.h: Likewise.
42087         * iconvdata/ibm1154.h: Likewise.
42088         * iconvdata/ibm1155.h: Likewise.
42089         * iconvdata/ibm1156.h: Likewise.
42090         * iconvdata/ibm1157.h: Likewise.
42091         * iconvdata/ibm1158.h: Likewise.
42092         * iconvdata/ibm1160.h: Likewise.
42093         * iconvdata/ibm1161.h: Likewise.
42094         * iconvdata/ibm1162.h: Likewise.
42095         * iconvdata/ibm1163.h: Likewise.
42096         * iconvdata/ibm1164.h: Likewise.
42097         * iconvdata/ibm1166.h: Likewise.
42098         * iconvdata/ibm1167.h: Likewise.
42099         * iconvdata/ibm12712.h: Likewise.
42100         * iconvdata/ibm1390.h: Likewise.
42101         * iconvdata/ibm1399.h: Likewise.
42102         * iconvdata/ibm16804.h: Likewise.
42103         * iconvdata/ibm4517.h: Likewise.
42104         * iconvdata/ibm4899.h: Likewise.
42105         * iconvdata/ibm4909.h: Likewise.
42106         * iconvdata/ibm4971.h: Likewise.
42107         * iconvdata/ibm5347.h: Likewise.
42108         * iconvdata/ibm803.h: Likewise.
42109         * iconvdata/ibm856.h: Likewise.
42110         * iconvdata/ibm901.h: Likewise.
42111         * iconvdata/ibm902.h: Likewise.
42112         * iconvdata/ibm9030.h: Likewise.
42113         * iconvdata/ibm9066.h: Likewise.
42114         * iconvdata/ibm921.h: Likewise.
42115         * iconvdata/ibm922.h: Likewise.
42116         * iconvdata/ibm9448.h: Likewise.
42117         * iconvdata/isiri-3342.h: Likewise.
42118         * iconvdata/jis0201.h: Likewise.
42119         * include/link.h: Likewise.
42120         * include/netdb.h: Likewise.
42121         * inet/check_native.c: Likewise.
42122         * inet/check_pf.c: Likewise.
42123         * inet/getipv4sourcefilter.c: Likewise.
42124         * inet/getnameinfo.c: Likewise.
42125         * inet/getsourcefilter.c: Likewise.
42126         * inet/htonl.c: Likewise.
42127         * inet/setipv4sourcefilter.c: Likewise.
42128         * inet/setsourcefilter.c: Likewise.
42129         * inet/test-inet6_opt.c: Likewise.
42130         * inet/tst-network.c: Likewise.
42131         * locale/C-collate.c: Likewise.
42132         * locale/C-ctype.c: Likewise.
42133         * locale/C-time.c: Likewise.
42134         * locale/C-translit.h: Likewise.
42135         * locale/loadarchive.c: Likewise.
42136         * locale/programs/3level.h: Likewise.
42137         * locale/programs/charmap.c: Likewise.
42138         * locale/programs/charmap.h: Likewise.
42139         * locale/programs/ld-address.c: Likewise.
42140         * locale/programs/ld-collate.c: Likewise.
42141         * locale/programs/ld-ctype.c: Likewise.
42142         * locale/programs/ld-identification.c: Likewise.
42143         * locale/programs/ld-measurement.c: Likewise.
42144         * locale/programs/ld-messages.c: Likewise.
42145         * locale/programs/ld-monetary.c: Likewise.
42146         * locale/programs/ld-name.c: Likewise.
42147         * locale/programs/ld-numeric.c: Likewise.
42148         * locale/programs/ld-paper.c: Likewise.
42149         * locale/programs/ld-telephone.c: Likewise.
42150         * locale/programs/ld-time.c: Likewise.
42151         * locale/programs/linereader.c: Likewise.
42152         * locale/programs/locale.c: Likewise.
42153         * locale/programs/locarchive.c: Likewise.
42154         * locale/programs/locfile.h: Likewise.
42155         * locale/programs/repertoire.c: Likewise.
42156         * locale/programs/simple-hash.c: Likewise.
42157         * locale/programs/simple-hash.h: Likewise.
42158         * malloc/memusage.c: Likewise.
42159         * malloc/memusagestat.c: Likewise.
42160         * nis/nis_defaults.c: Likewise.
42161         * nis/nis_hash.c: Likewise.
42162         * nis/nis_print.c: Likewise.
42163         * nis/nis_xdr.c: Likewise.
42164         * nscd/connections.c: Likewise.
42165         * nscd/hstcache.c: Likewise.
42166         * nscd/nscd_gethst_r.c: Likewise.
42167         * nscd/nscd_getserv_r.c: Likewise.
42168         * nscd/nscd_helper.c: Likewise.
42169         * nscd/servicescache.c: Likewise.
42170         * nss/makedb.c: Likewise.
42171         * nss/nss_db/db-XXX.c: Likewise.
42172         * nss/nss_db/db-initgroups.c: Likewise.
42173         * nss/nss_db/db-netgrp.c: Likewise.
42174         * nss/nss_files/files-network.c: Likewise.
42175         * nss/nss_files/files-parse.c: Likewise.
42176         * posix/bug-regex5.c: Likewise.
42177         * posix/fnmatch_loop.c: Likewise.
42178         * posix/regcomp.c: Likewise.
42179         * posix/regexec.c: Likewise.
42180         * posix/tst-rfc3484-2.c: Likewise.
42181         * posix/tst-rfc3484-3.c: Likewise.
42182         * posix/tst-rfc3484.c: Likewise.
42183         * resolv/nss_dns/dns-canon.c: Likewise.
42184         * resolv/nss_dns/dns-network.c: Likewise.
42185         * resolv/res_init.c: Likewise.
42186         * resolv/res_mkquery.c: Likewise.
42187         * resolv/tst-aton.c: Likewise.
42188         * stdlib/cxa_atexit.c: Likewise.
42189         * stdlib/cxa_finalize.c: Likewise.
42190         * stdlib/gen-fpioconst.c: Likewise.
42191         * stdlib/strtol_l.c: Likewise.
42192         * string/tst-endian.c: Likewise.
42193         * sunrpc/auth_des.c: Likewise.
42194         * sunrpc/clnt_udp.c: Likewise.
42195         * sunrpc/rtime.c: Likewise.
42196         * sunrpc/svcauth_des.c: Likewise.
42197         * sunrpc/xdr.c: Likewise.
42198         * sunrpc/xdr_intXX_t.c: Likewise.
42199         * sunrpc/xdr_rec.c: Likewise.
42200         * sysdeps/generic/ldconfig.h: Likewise.
42201         * sysdeps/generic/ldsodefs.h: Likewise.
42202         * sysdeps/generic/memusage.h: Likewise.
42203         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42205         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42206         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42207         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42208         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42209         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42213         * sysdeps/posix/getaddrinfo.c: Likewise.
42214         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42215         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42216         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42217         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42218         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42219         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42220         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42221         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42222         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42223         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42224         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42225         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42226         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42227         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42228         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42229         * sysdeps/x86_64/dl-tls.h: Likewise.
42230         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42231         * time/alt_digit.c: Likewise.
42232         * time/era.c: Likewise.
42233         * wcsmbs/tst-c16c32-1.c: Likewise.
42235 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42237         * math/libm-test.inc (struct test_sincos_data): New type.
42238         (RUN_TEST_LOOP_sincos): New macro.
42239         (sincos_test_data): New variable.
42240         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42242 2013-05-16  Richard Henderson  <rth@redhat.com>
42244         * math/atest-exp2.c (LIMB64): New macro.
42245         (CONSTSZ): New macro.
42246         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42247         (hexdig): Move ...
42248         (print_mpn_fp): ... to function scope.
42249         (read_mpn_hex): Remove.
42250         (get_log2): Remove.
42251         (exp2_mpn): Use mp_log2.
42252         (main): Use mp_exp1.
42254 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42256         * math/libm-test.inc: Remove comment about not testing "inexact"
42257         exceptions.
42258         (INEXACT_EXCEPTION): New macro.
42259         (NO_INEXACT_EXCEPTION): Likewise.
42260         (INVALID_EXCEPTION_OK): Update value.
42261         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42262         (OVERFLOW_EXCEPTION_OK): Likewise.
42263         (UNDERFLOW_EXCEPTION_OK): Likewise.
42264         (IGNORE_ZERO_INF_SIGN): Likewise.
42265         (ERRNO_UNCHANGED): Likewise.
42266         (ERRNO_EDOM): Likewise.
42267         (ERRNO_ERANGE): Likewise.
42268         (test_exceptions): Handle testing "inexact" exceptions.
42269         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42270         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42271         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42272         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42273         INEXACT_EXCEPTION.
42274         (rint_towardzero_test_data): Likewise.
42275         (rint_downward_test_data): Likewise.
42276         (rint_upward_test_data): Likewise.
42278         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42279         with OVERFLOW_EXCEPTION.
42280         (exp10_test_data): Likewise.
42281         (exp2_test_data): Likewise.
42282         (expm1_test_data): Likewise.
42283         (lgamma_test_data): Likewise.
42284         (pow_test_data): Likewise.
42285         (tgamma_test_data): Likewise.
42286         (yn_test_data): Remove duplicate test of overflow.
42288         * math/libm-test.inc (struct test_cc_c_data): New type.
42289         (RUN_TEST_LOOP_cc_c): New macro.
42290         (cpow_test_data): New variable.
42291         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42293         * math/libm-test.inc (struct test_f_L_data): New type.
42294         (RUN_TEST_LOOP_f_L): New macro.
42295         (llrint_test_data): New variable.
42296         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42297         (llrint_tonearest_test_data): New variable.
42298         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42299         (llrint_towardzero_test_data): New variable.
42300         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42301         (llrint_downward_test_data): New variable.
42302         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42303         (llrint_upward_test_data): New variable.
42304         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42305         (llround_test_data): New variable.
42306         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42308 2013-05-13  Peter Collingbourne  <pcc@google.com>
42310         * math/atest-exp2.c (get_log2): Remove const attribute.
42312 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42314         * math/libm-test.inc (struct test_f_l_data): New type.
42315         (RUN_TEST_LOOP_f_l): New macro.
42316         (lrint_test_data): New variable.
42317         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42318         (lrint_tonearest_test_data): New variable.
42319         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42320         (lrint_towardzero_test_data): New variable.
42321         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42322         (lrint_downward_test_data): New variable.
42323         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42324         (lrint_upward_test_data): New variable.
42325         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42326         (lround_test_data): New variable.
42327         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42329 2013-05-15  Peter Collingbourne  <pcc@google.com>
42331         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42332         (EXTRACT_WORDS64) Use where appropriate.
42333         (INSERT_WORDS64) Likewise.
42335         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42336         constraints with x constraints.
42337         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42339         * malloc/obstack.c (_obstack_compat): Add initializer.
42341 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42343         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42344         si_trapno and add si_addr_lsb to _sifields.sigfault.
42345         (si_trapno): Remove macro.
42346         (si_addr_lsb): Define new macro.
42347         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42349 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42351         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42352         instead of TEST_f_l.
42353         (llrint_test_tonearest): Likewise.
42354         (llrint_test_towardzero): Likewise.
42355         (llrint_test_downward): Likewise.
42356         (llrint_test_upward): Likewise.
42357         (llround_test): Likewise.
42359         * math/libm-test.inc (struct test_f_i_data): Add comment.
42360         (RUN_TEST_LOOP_f_b): New macro.
42361         (RUN_TEST_LOOP_f_b_tg): Likewise.
42362         (finite_test_data): New variable.
42363         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42364         (isfinite_test_data): New variable.
42365         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42366         (isinf_test_data): New variable.
42367         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42368         (isnan_test_data): New variable.
42369         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42370         (isnormal_test_data): New variable.
42371         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42372         (issignaling_test_data): New variable.
42373         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42374         (signbit_test_data): New variable.
42375         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42377         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42378         with INVALID_EXCEPTION.
42379         (acosh_test_data): Likewise.
42380         (asin_test_data): Likewise.
42381         (atanh_test_data): Likewise.
42382         (fmod_test_data): Likewise.
42383         (log_test_data): Likewise.
42384         (log10_test_data): Likewise.
42385         (log2_test_data): Likewise.
42386         (pow_test_data): Likewise.
42387         (sqrt_test_data): Likewise.
42388         (y0_test_data): Likewise.
42389         (y1_test_data): Likewise.
42390         (yn_test_data): Likewise.
42392         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42393         function contents.
42395         * math/libm-test.inc (struct test_ff_i_data): New type.
42396         (RUN_TEST_LOOP_ff_i_tg): New macro.
42397         (isgreater_test_data): New variable.
42398         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42399         (isgreaterequal_test_data): New variable.
42400         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42401         (isless_test_data): New variable.
42402         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42403         (islessequal_test_data): New variable.
42404         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42405         (islessgreater_test_data): New variable.
42406         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42407         (isunordered_test_data): New variable.
42408         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42410 2013-05-14  David S. Miller  <davem@davemloft.net>
42412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42414 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42416         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42418         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42419         extra_test to int.
42420         (struct test_f_i_data): Change type of max_ulp to int.
42422         * math/libm-test.inc (test_ffI_f1_data): New type.
42423         (RUN_TEST_LOOP_ffI_f1): New macro.
42424         (remquo_test_data): New variable.
42425         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42427         * setjmp/tst-setjmp-fp.c: New file.
42428         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42429         (link-libm): New variable.
42430         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42432         * math/libm-test.inc (struct test_f_i_data): New type.
42433         (RUN_TEST_LOOP_f_i): New macro.
42434         (RUN_TEST_LOOP_f_i_tg): Likewise.
42435         (fpclassify_test_data): New variable.
42436         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42437         (ilogb_test_data): New variable.
42438         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42440         * math/libm-test.inc (scalbln_test): Correct function name in END
42441         call.
42443         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42444         (RUN_TEST_LOOP_fI_f1): New macro.
42445         (frexp_test_data): New variable.
42446         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42448         * math/libm-test.inc (struct test_fF_f1_data): New type.
42449         (RUN_TEST_LOOP_fF_f1): New macro.
42450         (modf_test_data): New variable.
42451         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42453         * math/libm-test.inc (struct test_f_f1_data): New type.
42454         (RUN_TEST_LOOP_f_f1): New macro.
42455         (gamma_test_data): New variable.
42456         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42457         (lgamma_test_data): New variable.
42458         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42460 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42462         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42463         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42464         (main): Comment "tls" pseudo-hwcap.
42466 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42468         * math/libm-test.inc (struct test_fl_f_data): New type.
42469         (RUN_TEST_LOOP_fl_f): New variable.
42470         (scalbln_test_data): New variable.
42471         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42473         * math/libm-test.inc (struct test_fi_f_data): New type.
42474         (RUN_TEST_LOOP_fi_f): New macro.
42475         (ldexp_test_data): New variable.
42476         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42477         (scalbn_test_data): New variable.
42478         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42480         * math/libm-test.inc (struct test_c_f_data): New type.
42481         (RUN_TEST_LOOP_c_f): New macro.
42482         (cabs_test_data): New variable.
42483         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42484         (carg_test_data): New variable.
42485         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42486         (cimag_test_data): New variable.
42487         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42488         (creal_test_data): New variable.
42489         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42491         * math/libm-test.inc (struct test_if_f_data): New type.
42492         (RUN_TEST_LOOP_if_f): New macro.
42493         (jn_test_data): New variable.
42494         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42495         (yn_test_data): New variable.
42496         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42498         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42500 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42502         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42503         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42505 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42507         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42508         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42509         (bench-deps): Add bench-timing.h.
42510         * benchtests-bench-skeleton.c: Include bench-timing.h.
42511         (main): Use TIMING_* macros instead of clock_gettime.
42512         * benchtests/bench-timing.h: New file.
42514         [BZ #14582]
42515         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42516         Renamed from _LIB_VERSION.
42517         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42519 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42521         * math/libm-test.inc (struct test_fff_f_data): New type.
42522         (RUN_TEST_LOOP_fff_f): New macro.
42523         (fma_test_data): New variable.
42524         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42525         (fma_towardzero_test_data): New variable.
42526         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42527         (fma_downward_test_data): New variable.
42528         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42529         (fma_upward_test_data): New variable.
42530         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42532         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42533         (struct test_c_c_data): New type.
42534         (RUN_TEST_LOOP_c_c): New macro.
42535         (cacos_test_data): New variable.
42536         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42537         (cacosh_test_data): New variable.
42538         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42539         (casin_test_data): New variable.
42540         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42541         (casinh_test_data): New variable.
42542         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42543         (catan_test_data): New variable.
42544         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42545         (catanh_test_data): New variable.
42546         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42547         (ccos_test_data): New variable.
42548         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42549         (ccosh_test_data): New variable.
42550         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42551         (cexp_test_data): New variable.
42552         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42553         (clog_test_data): New variable.
42554         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42555         (clog10_test_data): New variable.
42556         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42557         (conj_test_data): New variable.
42558         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42559         (cproj_test_data): New variable.
42560         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42561         (csin_test_data): New variable.
42562         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42563         (csinh_test_data): New variable.
42564         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42565         (csqrt_test_data): New variable.
42566         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42567         (ctan_test_data): New variable.
42568         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42569         (ctan_tonearest_test_data): New variable.
42570         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42571         (ctan_towardzero_test_data): New variable.
42572         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42573         (ctan_downward_test_data): New variable.
42574         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42575         (ctan_upward_test_data): New variable.
42576         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42577         (ctanh_test_data): New variable.
42578         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42579         (ctanh_tonearest_test_data): New variable.
42580         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42581         (ctanh_towardzero_test_data): New variable.
42582         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42583         (ctanh_downward_test_data): New variable.
42584         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42585         (ctanh_upward_test_data): New variable.
42586         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42587         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42588         of BUILD_COMPLEX.
42590         * math/libm-test.inc (struct test_ff_f_data): New type.
42591         (struct test_ff_f_data_nexttoward): Likewise.
42592         (RUN_TEST_LOOP_2_f): New macro.
42593         (RUN_TEST_LOOP_ff_f): Likewise.
42594         (atan2_test_data): New variable.
42595         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42596         (copysign_test_data): New variable.
42597         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42598         (fdim_test_data): New variable.
42599         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42600         (fmax_test_data): New variable.
42601         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42602         (fmin_test_data): New variable.
42603         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42604         (fmod_test_data): New variable.
42605         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42606         (hypot_test_data): New variable.
42607         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42608         (nextafter_test_data): New variable.
42609         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42610         (nexttoward_test_data): New variable.
42611         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42612         (pow_test_data): New variable.
42613         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42614         (pow_tonearest_test_data): New variable.
42615         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42616         (pow_towardzero_test_data): New variable.
42617         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42618         (pow_downward_test_data): New variable.
42619         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42620         (pow_upward_test_data): New variable.
42621         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42622         (remainder_test_data): New variable.
42623         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42624         (scalb_test_data): New variable.
42625         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42626         * sysdeps/i386/fpu/libm-test-ulps: Update.
42628 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42630         * math/libm-test.inc (fma_test): Use max_value instead of local
42631         variable fltmax.
42632         (nextafter_test): Likewise.
42634         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42635         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42636         (acos_downward_test_data): New variable.
42637         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42638         (acos_upward_test_data): New variable.
42639         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42640         (acosh_test_data): New variable.
42641         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42642         (asin_test_data): New variable.
42643         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42644         (asin_tonearest_test_data): New variable.
42645         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42646         (asin_towardzero_test_data): New variable.
42647         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42648         (asin_downward_test_data): New variable.
42649         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42650         (asin_upward_test_data): New variable.
42651         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42652         (asinh_test_data): New variable.
42653         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42654         (atan_test_data): New variable.
42655         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42656         (atanh_test_data): New variable.
42657         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42658         (cbrt_test_data): New variable.
42659         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42660         (ceil_test_data): New variable.
42661         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42662         (cos_test_data): New variable.
42663         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42664         (cos_tonearest_test_data): New variable.
42665         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42666         (cos_towardzero_test_data): New variable.
42667         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42668         (cos_downward_test_data): New variable.
42669         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42670         (cos_upward_test_data): New variable.
42671         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42672         (cosh_test_data): New variable.
42673         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42674         (cosh_tonearest_test_data): New variable.
42675         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42676         (cosh_towardzero_test_data): New variable.
42677         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42678         (cosh_downward_test_data): New variable.
42679         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42680         (cosh_upward_test_data): New variable.
42681         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42682         (erf_test_data): New variable.
42683         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42684         (erfc_test_data): New variable.
42685         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42686         (exp_test_data): New variable.
42687         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42688         (exp_tonearest_test_data): New variable.
42689         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42690         (exp_towardzero_test_data): New variable.
42691         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42692         (exp_downward_test_data): New variable.
42693         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42694         (exp_upward_test_data): New variable.
42695         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42696         (exp10_test_data): New variable.
42697         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42698         (exp2_test_data): New variable.
42699         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42700         (expm1_test_data): New variable.
42701         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42702         (fabs_test_data): New variable.
42703         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42704         (floor_test_data): New variable.
42705         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42706         (j0_test_data): New variable.
42707         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42708         (j1_test_data): New variable.
42709         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42710         (log_test_data): New variable.
42711         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42712         (log10_test_data): New variable.
42713         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42714         (log1p_test_data): New variable.
42715         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42716         (log2_test_data): New variable.
42717         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42718         (logb_test_data): New variable.
42719         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42720         (logb_downward_test_data): New variable.
42721         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42722         (nearbyint_test_data): New variable.
42723         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42724         (rint_test_data): New variable.
42725         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42726         (rint_tonearest_test_data): New variable.
42727         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42728         (rint_towardzero_test_data): New variable.
42729         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42730         (rint_downward_test_data): New variable.
42731         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42732         (rint_upward_test_data): New variable.
42733         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42734         (round_test_data): New variable.
42735         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42736         (sin_test_data): New variable.
42737         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42738         (sin_tonearest_test_data): New variable.
42739         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42740         (sin_towardzero_test_data): New variable.
42741         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42742         (sin_downward_test_data): New variable.
42743         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42744         (sin_upward_test_data): New variable.
42745         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42746         (sinh_test_data): New variable.
42747         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42748         (sinh_tonearest_test_data): New variable.
42749         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42750         (sinh_towardzero_test_data): New variable.
42751         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42752         (sinh_downward_test_data): New variable.
42753         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42754         (sinh_upward_test_data): New variable.
42755         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42756         (sqrt_test_data): New variable.
42757         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42758         (tan_test_data): New variable.
42759         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42760         (tan_tonearest_test_data): New variable.
42761         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42762         (tan_towardzero_test_data): New variable.
42763         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42764         (tan_downward_test_data): New variable.
42765         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42766         (tan_upward_test_data): New variable.
42767         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42768         (tanh_test_data): New variable.
42769         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42770         (tgamma_test_data): New variable.
42771         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42772         (trunc_test_data): New variable.
42773         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42774         (y0_test_data): New variable.
42775         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42776         (y1_test_data): New variable.
42777         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42778         (significand_test_data): New variable.
42779         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42781 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42783         [BZ #12387]
42784         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42786 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42788         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42790 2013-05-10  Andreas Jaeger  <aj@suse.de>
42792         [BZ #15448]
42793         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42794         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42796 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42798         * math/gen-libm-test.pl (adjust_arg): New function.
42799         (special_functions): Handle generating output in both functions
42800         and arrays.
42801         (parse_args): Likewise.
42802         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42803         $in_func argument to parse_args.
42804         * math/libm-test.inc (struct test_f_f_data): New type.
42805         (IF_ROUND_INIT_): New macro.
42806         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42807         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42808         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42809         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42810         (ROUND_RESTORE_): Likewise.
42811         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42812         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42813         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42814         (ROUND_RESTORE_FE_UPWARD): Likewise.
42815         (RUN_TEST_LOOP_f_f): New macro.
42816         (acos_test_data): New variable.
42817         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42818         (acos_tonearest_test_data): New variable.
42819         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42821 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42823         * benchtests/bench-skeleton.c (startup): Fix coding style.
42825 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42827         [BZ #6809]
42828         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42829         negative infinity argument.
42830         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42831         negative infinity argument.
42832         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42833         negative infinity argument.
42834         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42835         domain errors.
42837 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42839         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42840         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42841         * iconv/iconv_prog.c (main): Likewise.
42842         * locale/programs/charmap-dir.c (charmap_readdir)
42843         (fopen_uncompressed): Likewise.
42844         * locale/programs/locfile.c (siblings_uncached)
42845         (write_locale_data): Use lstat64 instead of lstat.
42846         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42847         stat.
42849 2013-05-10  Andreas Jaeger  <aj@suse.de>
42851         [BZ #15395]
42852         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42853         localization.
42854         Include <locale.h>.
42856 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42858         * elf/dl-close.c (_dl_close_worker): Add comments.
42860 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42862         [BZ #15359]
42863         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42864         high part of pi/2.
42865         (__ieee754_rem_pio2l): Update comments.
42867         [BZ #15429]
42868         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42869         high part of pi/2.
42870         (__ieee754_rem_pio2l): Update comments.
42872         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42873         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42875         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42876         M_PI_4l.
42878         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42879         (M_PI_34_LOG10El): Likewise.
42880         (M_PI2_LOG10El): Likewise.
42881         (M_PI4_LOG10El): Likewise.
42882         (M_PI_LOG10El): Likewise.
42884 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42888 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42890         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42891         (MINUS_ZERO_INIT): Likewise.
42892         (PLUS_INFTY_INIT): Likewise.
42893         (MINUS_INFTY_INIT): Likewise.
42894         (QNAN_VALUE_INIT): Likewise.
42895         (MAX_VALUE_INIT): Likewise.
42896         (MIN_VALUE_INIT): Likewise.
42897         (MIN_SUBNORM_VALUE_INIT): Likewise.
42898         (plus_zero): Initialize with PLUS_ZERO_INIT.
42899         (minus_zero): Initialize with MINUS_ZERO_INIT.
42900         (plus_infty): Initialize with PLUS_INFTY_INIT.
42901         (minus_infty): Initialize with MINUS_INFTY_INIT.
42902         (qnan_value): Initialize with QNAN_VALUE_INIT.
42903         (max_value): Initialize with MAX_VALUE_INIT.
42904         (min_value): Initialize with MIN_VALUE_INIT.
42905         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42907         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42908         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42909         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42910         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42912         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42913         (RUN_TEST_2_f): Likewise.
42914         (RUN_TEST_ff_f): Likewise.
42915         (RUN_TEST_fi_f): Likewise.
42916         (RUN_TEST_fl_f): Likewise.
42917         (RUN_TEST_fff_f): Likewise.
42918         (RUN_TEST_c_f): Likewise.
42919         (RUN_TEST_f_f1): Likewise.
42920         (RUN_TEST_fF_f1): Likewise.
42921         (RUN_TEST_fI_f1): Likewise.
42922         (RUN_TEST_ffI_f1): Likewise.
42923         (RUN_TEST_c_c): Likewise.
42924         (RUN_TEST_cc_c): Likewise.
42925         (RUN_TEST_f_i): Likewise.
42926         (RUN_TEST_f_i_tg): Likewise.
42927         (RUN_TEST_ff_i_tg): Likewise.
42928         (RUN_TEST_f_b): Likewise.
42929         (RUN_TEST_f_b_tg): Likewise.
42930         (RUN_TEST_f_l): Likewise.
42931         (RUN_TEST_f_L): Likewise.
42932         (RUN_TEST_sincos): Likewise.
42933         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42934         whether to show exceptions.  Do not include ");\n" in return
42935         value.
42936         (special_functions): Output call to RUN_TEST_sincos instead of
42937         check_float calls.  Update calls to new_test.
42938         (parse_args): Output call to single RUN_TEST_* macro instead of
42939         check_* calls and other assignments.  Update calls to new_test.
42941         [BZ #2546]
42942         [BZ #2560]
42943         [BZ #5159]
42944         [BZ #15426]
42945         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42946         input to result for tgamma overflow.
42947         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42948         (gamma_coeff): New variable.
42949         (NCOEFF): New macro.
42950         (gamma_positive): New function.
42951         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42952         underflow here.  Use gamma_positive instead of exp (lgamma) for
42953         other arguments.
42954         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42955         (gamma_coeff): New variable.
42956         (NCOEFF): New macro.
42957         (gammaf_positive): New function.
42958         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42959         underflow here.  Use gamma_positive instead of exp (lgamma) for
42960         other arguments.
42961         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42962         (gamma_coeff): New variable.
42963         (NCOEFF): New macro.
42964         (gammal_positive): New function.
42965         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42966         underflow here.  Use gamma_positive instead of exp (lgamma) for
42967         other arguments.
42968         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42969         (gamma_coeff): New variable.
42970         (NCOEFF): New macro.
42971         (gammal_positive): New function.
42972         (__ieee754_gammal_r): Handle positive infinity, overflow and
42973         underflow here.  Handle NaN the same as positive infinity.  Remove
42974         check x < 0xffffffff for negative integers.  Use gamma_positive
42975         instead of exp (lgamma) for other arguments.
42976         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42977         (gamma_coeff): New variable.
42978         (NCOEFF): New macro.
42979         (gammal_positive): New function.
42980         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42981         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42982         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42983         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42984         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42985         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42986         * sysdeps/generic/math_private.h (__gamma_productf): New
42987         prototype.
42988         (__gamma_product): Likewise.
42989         (__gamma_productl): Likewise.
42990         * math/Makefile (libm-calls): Add gamma_product.
42991         * math/libm-test.inc (tgamma_test): Add more tests.
42992         * sysdeps/i386/fpu/libm-test-ulps: Update.
42993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42995 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42997         * benchtests/bench-skeleton.c (main): Preheat CPU.
42999 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43001         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43003 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43005         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43006         and _dl_skip_args_internal.
43008 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43010         * manual/message.texi (Message Translation): Talk about users.
43011         Message to key mapping impacts design.
43013 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43015         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43017         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43019         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43020         * sysdeps/wordsize-64/glob64.c: ... here.
43022         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43023         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43024         New macros.
43026         * debug/getlogin_r_chk.c: Moved to ...
43027         * login/getlogin_r_chk.c: ... here.
43028         * debug/Makefile (routines): Move getlogin_r_chk to ...
43029         * login/Makefile (routines): ... here.
43030         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43031         * login/Versions (libc: GLIBC_2.4): ... here.
43033         * io/poll.c (__poll): Renamed from poll.
43034         Add libc_hidden_def.
43035         (poll): Define as weak alias.
43037         * debug/ptsname_r_chk.c: Moved to ...
43038         * login/ptsname_r_chk.c: ... here.
43039         * debug/Makefile (routines): Move ptsname_r_chk to ...
43040         * login/Makefile (routines): ... here.
43041         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43042         * login/Versions (libc: GLIBC_2.4): ... here.
43044         * posix/getlogin.c: Moved to ...
43045         * login/getlogin.c: ... here.
43046         * posix/getlogin_r.c: Moved to ...
43047         * login/getlogin_r.c: ... here.
43048         * posix/getlogin_r.c: Moved to ...
43049         * login/getlogin_r.c: ... here.
43050         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43051         * login/Makefile (routines): ... here.
43052         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43053         * login/Versions (libc: GLIBC_2.0): ... here.
43055         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43056         (setrlimit): Define as weak alias.
43058         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43059         Call __ names for open, ftruncate, and close.
43060         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43061         (truncate): Define as weak alias.
43063 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43065         * math/gen-libm-test.pl (parse_args): Initialize x before each
43066         test of frexp, modf and remquo.
43068         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43069         test signgam value.
43071 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43073         [BZ #15418]
43074         [BZ #15419]
43075         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43076         internal tests.
43077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43079 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43081         * elf/dl-writev.h: New file.
43082         * elf/dl-misc.c: Include it.
43083         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43084         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43086 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43088         * math/libm-test.inc (noXFails): Remove variable.
43089         (noXPasses): Likewise.
43090         (BUILD_COMPLEX_INT): Remove macro.
43091         (print_screen): Remove xfail argument.
43092         (print_screen_max_error): Likewise.
43093         (update_stats): Likewise.
43094         (print_max_error): Likewise.  Update calls to other affected
43095         functions.
43096         (print_complex_max_error): Likewise.
43097         (test_single_exception): Update calls to print_screen.
43098         (test_single_errno): Likewise.
43099         (check_float_internal): Remove xfail argument.  Update calls to
43100         other affected functions.
43101         (check_float): Likewise.
43102         (check_complex): Likewise.
43103         (check_int): Likewise.
43104         (check_long): Likewise.
43105         (check_bool): Likewise.
43106         (check_longlong): Likewise.
43107         (main): Don't print noXFails and noXPasses.
43108         * math/gen-libm-test.pl (top level): Don't mention expected
43109         failure handling in comment.
43110         (new_test): Don't handle expected failures.
43111         (parse_args): Don't mention expected failure handling in comment.
43112         (generate_testfile): Don't handle expected failures.
43113         (parse_ulps): Likewise.
43114         (print_ulps_file): Likewise.
43115         (get_failure): Remove function.
43116         (output_test): Don't handle expected failures.
43117         * make/README.libm-test: Don't mention expected failure handling.
43119         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43120         (minus_zero): Likewise.
43121         (plus_infty): Likewise.
43122         (minus_infty): Likewise.
43123         (qnan_value): Likewise.
43124         (max_value): Likewise.
43125         (min_value): Likewise.
43126         (min_subnorm_value): Likewise.
43127         (initialize): Do not initialize those variables dynamically.
43129 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43131         * io/open.c (__open_2): Moved to ...
43132         * io/open_2.c: ... this new file.
43133         * io/open64.c (__open64_2): Moved to ...
43134         * io/open64_2.c: ... this new file.
43135         * io/openat.c (__openat_2): Moved to ...
43136         * io/openat_2.c: ... this new file.
43137         * io/openat64.c (__openat64_2): Moved to ...
43138         * io/openat64_2.c: ... this new file.
43139         * io/Makefile (routines): Add them.
43140         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43141         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43142         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43143         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43144         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43145         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43146         (__openat64): Add hidden_ver.
43147         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43148         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43150         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43151         Separately conditionalize setting of GLRO(dl_sysinfo) so
43152         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43153         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43155 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43157         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43158         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43159         definition.
43160         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43161         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43162         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43163         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43164         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43166 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43168         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43169         test signgam value.
43171         * math/libm-test.inc (hypot_test): Do not use
43172         IGNORE_ZERO_INF_SIGN.
43174 2013-05-03  Andreas Jaeger  <aj@suse.de>
43176         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43177         Linux 3.9.
43178         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43179         (PF_MAX): Adjust for VSOCK change.
43181 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43185 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43187         [BZ #15264]
43188         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43189         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43190         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43192 2013-05-02  David S. Miller  <davem@davemloft.net>
43194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43196 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43198         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43200 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43202         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43204 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43206         [BZ #14952]
43207         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43208         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43209         Use __attribute__ ((__gnu_inline__)).
43210         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43211         Don't use __attribute__ ((__gnu_inline__)).
43213 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43215         [BZ #15423]
43216         * math/s_catan.c (__catan): Handle small real or imaginary part of
43217         input specially to avoid spurious underflow.
43218         * math/s_catanf.c (__catanf): Likewise.
43219         * math/s_catanh.c (__catanh): Likewise.
43220         * math/s_catanhf.c (__catanhf): Likewise.
43221         * math/s_catanhl.c (__catanhl): Likewise.
43222         * math/s_catanl.c (__catanl): Likewise.
43223         * math/libm-test.inc (catan_test): Add more tests.
43224         (catanh_test): Likewise.
43225         * sysdeps/i386/fpu/libm-test-ulps: Update.
43226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43228 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43232 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43234         [BZ #15416]
43235         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43236         accurately for denominator in atan2.
43237         * math/s_catanf.c (__catanf): Likewise.
43238         * math/s_catanh.c (__catanh): Likewise.
43239         * math/s_catanhf.c (__catanhf): Likewise.
43240         * math/s_catanhl.c (__catanhl): Likewise.
43241         * math/s_catanl.c (__catanl): Likewise.
43242         * math/libm-test.inc (catan_test): Add more tests.
43243         (catanh_test): Likewise.
43244         * sysdeps/i386/fpu/libm-test-ulps: Update.
43245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43247 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43249         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43251         * benchtests/Makefile (bench): Remove slow benchmarks.
43252         * benchtests/atan-inputs: Add slow benchmark inputs.
43253         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43254         (BENCH_FUNC): Accept variant offset.
43255         (VARIANT): Define.
43256         * benchtests/bench-skeleton.c (main): Run benchmark for each
43257         variant.
43258         * benchtests/cos-inputs: Add slow benchmark inputs.
43259         * benchtests/exp-inputs: Likewise.
43260         * benchtests/pow-inputs: Likewise.
43261         * benchtests/sin-inputs: Likewise.
43262         * benchtests/slowatan-inputs: Remove.
43263         * benchtests/slowatan.c: Remove.
43264         * benchtests/slowcos-inputs: Remove.
43265         * benchtests/slowcos.c: Remove.
43266         * benchtests/slowexp-inputs: Remove.
43267         * benchtests/slowexp.c: Remove.
43268         * benchtests/slowpow-inputs: Remove.
43269         * benchtests/slowpow.c: Remove.
43270         * benchtests/slowsin-inputs: Remove.
43271         * benchtests/slowsin.c: Remove.
43272         * benchtests/slowtan-inputs: Remove.
43273         * benchtests/slowtan.c: Remove.
43274         * benchtests/tan-inputs: Add slow benchmark inputs.
43275         * scripts/bench.pl: Parse comments and directives.
43277         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43278         in CPPFLAGS.
43279         ($(objpfx)bench-%.c): Remove *-ITER.
43280         * benchtests/bench-modf.c: Remove definition of ITER.
43281         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43282         (main): Loop for DURATION seconds instead of fixed number of
43283         iterations.
43284         * scripts/bench.pl: Don't expect iterations in parameters.
43286 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43288         * io/fchdir.c (__fchdir): Renamed from fchdir.
43289         (fchdir): Define as weak alias.
43291 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43293         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43294         (ERRNO_EDOM): Likewise.
43295         (ERRNO_ERANGE): Likewise.
43296         (noErrnoTests): New variable.
43297         (init_max_error): Set errno to 0.
43298         (test_single_errno): New function.
43299         (test_errno): Likewise.
43300         (check_float_internal): Call test_errno.  Set errno to 0.
43301         (check_complex): Refer to errno tests in comment.
43302         (check_int): Call test_errno.  Set errno to 0.
43303         (check_long): Likewise.
43304         (check_bool): Likewise.
43305         (check_longlong): Likewise.
43306         (cos_test): Use ERRNO_* flags for errno tests instead of
43307         check_int.
43308         (expm1_test): Likewise.
43309         (fmod_test): Likewise.
43310         (ilogb_test): Likewise.
43311         (lgamma_test): Likewise.
43312         (pow_test): Likewise.
43313         (remainder_test): Likewise.
43314         (sin_test): Likewise.
43315         (tan_test): Likewise.
43316         (yn_test): Likewise.
43317         (initialize): Set errno to 0.
43318         (main): Print number of errno tests.
43319         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43321 2013-04-29  Andreas Jaeger  <aj@suse.de>
43323         [BZ #15084]
43324         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43325         and RES_USEVC.
43327         [BZ #15085]
43328         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43329         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43330         unimplemented.
43332         [BZ #15380]
43333         * stdlib/random.c (__initstate): Return NULL if
43334         __initstate fails.
43336         [BZ #15086]
43337         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43338         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43339         RES_SNGLKUPREOP.
43341 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43345 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43347         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43348         of individual tests.
43349         (casin_test): Likewise.
43350         (casinh_test): Likewise.
43352 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43354         [BZ #15409]
43355         * math/s_catan.c (__catan): Handle arguments with large real or
43356         imaginary part separately without squaring.
43357         * math/s_catanf.c (__catanf): Likewise.
43358         * math/s_catanh.c (__catanh): Likewise.
43359         * math/s_catanhf.c (__catanhf): Likewise.
43360         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43361         and redefine.
43362         (__catanhl): Handle arguments with large real or imaginary part
43363         separately without squaring.
43364         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43365         and redefine.
43366         (__catanl): Handle arguments with large real or imaginary part
43367         separately without squaring.
43368         * math/libm-test.inc (catan_test): Add more tests.
43369         (catanh_test): Likewise.
43370         * sysdeps/i386/fpu/libm-test-ulps: Update.
43371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43373 2013-04-27  Andreas Jaeger  <aj@suse.de>
43375         [BZ #15007]
43376         * stdlib/stdlib.h: Update guards for qecvt.
43377         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43378         <stdlib.h>.
43380 2013-04-27  Allan McRae  <allan@archlinux.org>
43382         * sysdeps/i386/fpu/libm-test-ulps: Update.
43384 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43386         [BZ #15406]
43387         * math/s_catan.c: Include <float.h>.
43388         (__catan): Ensure underflow exception occurs for underflowed
43389         result.
43390         * math/s_catanf.c: Include <float.h>.
43391         (__catanf): Ensure underflow exception occurs for underflowed
43392         result.
43393         * math/s_catanh.c: Include <float.h>.
43394         (__catanh): Ensure underflow exception occurs for underflowed
43395         result.
43396         * math/s_catanhf.c: Include <float.h>.
43397         (__catanhf): Ensure underflow exception occurs for underflowed
43398         result.
43399         * math/s_catanhl.c: Include <float.h>.
43400         (__catanhl): Ensure underflow exception occurs for underflowed
43401         result.
43402         * math/s_catanl.c: Include <float.h>.
43403         (__catanl): Ensure underflow exception occurs for underflowed
43404         result.
43405         * math/libm-test.inc (catan_test): Add more tests.
43406         (catanh_test): Likewise.
43408         [BZ #15405]
43409         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43410         underflowed result.
43411         * math/s_ccoshf.c (__ccoshf): Likewise.
43412         * math/s_ccoshl.c (__ccoshl): Likewise.
43413         * math/s_csin.c (__csin): Likewise.
43414         * math/s_csinf.c (__csinf): Likewise.
43415         * math/s_csinh.c (__csinh): Likewise.
43416         * math/s_csinhf.c (__csinhf): Likewise.
43417         * math/s_csinhl.c (__csinhl): Likewise.
43418         * math/s_csinl.c (__csinl): Likewise.
43419         * math/libm-test.inc (ccos_test): Add more tests.
43420         (ccosh_test): Likewise.
43421         (csin_test): Likewise.
43422         (csinh_test): Likewise.
43424 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43426         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43427         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43428         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43429         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43430         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43431         powerpc/power5+/fpu folders.
43432         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43435 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43439 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43441         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43442         additions to variable.
43443         [$(config-machine) = x86_64] (modules-names): Likewise.
43444         ($(objpfx)tst-audit3): Remove dependency.
43445         ($(objpfx)tst-audit3.out): Likewise.
43446         ($(objpfx)tst-audit4): Likewise.
43447         ($(objpfx)tst-audit4.out): Likewise.
43448         ($(objpfx)tst-audit5): Likewise.
43449         ($(objpfx)tst-audit5.out): Likewise.
43450         ($(objpfx)tst-audit6): Likewise.
43451         ($(objpfx)tst-audit6.out): Likewise.
43452         ($(objpfx)tst-audit7): Likewise.
43453         ($(objpfx)tst-audit7.out): Likewise.
43454         (tst-audit3-ENV): Remove variable.
43455         (tst-audit4-ENV): Likewise.
43456         (tst-audit5-ENV): Likewise.
43457         (tst-audit6-ENV): Likewise.
43458         (tst-audit7-ENV): Likewise.
43459         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43460         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43461         addition to variable.
43462         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43463         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43464         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43465         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43466         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43467         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43468         tst-audit3, tst-audit4 and tst-audit5.
43469         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43470         tst-audit6 and tst-audit7.
43471         [$(subdir) = elf] (modules-names): Add audit modules for those
43472         tests.
43473         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43474         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43475         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43476         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43477         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43478         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43479         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43480         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43481         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43482         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43483         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43484         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43485         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43486         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43487         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43488         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43489         Likewise.
43490         [$(subdir) = elf && $(config-cflags-avx) = yes]
43491         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43492         [$(subdir) = elf && $(config-cflags-avx) = yes]
43493         (CFLAGS-tst-auditmod4a.c): Likewise.
43494         [$(subdir) = elf && $(config-cflags-avx) = yes]
43495         (CFLAGS-tst-auditmod4b.c): Likewise.
43496         [$(subdir) = elf && $(config-cflags-avx) = yes]
43497         (CFLAGS-tst-auditmod6b.c): Likewise.
43498         [$(subdir) = elf && $(config-cflags-avx) = yes]
43499         (CFLAGS-tst-auditmod6c.c): Likewise.
43500         [$(subdir) = elf && $(config-cflags-avx) = yes]
43501         (CFLAGS-tst-auditmod7b.c): Likewise.
43502         * elf/tst-audit3.c: Move to ...
43503         * sysdeps/x86_64/tst-audit3.c: ... here.
43504         * elf/tst-audit4.c: Move to ...
43505         * sysdeps/x86_64/tst-audit4.c: ... here.
43506         * elf/tst-audit5.c: Move to ...
43507         * sysdeps/x86_64/tst-audit5.c: ... here.
43508         * elf/tst-audit6.c: Move to ...
43509         * sysdeps/x86_64/tst-audit6.c: ... here.
43510         * elf/tst-audit7.c: Move to ...
43511         * sysdeps/x86_64/tst-audit7.c: ... here.
43512         * elf/tst-auditmod3a.c: Move to ...
43513         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43514         * elf/tst-auditmod3b.c: Move to ...
43515         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43516         * elf/tst-auditmod4a.c: Move to ...
43517         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43518         * elf/tst-auditmod4b.c: Move to ...
43519         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43520         * elf/tst-auditmod5a.c: Move to ...
43521         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43522         * elf/tst-auditmod5b.c: Move to ...
43523         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43524         * elf/tst-auditmod6a.c: Move to ...
43525         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43526         * elf/tst-auditmod6b.c: Move to ...
43527         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43528         * elf/tst-auditmod6c.c: Move to ...
43529         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43530         * elf/tst-auditmod7a.c: Move to ...
43531         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43532         * elf/tst-auditmod7b.c: Move to ...
43533         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43535 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43537         [BZ #15366]
43538         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43539         define unconditionally.
43540         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43541         define unconditionally.
43542         (INT8_C, INT16_C, etc.): Likewise.
43544 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43546         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43547         __ehdr_start with hidden visibility.
43549         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43551 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43553         * math/libm-test.inc (cos_test): Use accurate hex constants.
43554         (sincost_test): Likewise.
43556 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43558         * math/libm-test.inc (catan_test): Add more tests.
43559         (catanh_test): Likewise.
43561         * math/s_catanf.c (__catanf): Use suffixed floating-point
43562         constants.
43563         * math/s_catanhf.c (__catanhf): Likewise.
43564         * math/s_catanhl.c (__catanhl): Likewise.
43565         * math/s_catanl.c (__catanl): Likewise.
43567         [BZ #15394]
43568         * math/s_catan.c (__catan): Calculate imaginary part of result
43569         with log1p not log unless computing log of number close to 0.
43570         * math/s_catanf.c (__catanf): Likewise.
43571         * math/s_catanl.c (__catanl): Likewise.
43572         * math/s_catanh.c (__catanh): Calculate real part of result with
43573         log1p not log unless computing log of number close to 0.
43574         * math/s_catanhf.c (__catanhf): Likewise.
43575         * math/s_catanhl.c (__catanhl): Likewise.
43576         * math/libm-test.inc (catan_test): Add more tests.
43577         (catanh_test): Likewise.
43578         * sysdeps/i386/fpu/libm-test-ulps: Update.
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43581 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43583         * benchtests/Makefile: Mention files in which fast and slow
43584         paths of math functions are implemented.
43586 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43588         * sysdeps/posix/timespec_get.c: New file.
43590 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43592         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43593         POWER.
43594         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43595         for POWER.
43596         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43597         powerpc/power5/fpu folders.
43598         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43599         * benchtests/Makefile: Add modf testcase.
43600         * benchtests/bench-modf.c: New file: Benchmark test for mo
43602 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43604         [BZ #14888]
43605         * time/Makefile (tests): Add tst-strptime-whitespace.
43606         * time/strptime_l.c (get_number): Use ISSPACE.
43607         (__strptime_internal): Likewise.
43608         * time/tst-strptime-whitespace.c: New test case.
43610 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43612         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43613         member.
43614         (_nss_files_init): Set it here.
43616 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43618         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43619         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43620         unsigned.
43622 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43624         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43626 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43629         size just once.
43631 2013-04-21  David S. Miller  <davem@davemloft.net>
43633         * po/ru.po: Update Russion translation from translation project.
43635 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43637         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43638         and setfsgid.
43640 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43642         * configure.in: Remove i386 configure warning. Remove i386 case.
43643         * configure: Regenerate.
43644         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43645         Add example to error message.
43646         * sysdeps/i386/configure: Regenerate.
43648 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43650         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43651         slowtan.
43652         * benchtests/cos-inputs: New file.
43653         * benchtests/slowcos-inputs: New file.
43654         * benchtests/slowcos.c: New file.
43655         * benchtests/slowtan-inputs: New file.
43656         * benchtests/slowtan.c: New file.
43657         * benchtests/tan-inputs: New file.
43659 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43661         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43662         considered kosher.
43664 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43666         * benchtests/Makefile: Include cppflags-iterator.mk to add
43667         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43669         * Makefile.in (bench-clean): New target.
43670         * benchtests/Makefile (bench-clean): Likewise.
43672 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43674         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43676 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43678         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43680 2013-04-15  Andreas Schwab  <schwab@suse.de>
43682         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43683         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43684         * nscd/pwdcache.c (cache_addpw): Likewise.
43685         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43686         more than recsize.
43688 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43690         * benchtests/Makefile (bench): Write all output to
43691         bench-out.tmp together.
43693 2013-04-15  Andreas Schwab  <schwab@suse.de>
43695         * nscd/nscd.c (main): Don't fork again after closing files.
43697 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43699         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43701         * benchtests/Rules (bench-deps): Collect dependencies into a
43702         single variable.  Add Makefile to dependencies.
43703         ($(objpfx)bench-%.c): Depend on bench-deps.
43705 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43706             Xavier Roche  <roche+kml2@exalead.com>
43708         [BZ #15361]
43709         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43710         just that it's a file descriptor.
43711         * manual/llio.texi (Synchronizing AIO Operations): Update description
43712         for EBADF error from aio_fsync.
43714 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43716         * Rules (bench): Move target definition...
43717         * benchtests/Makefile: ... here.
43719 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43721         * math/libm-test.inc (cos_test): Fix PI/2 test.
43722         (sincos_test): Likewise.
43723         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43724         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43726 2013-04-11  Andreas Schwab  <schwab@suse.de>
43728         [BZ #13988]
43729         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43730         accept exponent character only when digits were seen.
43731         * stdio-common/Makefile (tests): Add bug26.
43732         * stdio-common/bug26.c: New file.
43734         [BZ #14293]
43735         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43736         non-freeable.
43738 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43740         * Makeconfig (rtld-prefix): Define built linker prefix.
43741         * Rules (run-bench): Use it.
43742         * math/Makefile (run-regen-ulps): Likewise.
43744         * Rules (bench): Remove eval.
43746 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43747             Roland McGrath  <roland@hack.frob.com>
43748             Ondrej Bilka  <neleai@seznam.cz>
43750         [BZ #15346]
43751         * time/getdate.c: Include ctype.h and alloca.h.
43752         (__getdate_r): Trim leading and trailing spaces of input.
43753         * time/tst-getdate.c (tests): Add tests with leading and
43754         trailing spaces.
43756 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43758         [BZ #14280]
43759         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43760         when computing value.
43762 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43764         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43765         Use testrun.sh to run libm tests.
43767         [BZ #15309]
43768         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43770 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43772         [BZ #15264]
43773         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43775 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43777         * Makefile.in (regen-ulps): New target.
43778         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43779         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43780         [ifneq (no,$(PERL)] (regen-ulps): New target.
43781         [ifeq (no,$(PERL)] (regen-ulps): New target.
43782         * math/libm-test.inc (ulps_file_name): Define.
43783         (output_dir): New variable.
43784         (options): Add "output-dir" option.
43785         (parse_opt): Handle 'o' case.
43786         (main): If output_dir is non-NULL use it as a prefix
43787         otherwise use "".
43788         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43790 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43792         [BZ #10060, #10062]
43793         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43794         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43795         fail configure if __sync_val_compare_and_swap is not inlined.
43796         * sysdeps/i386/configure: Regenerate.
43797         * configure.in: Build for i686 when configured for i386.
43798         * configure: Regenerate.
43799         * README: Remove i386 reference.
43801 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43803         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43804         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43806 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43808         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43809         (lmsnanval): New variables.
43810         (F): Add conversion tests.
43811         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43812         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43814         * stdio-common/tstdiomisc.c (F): Properly collect individual
43815         tests' results.
43817         [BZ #14686, #15336]
43818         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43819         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43820         Instead, use input NaN values or generate a qNaN by arithmetic
43821         operation.  Also fix bugs to comply with the standard.
43822         * math/libm-test.inc (remainder_test): Add more tests.
43824         [BZ #15335, #15342]
43825         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43826         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43827         input NaN values or generate a qNaN by arithmetic operation.
43829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43830         unreachable code.
43832         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43833         definitions.
43835 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43837         [BZ #14478]
43838         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43839         underflowed result.
43840         * math/s_cexpf.c (__cexpf): Likewise.
43841         * math/s_cexpl.c (__cexpl): Likewise.
43842         * math/libm-test.inc (cexp_test): Add more tests.
43844 2013-04-03  Andreas Schwab  <schwab@suse.de>
43846         [BZ #15330]
43847         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43848         order arrays from heap if bigger than alloca cutoff.
43850 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43852         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43853         (SNAN_TESTS_double): Refer to GCC PR56831.
43854         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43855         GCC PR56828.
43857 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43859         * Rules (bench): Move bench.out after the run is complete.
43861         * Rules (bench): Echo currently running benchmark.
43863         * benchtests/Makefile (bench): Add atan and slowatan.
43864         * benchtests/atan-inputs: New file.
43865         * benchtests/slowatan-inputs: New file.
43866         * benchtests/slowatan.c: New file.
43868         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43870         its value.
43872         [BZ #15305]
43873         * sysdeps/unix/sysv/linux/kernel-features.h
43874         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43875         __ASSUME_XFS_RESTRICTED_CHOWN.
43876         * sysdeps/unix/sysv/linux/pathconf.c
43877         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43878         Save and restore errno.
43880 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43882         [BZ #15327]
43883         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43884         arguments using __kernel_casinh.
43885         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43886         arguments using __kernel_casinhf.
43887         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43888         arguments using __kernel_casinhl.
43889         * math/libm-test.inc (cacosh_test): Add more tests.
43890         * sysdeps/i386/fpu/libm-test-ulps: Update.
43891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43893 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43895         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43898         * bench/Makefile (bench): Add sin and slowsin.
43899         * benchtests/sin-inputs: New file.
43900         * benchtests/slowsin-inputs: New file.
43901         * benchtests/slowsin.c: New file.
43903         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43904         (bench): Add slowexp and slowpow.
43905         (exp-ITER): Increase iterations.
43906         (pow-ITER): Likewise.
43907         * benchtests/exp-inputs: Change input.
43908         * benchtests/pow-inputs: Likewise.
43909         * benchtests/slowexp-inputs: New file.
43910         * benchtests/slowexp.c: New file.
43911         * benchtests/slowpow-inputs: New file.
43912         * benchtests/slowpow.c: New file.
43914 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43916         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43917         instructions.
43918         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43919         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43920         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43921         * benchtests/Makefile: Add rint benchtest.
43922         * benchtests/rint-inputs: Input for rint benchtest.
43924 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43926         * Versions.def (libm): Add GLIBC_2.18.
43927         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43928         hidden libm prototypes.
43929         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43930         * math/Makefile (libm-calls): Add s_issignaling.
43931         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43932         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43933         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43934         declaration.
43935         * math/math.h [__USE_GNU] (issignaling): New macro.
43936         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43937         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43938         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43939         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43940         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43941         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43942         * manual/arith.texi (issignaling): New section.
43943         * manual/libm-err-tab.pl (@all_functions): Update comment.
43944         * math/gen-libm-test.pl (parse_args): Apply special handling for
43945         issignaling.
43946         * math/libm-test.inc (print_float, issignaling_test): New
43947         functions.
43948         (check_float_internal): Add issignaling checks.
43949         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43950         default definition.
43951         * sysdeps/powerpc/math-tests.h: New file.
43952         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43953         tests.
43954         * math/test-snan.c (TEST_FUNC): Likewise.
43956 2013-03-30  David S. Miller  <davem@davemloft.net>
43958         * po/de.po: Update from translation team.
43960 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43962         [BZ #10357]
43963         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43964         imaginary part less than 1.0 and real part less than 0.5
43965         specially.
43966         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43967         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43968         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43969         (cacos_test): Add more tests.
43970         (casin_test): Likewise.
43971         (casinh_test): Likewise.
43972         * sysdeps/i386/fpu/libm-test-ulps: Update.
43973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43975 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43977         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43978         ONE with its value.
43980         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43981         (__pow_mp): Replace ONE and MONE with their values.
43982         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43983         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43984         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43985         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43986         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43987         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43989         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43991         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43992         (__pow_mp): Replace ZERO and MZERO with their values.
43993         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43994         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43995         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43997         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43998         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43999         (__sqr): Likewise.
44001         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44003         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44005 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44007         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44008         Declare with __attribute__ ((weak)).
44009         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44010         Call __call_tls_dtors only if it's not NULL.
44012 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44014         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44015         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44016         magic __ehdr_start linker symbol if it's defined.
44017         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44018         them up here if it was already done.
44020         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44021         (_dl_aux_init): Use const in cast when setting it.
44022         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44023         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44024         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44026         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44027         Declare them here.
44028         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44029         * csu/libc-tls.c: Nor here.
44030         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44032         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44033         (__libc_message): Never call vsyslog.
44035 2013-03-28  Alan Modra  <amodra@gmail.com>
44037         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44038         Define as empty.
44039         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44040         Likewise.
44042 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44044         [BZ #15214]
44045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44046         underflow.
44047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44049 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44051         [BZ #15304]
44052         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44053         Don't add gid passed as argument.
44055         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44057 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44059         [BZ #15307]
44060         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44061         imaginary part between 1.0 and 1.5 and real part less than 0.5
44062         specially.
44063         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44064         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44065         * math/libm-test.inc (cacos_test): Add more tests.
44066         (casin_test): Likewise.
44067         (casinh_test): Likewise.
44068         * sysdeps/i386/fpu/libm-test-ulps: Update.
44069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44071 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44073         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44074         constants.
44075         (norm): Likewise.
44076         (denorm): Likewise.
44077         (__dbl_mp): Likewise.
44078         (add_magnitudes): Likewise.
44079         (sub_magnitudes): Likewise.
44080         (__add): Likewise.
44081         (__sub): Likewise.
44082         (__mul): Likewise.
44083         (__sqr): Likewise.
44084         (__inv): Likewise.
44085         (__dvd): Likewise.
44087         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44088         commented code.
44089         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44090         (__dubcos): Likewise.
44091         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44092         (__ieee754_acos): Likewise.
44093         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44094         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44095         (__exp1): Likewise.
44096         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44098         (log1): Likewise.
44099         (my_log2): Likewise.
44100         (checkint): Likewise.
44101         * sysdeps/ieee754/dbl-64/e_remainder.c
44102         (__ieee754_remainder): Likewise.
44103         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44104         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44105         (bsloww): Likewise.
44106         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44108         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44109         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44110         MANTISSA_STORE_T to store computations on mantissa.  Use
44111         macros for rounding and division.
44112         (denorm): Likewise.
44113         (__dbl_mp): Likewise.
44114         (add_magnitudes): Likewise.
44115         (sub_magnitudes): Likewise.
44116         (__mul): Likewise.
44117         (__sqr): Likewise.
44118         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44119         powers of two in terms of TWOPOW macro.
44120         (mp_no): Make type of mantissa as MANTISSA_T.
44121         [!RADIXI]: Define RADIXI.
44122         [!TWO52]: Define TWO52.
44123         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44125 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44127         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44128         llroundl symbol when building for PPC32.
44130 2013-03-24  Mark H Weaver  <mhw@netris.org>
44132         * manual/arith.texi (Normalization Functions): Fix prototypes for
44133         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44135 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44137         [BZ #13889]
44138         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44139         high value to check if expl overflow.
44140         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44141         to check for underflow and overflow.
44142         * math/libm-test.inc: Add exp test.
44144 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44146         [BZ #11120]
44147         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44148         with NOT_IN_libc.
44150 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44152         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44153         symbol.
44155 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44157         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44158         wrap blocks consisting of several statements.
44160         * sysdeps/generic/math-tests.h: New file.
44161         * sysdeps/i386/fpu/math-tests.h: Likewise.
44162         * math/test-snan.c: Include it.
44163         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44165 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44167         [BZ #15285]
44168         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44169         (__ieee754_j0l): Do not improve calculations using cos of twice
44170         input for inputs above LDBL_MAX / 2.0L.
44171         (__ieee754_y0l): Likewise.
44172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44173         (__ieee754_j1l): Do not improve calculations using cos of twice
44174         input for inputs above LDBL_MAX / 2.0L.
44175         (__ieee754_y1l): Likewise.
44176         * math/libm-test.inc (j0_test): Add another test.
44177         (j1_test): Likewise.
44178         (y0_test): Likewise.
44179         (y1_test): Likewise.
44180         * sysdeps/i386/fpu/libm-test-ulps: Update.
44182 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184         * Rules ($(objpfx)bench-%.c): Include code from a C source
44185         file.
44187 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44189         [BZ #15287]
44190         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44191         imaginary part 1.0 and real part less than 0.5 specially.
44192         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44193         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44194         * math/libm-test.inc (cacos_test): Add more tests.
44195         (casin_test): Likewise.
44196         (casinh_test): Likewise.
44197         * sysdeps/i386/fpu/libm-test-ulps: Update.
44198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44200 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44202         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44203         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44205 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44207         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44208         * config.make.in (config-cflags-sse4): Remove variable.
44209         (config-cflags-avx): Likewise.
44210         (config-cflags-sse2avx): Likewise.
44211         (config-cflags-novzeroupper): Likewise.
44212         (config-asflags-i686): Likewise.
44213         (have-mfma4): Likewise.
44214         (have-as-vis3): Likewise.
44215         (MIG): Likewise.
44216         * configure.in (MIG): Do not AC_SUBST.
44217         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44218         (libc_cv_cc_sse4): Do not AC_SUBST.
44219         (libc_cv_cc_avx): Likewise.
44220         (libc_cv_cc_sse2avx): Likewise.
44221         (libc_cv_cc_novzeroupper): Likewise.
44222         (libc_cv_cc_fma4): Likewise.
44223         (libc_cv_as_i686): Likewise.
44224         (libc_cv_sparc_as_vis3): Likewise.
44225         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44226         LIBC_CONFIG_VAR.
44227         (config-asflags-i686): Likewise.
44228         (config-cflags-avx): Likewise.
44229         (config-cflags-sse2avx): Likewise.
44230         (have-mfma4): Likewise.
44231         (config-cflags-novzeroupper): Likewise.
44232         * sysdeps/mach/configure.in (MIG): Likewise.
44233         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44234         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44235         LIBC_CONFIG_VAR.
44236         (config-cflags-avx): Likewise.
44237         (config-cflags-sse2avx): Likewise.
44238         (have-mfma4): Likewise.
44239         (config-cflags-novzeroupper): Likewise.
44240         * configure: Regenerated.
44241         * sysdeps/i386/configure: Likewise.
44242         * sysdeps/mach/configure: Likewise.
44243         * sysdeps/sparc/configure: Likewise.
44244         * sysdeps/x86_64/configure: Likewise.
44246 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44248         [BZ #14812]
44249         * locale/programs/localedef.c (options): Put N_ translation marker
44250         on argument names, not just descriptions.
44252 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44254         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44256 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44258         [BZ #14176]
44259         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44261 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44263         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44264         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44265         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44266         [!BEFORE_ABORT] (before_abort): New function.
44267         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44268         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44269         (writev_for_fatal): New function.
44270         (WRITEV_FOR_FATAL): New macro; call that.
44271         (backtrace_and_maps): New function.
44272         (BEFORE_ABORT): New macro; call that.
44273         (struct str_list): Type removed.
44274         (__libc_message, __libc_fatal): Functions removed.
44275         Include <sysdeps/posix/libc_fatal.c> instead.
44277 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44279         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44280         constants.
44281         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44282         double constants.
44284 2013-03-19  Andreas Schwab  <schwab@suse.de>
44286         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44287         * sysdeps/gnu/configure: Regenerate.
44289         * configure.in: Substitute libc_cv_rtlddir.
44290         * configure: Regenerate.
44291         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44292         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44293         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44294         * elf/Makefile (install-others, CFLAGS-interp.c)
44295         (ldso_install, common-ldd-rewrite): Likewise.
44296         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44297         $(inst_slibdir)/$(rtld-installed-name).
44298         * scripts/rellns-sh: Add -p option.
44299         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44300         for source.
44302 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44304         * manual/nptl.texi: Renamed to ...
44305         * manual/threads.texi: ... this.
44306         * manual/Makefile (chapters): Update.
44308 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44310         [BZ #14812]
44311         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44312         on argument names, not just descriptions.
44313         * malloc/memusagestat.c (options): Likewise.
44314         * nss/getent.c (options): Likewise.
44316 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44318         [BZ #14812]
44319         * iconv/iconv_prog.c (options): Put N_ translation marker
44320         on argument names, not just descriptions.
44321         * iconv/iconvconfig.c (options): Likewise.
44323 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44325         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44326         implementation which is faster on all x86_64 architectures.
44327         Tested on AMD, Intel Nehalem, SNB, IVB.
44328         * sysdeps/x86_64/strnlen.S: Likewise.
44330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44331         Remove all multiarch strlen and strnlen versions.
44332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44333         Remove strlen and strnlen related parts.
44335         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44336         Inline strlen part.
44337         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44339         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44340         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44341         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44342         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44343         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44344         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44346 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44348         * manual/memory.texi (Malloc Tunable Parameters):
44349         Sort parameters alphabetically. Add comments for missing entries.
44351 2013-03-17  David S. Miller  <davem@davemloft.net>
44353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44355 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44357         [BZ #15283]
44358         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44359         for arguments at most half maximum finite value.
44360         * math/libm-test.inc (j0_test): Add more tests.
44361         (j1_test): Likewise.
44362         (y0_test): Likewise.
44363         (y1_test): Likewise.
44364         * sysdeps/i386/fpu/libm-test-ulps: Update.
44365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44367         [BZ #14155]
44368         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44369         1 / x and functions P and Q for arguments above 0x1p256L.
44370         (__ieee754_y0l): Likewise.
44371         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44372         (__ieee754_y1l): Likewise.
44373         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44374         (j1_test): Likewise.
44375         (y0_test): Likewise.
44376         (y1_test): Likewise.
44378 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44380         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44381         variable.
44383 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44385         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44386         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44387         zero since it's initialized to EXEC_PAGESIZE.
44389         * sysdeps/unix/sysv/linux/ldsodefs.h
44390         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44391         * sysdeps/generic/ldsodefs.h: ... here.
44393 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44395         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44397         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44398         math/test-snan.c.
44399         * math/test-snan.c: Renamed from
44400         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44401         * math/Makefile (tests): Add test-snan.
44402         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44403         test-powerpc-snan.
44405         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44406         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44407         functions.
44408         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44409         __builtin_nan family of functions.
44410         * math/libm-test.inc (initialize): Initialize qnan_value with
44411         __builtin_nan family of functions.
44412         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44413         Remove variables.
44414         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44415         Remove functions.
44416         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44417         storage class.  Initialize qNaN_var and sNaN_var with
44418         __builtin_nan and __builtin_nans families of functions,
44419         respectively.
44421         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44422         (sqrt_test): Remove duplicate test with qNaN input.
44423         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44424         (round_test, signbit_test, significand_test): Note missing +/-Inf
44425         as well as qNaN tests.
44427         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44428         qNaN_var.  Fix a few strings, too.
44429         * math/libm-test.inc (nan_value): Rename to qnan_value.
44430         * math/gen-libm-test.pl (%beautify): Adjust to that.
44431         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44432         * math/test-misc.c (main): Likewise.
44433         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44434         to __qnan_bytes, and __qnan_union, respectively.
44435         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44436         Likewise.
44437         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44438         and lqnanval, respectively.
44439         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44440         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44441         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44442         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44444         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44445         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44446         doubles.
44448         * math/test-misc.c (main): Fix copy'n'pastos.
44449         * misc/tst-efgcvt.c (special): Likewise.
44451         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44452         Remove declarations.
44454 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44456         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44457         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44458         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44459         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44461 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44463         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44464         macro to return vdso values correctly in IFUNC implementations.
44465         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44466         Optimization by using IFUNC.
44468 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44469             Richard Henderson  <rth@redhat.com>
44470             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44472         * Makefile.in (bench): New target.
44473         * NEWS: Mention the benchmark framework.
44474         * Rules (bench): Likewise.
44475         (binaries-bench): Generate binaries for functions to
44476         benchmark.
44477         * benchtests/Makefile: New makefile for benchmark tests.
44478         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44479         programs.
44480         * benchtests/exp-inputs: New input file for EXP function.
44481         * benchtests/pow-inputs: New input file for POW function.
44482         * scripts/bench.pl: New script to generate source files for
44483         benchmark programs.
44485 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44487         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44489         computations on mantissa.  Use macros for rounding and
44490         division.
44491         (denorm): Likewise.
44492         (__dbl_mp): Likewise.
44493         (add_magnitudes): Likewise.
44494         (sub_magnitudes): Likewise.
44495         (__mul): Likewise.
44496         (__sqr): Likewise.
44497         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44498         powers of two in terms of TWOPOW macro.
44499         (mp_no): Make type of mantissa as MANTISSA_T.
44500         [!RADIXI]: Define RADIXI.
44501         [!TWO52]: Define TWO52.
44502         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44504         * manual/nptl.texi (cindex): Modify threads to pthreads.
44506 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44508         * sysdeps/x86_64/preconfigure: Regenerated.
44510 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44512         [BZ #14155]
44513         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44514         0x1p28 and above.
44515         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44516         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44517         0x1p28 and above.
44518         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44519         * math/libm-test.inc (j0_test): Do not allow one spurious
44520         underflow exception.
44521         (y1_test): Likewise.
44523 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44525         * manual/Makefile (chapters): Add nptl.
44526         * manual/debug.texi (Debugging Support): Add link to Threads
44527         chapter.
44528         * manual/nptl.texi: New file.
44530         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44532 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44534         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44535         for non-NULL pointer before the memory validity test. Pointed
44536         out by Holger Brunck <holger.brunck@keymile.com>.
44538 2013-03-13  Andreas Schwab  <schwab@suse.de>
44540         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44541         instead of .os.
44543 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44545         * timezone/zic.c: Update from tzcode 2013b.
44547 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44549         * manual/install.texi (Configuring and compiling):
44550         Mention i686 and i586.
44551         * INSTALL: Regenerate.
44553 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44555         * sysdeps/init_array/elf-init.c: New file.
44556         * csu/elf-init.c
44557         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44558         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44560         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44561         __gmon_start__ as global, but as static with a .preinit_array pointer.
44562         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44563         * sysdeps/init_array/crti.S: New file, empty except for comments.
44564         * sysdeps/init_array/crtn.S: Likewise.
44566 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44568         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44569         definining bcopy.
44570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44571         Remove Prefer_SSE_for_memop.
44572         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44573         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44574         HAS_PREFER_SSE_FOR_MEMOP.
44575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44576         memset-x86-64.
44577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44578         Remove bzero, memset ifunc support.
44579         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44580         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44581         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44584 2013-03-11  Andreas Schwab  <schwab@suse.de>
44586         [BZ #15234]
44587         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44588         by SHLIB_COMPAT.
44589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44590         (GLIBC_2.16): Remove pthread_atfork.
44592 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44594         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44595         (ptestcases.h): Likewise.
44597 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44599         * Makeconfig ($(common-objpfx)config.status): Depend on
44600         sysdeps/*/preconfigure{,.in} too.
44602 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44604         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44605         (__free_hook): Use void * instead of __malloc_ptr_t.
44606         (__malloc_hook): Likewise.
44607         (__realloc_hook): Likewise.
44608         (__memalign_hook): Likewise.
44609         (__after_morecore_hook): Likewise.
44610         * malloc/arena.c (save_malloc_hook): Likewise.
44611         (save_free_hook): Likewise.
44612         * malloc/hooks.c (malloc_hook_ini): Likewise.
44613         (realloc_hook_ini): Likewise.
44614         (memalign_hook_ini): Likewise.
44615         * malloc/malloc.c (malloc_hook_ini): Likewise.
44616         (realloc_hook_ini): Likewise.
44617         (memalign_hook_ini): Likewise.
44618         (__free_hook): Likewise.
44619         (__malloc_hook): Likewise.
44620         (__realloc_hook): Likewise.
44621         (__memalign_hook): Likewise.
44622         (__libc_malloc): Likewise.
44623         (__libc_free): Likewise.
44624         (__libc_realloc): Likewise.
44625         (__libc_memalign): Likewise.
44626         (__libc_valloc): Likewise.
44627         (__libc_pvalloc): Likewise.
44628         (__libc_calloc): Likewise.
44629         (__posix_memalign): Likewise.
44630         * malloc/morecore.c (__sbrk): Likewise.
44631         (__default_morecore): Likewise.
44633         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44635         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44636         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44637         __malloc_ptrdiff_t.
44639         * malloc/malloc.h (__malloc_size_t): Remove macro.
44640         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44641         __malloc_size_t.
44642         (old_memalign_hook): Likewise.
44643         (old_realloc_hook): Likewise.
44644         (struct hdr): Likewise.
44645         (flood): Likewise.
44646         (mallochook): Likewise.
44647         (memalignhook): Likewise.
44648         (reallochook): Likewise.
44649         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44650         (tr_old_realloc_hook): Likewise.
44651         (tr_old_memalign_hook): Likewise.
44652         (tr_mallochook): Likewise.
44653         (tr_reallochook): Likewise.
44654         (tr_memalignhook): Likewise.
44656 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44659         default_ldbl_pack and using as default implementation.
44660         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44661         implementation.
44662         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44663         redundant definition.
44664         (ldbl_insert_mantissa): Likewise.
44665         (ldbl_canonicalize): Likewise.
44666         (ldbl_nearbyint): Likewise.
44667         (ldbl_pack): Rename to ldbl_pack_ppc.
44668         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44669         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44670         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44672 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44675         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44676         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44677         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44679         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44680         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44681         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44683 2013-03-07  Andreas Jaeger  <aj@suse.de>
44685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44686         bits/mman-linux.h.
44688 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44690         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44691         Include mpa.h and declare __MPEXP.
44692         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44694         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44695         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44696         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44697         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44698         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44700         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44701         (__slowpow): Use long double EXPL and LOGL functions to
44702         compute POW.
44703         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44704         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44705         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44706         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44707         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44708         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44711         intermediate variable to calculate exponent.
44712         (__sqr): Likewise.
44713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44714         Likewise.
44715         (__sqr): Likewise.
44717         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44718         [!NO__SQR]: Define __sqr.
44719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44720         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44721         sysdeps/ieee754/dbl-64/mpa.c.
44722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44724         [BZ #12723]
44725         * posix/Makefile (tests): Add tst-pathconf.
44726         * posix/tst-pathconf.c: New test case.
44727         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44728         _PC_PIPE_BUF.
44729         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44731 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44733         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44735 2013-03-06  Andreas Jaeger  <aj@suse.de>
44737         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44738         definition via __MAP_ANONYMOUS.
44740         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44741         it's not part of Linux headers.
44743         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44744         (MAP_HUGE_MASK): Define.
44746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44747         Define.
44748         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44750         Define.
44751         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44752         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44753         Define.
44754         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44756         Define.
44757         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44759         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44760         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44761         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44762         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44763         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44764         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44766         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44767         Handle f2fs.
44769         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44770         Handle f2fs and efivarfs.
44772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44773         f2fs.
44775         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44776         (EFIVARFS_MAGIC): Add.
44777         (F2FS_LINK_MAX): Add.
44779 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44781         * stdio-common/vfprintf.c: Replace __builtin_expect with
44782         __glibc_unlikely.
44784 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44786         [BZ #13550]
44787         * sysdeps/generic/bp-sym.h: Remove file.
44788         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44789         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44790         <bp-sym.h> and <bp-asm.h>.
44791         (__longjmp): Don't use BP_SYM.
44792         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44793         and <bp-asm.h>.
44794         (memcpy): Don't use BP_SYM.
44795         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44796         <bp-sym.h> and <bp-asm.h>.
44797         (memcpy): Don't use BP_SYM.
44798         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44799         <bp-asm.h>.
44800         (memcpy): Don't use BP_SYM.
44801         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44802         <bp-asm.h>.
44803         (memset): Don't use BP_SYM.
44804         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44805         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44806         (__bzero): Don't use BP_SYM.
44807         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44808         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44809         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44810         <bp-sym.h> and <bp-asm.h>.
44811         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44812         pointers.
44813         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44814         <bp-sym.h> and <bp-asm.h>.
44815         (memcpy): Don't use BP_SYM.
44816         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44817         <bp-sym.h> and <bp-asm.h>.
44818         (memset): Don't use BP_SYM.
44819         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44820         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44821         (__bzero): Don't use BP_SYM.
44822         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44823         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44824         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44825         <bp-sym.h> and <bp-asm.h>.
44826         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44827         pointers.
44828         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44829         <bp-sym.h> and <bp-asm.h>.
44830         (memcpy): Don't use BP_SYM.
44831         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44832         <bp-sym.h> and <bp-asm.h>.
44833         (memset): Don't use BP_SYM.
44834         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44835         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44836         (__bzero): Don't use BP_SYM.
44837         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44838         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44839         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44840         <bp-sym.h> and <bp-asm.h>.
44841         (__memchr): Don't use BP_SYM.
44842         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44843         <bp-sym.h> and <bp-asm.h>.
44844         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44845         pointers.
44846         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44847         <bp-sym.h> and <bp-asm.h>.
44848         (memcpy): Don't use BP_SYM.
44849         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44850         <bp-sym.h> and <bp-asm.h>.
44851         (__mempcpy): Don't use BP_SYM.
44852         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44853         <bp-sym.h> and <bp-asm.h>.
44854         (__memrchr): Don't use BP_SYM.
44855         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44856         <bp-sym.h> and <bp-asm.h>.
44857         (memset): Don't use BP_SYM.
44858         (__bzero): Likewise.
44859         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44860         <bp-sym.h> and <bp-asm.h>.
44861         (__rawmemchr): Don't use BP_SYM.
44862         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44863         <bp-sym.h> and <bp-asm.h>.
44864         (__STRCMP): Don't use BP_SYM.
44865         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44866         <bp-sym.h> and <bp-asm.h>.
44867         (strchr): Don't use BP_SYM.
44868         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44869         <bp-sym.h> and <bp-asm.h>.
44870         (__strchrnul): Don't use BP_SYM.
44871         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44872         <bp-sym.h> and <bp-asm.h>.
44873         (strlen): Don't use BP_SYM.
44874         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44875         <bp-sym.h> and <bp-asm.h>.
44876         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44877         pointers.
44878         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44879         <bp-sym.h> and <bp-asm.h>.
44880         (__strnlen): Don't use BP_SYM.
44881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44882         <bp-sym.h> and <bp-asm.h>.
44883         (__GI__setjmp): Don't use BP_SYM.
44884         (_setjmp): Likewise.
44885         (__sigsetjmp): Likewise.
44886         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44887         (L(start_addresses)): Don't use BP_SYM.
44888         (_start): Likewise.
44889         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44890         <bp-asm.h>.
44891         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44892         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44893         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44894         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44895         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44896         <bp-asm.h>.
44897         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44898         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44899         about bounded pointers.
44900         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44901         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44902         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44903         <bp-asm.h>.
44904         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44905         about bounded pointers.  Remove GKM FIXME comments.
44906         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44907         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44908         <bp-asm.h>.
44909         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44910         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44911         Remove GKM FIXME comments.
44912         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44913         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44914         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44915         <bp-asm.h>.
44916         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44917         about bounded pointers.  Remove GKM FIXME comment.
44918         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44919         and <bp-asm.h>.
44920         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44921         pointers.
44922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44923         <bp-sym.h> and <bp-asm.h>.
44924         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44926         <bp-sym.h> and <bp-asm.h>.
44927         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44928         comment.
44930 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44932         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44933         call free(NULL).
44935 2013-03-05  David S. Miller  <davem@davemloft.net>
44937         * po/es.po: Update from translation team.
44939 2013-03-05  Andreas Jaeger  <aj@suse.de>
44941         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44942         <bits/mman-linux.h>.
44943         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44944         is fine.
44945         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44946         <bits/mman-linux.h> to end of file.
44947         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44948         is fine.
44949         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44950         <bits/mman-linux.h> to end of file.
44951         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44952         is fine.
44953         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44954         <bits/mman-linux.h> to end of file.
44956         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44957         (MCL_CURRENT, MCL_FUTURE): Define here.
44959 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44961         [BZ #15232]
44962         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44963         attribute_hidden.
44964         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44966 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44968         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44969         fourth parameter needed for rt_sigprocmask syscall.
44970         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44971         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44972         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44973         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44974         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44975         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44977 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44979         [BZ #13550]
44980         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44981         comment about bounded pointers.
44982         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44983         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44985 2013-03-04  Andreas Jaeger  <aj@suse.de>
44987         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44988         common definitions.
44990         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44991         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44992         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44993         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44994         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44995         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44997 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44999         [BZ #15055]
45000         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45001         __ieee754_sqrl instead of __sqrl.
45003 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45005         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45006         * sysdeps/powerpc/fpu_control.h: ... here.
45007         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45008         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45009         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45010         * sysdeps/powerpc/bits/mathinline.h: ... here.
45012 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45014         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45015         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45016         to just [NEED_DL_SYSINFO_DSO].
45017         * elf/dl-support.c: Likewise.
45018         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45019         * elf/rtld.c (dl_main): Likewise.
45020         * elf/setup-vdso.h (setup_vdso): Likewise.
45021         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45022         * sysdeps/unix/sysv/linux/dl-sysdep.c
45023         (_dl_discover_osversion): Likewise.
45025 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45027         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45028         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45030 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45032         * NEWS: Mention libm performance improvements and non-x86 PI
45033         futex support.
45035         * csu/libc-start.c (__pthread_initialize_minimal): Change
45036         function arguments.
45037         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45039 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45041         [BZ #13550]
45042         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45043         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45044         <bp-sym.h> and <bp-asm.h>.
45045         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45046         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45047         and <bp-asm.h>.
45048         (memcpy): Don't use BP_SYM.
45049         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45050         <bp-asm.h>.
45051         (__mpn_add_n): Don't use BP_SYM.
45052         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45053         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45054         and <bp-asm.h>.
45055         (__mpn_addmul_1): Don't use BP_SYM.
45056         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45057         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45058         <bp-sym.h>.
45059         (_setjmp): Don't use BP_SYM.
45060         (__novmx_setjmp): Likewise.
45061         (__GI__setjmp): Likewise.
45062         (__vmx_setjmp): Likewise.
45063         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45064         <bp-sym.h>.
45065         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45066         (__bzero): Don't use BP_SYM.
45067         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45068         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45069         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45070         <bp-sym.h> and <bp-asm.h>.
45071         (memcpy): Don't use BP_SYM.
45072         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45073         <bp-sym.h> and <bp-asm.h>.
45074         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45075         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45076         <bp-sym.h> and <bp-asm.h>.
45077         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45078         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45079         <bp-asm.h>.
45080         (__mpn_lshift): Don't use BP_SYM.
45081         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45082         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45083         <bp-asm.h>.
45084         (memset): Don't use BP_SYM.
45085         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45086         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45087         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45088         <bp-asm.h>.
45089         (__mpn_mul_1): Don't use BP_SYM.
45090         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45092         <bp-sym.h> and <bp-asm.h>.
45093         (memcmp): Don't use BP_SYM.
45094         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45095         <bp-sym.h> and <bp-asm.h>.
45096         (memcpy): Don't use BP_SYM.
45097         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45098         <bp-sym.h> and <bp-asm.h>.
45099         (memset): Don't use BP_SYM.
45100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45101         <bp-sym.h> and <bp-asm.h>.
45102         (strncmp): Don't use BP_SYM.
45103         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45104         <bp-sym.h> and <bp-asm.h>.
45105         (memcpy): Don't use BP_SYM.
45106         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45107         <bp-sym.h> and <bp-asm.h>.
45108         (memset): Don't use BP_SYM.
45109         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45110         <bp-sym.h> and <bp-asm.h>.
45111         (__memchr): Don't use BP_SYM.
45112         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45113         <bp-sym.h> and <bp-asm.h>.
45114         (memcmp): Don't use BP_SYM.
45115         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45116         <bp-sym.h> and <bp-asm.h>.
45117         (memcpy): Don't use BP_SYM.
45118         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45119         <bp-sym.h> and <bp-asm.h>.
45120         (__mempcpy): Don't use BP_SYM.
45121         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45122         <bp-sym.h> and <bp-asm.h>.
45123         (__memrchr): Don't use BP_SYM.
45124         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45125         <bp-sym.h> and <bp-asm.h>.
45126         (memset): Don't use BP_SYM.
45127         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45128         <bp-sym.h> and <bp-asm.h>.
45129         (__rawmemchr): Don't use BP_SYM.
45130         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45131         <bp-sym.h> and <bp-asm.h>.
45132         (__STRCMP): Don't use BP_SYM.
45133         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45134         <bp-sym.h> and <bp-asm.h>.
45135         (strchr): Don't use BP_SYM.
45136         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45137         <bp-sym.h> and <bp-asm.h>.
45138         (__strchrnul): Don't use BP_SYM.
45139         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45140         <bp-sym.h> and <bp-asm.h>.
45141         (strlen): Don't use BP_SYM.
45142         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45143         <bp-sym.h> and <bp-asm.h>.
45144         (strncmp): Don't use BP_SYM.
45145         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45146         <bp-sym.h> and <bp-asm.h>.
45147         (__strnlen): Don't use BP_SYM.
45148         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45149         <bp-asm.h>.
45150         (__mpn_rshift): Don't use BP_SYM.
45151         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45152         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45153         <bp-sym.h> and <bp-asm.h>.
45154         (__sigsetjmp): Don't use BP_SYM.
45155         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45156         (L(start_addresses)): Don't use BP_SYM.
45157         (_start): Likewise.
45158         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45159         <bp-asm.h>.
45160         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45161         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45162         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45163         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45164         <bp-asm.h>.
45165         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45166         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45167         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45168         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45169         <bp-asm.h>.
45170         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45171         comments.
45172         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45173         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45174         <bp-asm.h>.
45175         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45176         FIXME comments.
45177         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45178         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45179         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45180         <bp-asm.h>.
45181         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45182         comment.
45183         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45184         and <bp-asm.h>.
45185         (strncmp): Don't use BP_SYM,
45186         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45187         <bp-asm.h>.
45188         (__mpn_sub_n): Don't use BP_SYM.
45189         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45190         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45191         and <bp-asm.h>.
45192         (__mpn_submul_1): Don't use BP_SYM.
45193         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45195         <bp-sym.h> and <bp-asm.h>.
45196         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45198         <bp-sym.h> and <bp-asm.h>.
45199         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45200         comment.
45202 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45205         Use ZK to minimize writes to Z.
45206         (sub_magnitudes): Simplify code a bit.
45207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45208         Use ZK to minimize writes to Z.
45209         (sub_magnitudes): Simplify code a bit.
45211 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45213         * csu/gmon-start.c: Add special exception to license text.
45215 2013-02-27  Richard Henderson  <rth@redhat.com>
45217         * scripts/config.guess: Update from config.git.
45218         * scripts/config.sub: Likewise.
45220 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45222         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45224         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45226         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45228         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45230         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45232 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45234         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45235         [$(build-shared = yes].
45237 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45239         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45240         (__mul): Reduce iterations for calculating mantissa.
45242         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45243         MPTWO.
45244         (__mpranred): Likewise.
45246         [BZ #15160]
45247         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45248         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45250 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45252         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45253         Define __attribute__.
45255 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45257         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45258         unused.
45259         * posix/regex_internal.h (__attribute): Remove.
45260         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45261         (re_string_context_at): Likewise.
45262         (bitset_not): Use __attribute__ and mark function as possibly
45263         unused.
45264         (bitset_merge): Likewise.
45265         (bitset_mask): Likewise.
45266         (re_string_char_size_at): Likewise.
45267         (re_string_wchar_at): Likewise.
45268         (re_string_elem_size_at): Likewise.
45270 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45272         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45273         code.
45274         (cc32): Likewise.
45276         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45277         (__acr): Likewise.
45278         (__cpy): Likewise.
45279         (norm): Likewise.
45280         (denorm): Likewise.
45281         (__dbl_mp): Likewise.
45282         (add_magnitudes): Likewise.
45283         (sub_magnitudes): Likewise.
45284         (__mul): Likewise.
45285         (__inv): Likewise.
45287         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45288         style.
45290         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45291         style.
45293         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45294         code.
45296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45297         up changes with default code.
45298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45299         Likewise.
45301 2013-02-24  Allan McRae  <allan@archlinux.org>
45303         * manual/socket.texi (The Internet Namespace): Order menu items
45304         to match that in the file.
45306         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45307         node listing of the info page menu.
45309 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45311         [BZ #13550]
45312         * sysdeps/i386/bp-asm.h: Remove file.
45313         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45314         (PARMS): Do not use macros from bp-asm.h.
45315         (S1): Likewise.
45316         (S2): Likewise.
45317         (SIZE): Likewise.
45318         (__mpn_add_n): Do not use BP_SYM
45319         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45320         "bp-asm.h".
45321         (PARMS): Do not use macros from bp-asm.h.
45322         (S1): Likewise.
45323         (SIZE): Likewise.
45324         (__mpn_addmul_1): Do not use BP_SYM
45325         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45326         "bp-asm.h".
45327         (PARMS): Do not use macros from bp-asm.h.
45328         (SIGMSK): Likewise.
45329         (_setjmp): Likewise.  Do not use BP_SYM.
45330         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45331         "bp-asm.h".
45332         (PARMS): Do not use macros from bp-asm.h.
45333         (SIGMSK): Likewise.
45334         (setjmp): Likewise.  Do not use BP_SYM.
45335         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45336         "bp-asm.h".
45337         (PARMS): Do not use macros from bp-asm.h.
45338         (__frexp): Do not use BP_SYM.
45339         (frexp): Likewise.
45340         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45341         "bp-asm.h".
45342         (PARMS): Do not use macros from bp-asm.h.
45343         (__frexpf): Do not use BP_SYM.
45344         (frexpf): Likewise.
45345         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45346         "bp-asm.h".
45347         (PARMS): Do not use macros from bp-asm.h.
45348         (__frexpl): Do not use BP_SYM.
45349         (frexpl): Likewise.
45350         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45351         "bp-asm.h".
45352         (PARMS): Do not use macros from bp-asm.h.
45353         (__remquo): Do not use BP_SYM.
45354         (remquo): Likewise.
45355         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45356         "bp-asm.h".
45357         (PARMS): Do not use macros from bp-asm.h.
45358         (__remquof): Do not use BP_SYM.
45359         (remquof): Likewise.
45360         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45361         "bp-asm.h".
45362         (PARMS): Do not use macros from bp-asm.h.
45363         (__remquol): Do not use BP_SYM.
45364         (remquol): Likewise.
45365         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45366         "bp-asm.h".
45367         (PARMS): Do not use macros from bp-asm.h.
45368         (DEST): Likewise.
45369         (SRC): Likewise.
45370         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45371         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45372         "bp-asm.h".
45373         (PARMS): Do not use macros from bp-asm.h.
45374         (strlen): Do not use BP_SYM.
45375         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45376         "bp-asm.h".
45377         (PARMS): Do not use macros from bp-asm.h.
45378         (S1): Likewise.
45379         (S2): Likewise.
45380         (SIZE): Likewise.
45381         (__mpn_add_n): Do not use BP_SYM.
45382         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45383         "bp-asm.h".
45384         (PARMS): Do not use macros from bp-asm.h.
45385         (S1): Likewise.
45386         (SIZE): Likewise.
45387         (__mpn_addmul_1): Do not use BP_SYM.
45388         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45389         weak_alias.
45390         (bzero): Likewise.
45391         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45392         "bp-asm.h".
45393         (PARMS): Do not use macros from bp-asm.h.
45394         (S): Likewise.
45395         (SIZE): Likewise.
45396         (__mpn_lshift): Do not use BP_SYM.
45397         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45398         "bp-asm.h".
45399         (PARMS): Do not use macros from bp-asm.h.
45400         (DEST): Likewise.
45401         (SRC): Likewise.
45402         (LEN): Likewise.
45403         (memcpy): Likewise.  Do not use BP_SYM.
45404         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45405         libc_hidden_def and weak_alias.
45406         (mempcpy): Do not use BP_SYM in weak_alias.
45407         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45408         "bp-asm.h".
45409         (PARMS): Do not use macros from bp-asm.h.
45410         (DEST): Likewise.
45411         (LEN): Likewise.
45412         [!BZERO_P] (CHR): Likewise.
45413         (memset): Likewise.  Do not use BP_SYM.
45414         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45415         "bp-asm.h".
45416         (PARMS): Do not use macros from bp-asm.h.
45417         (S1): Likewise.
45418         (SIZE): Likewise.
45419         (__mpn_mul_1): Do not use BP_SYM.
45420         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45421         "bp-asm.h".
45422         (PARMS): Do not use macros from bp-asm.h.
45423         (S): Likewise.
45424         (SIZE): Likewise.
45425         (__mpn_rshift): Do not use BP_SYM.
45426         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45427         "bp-asm.h".
45428         (PARMS): Do not use macros from bp-asm.h.
45429         (STR): Likewise.
45430         (CHR): Likewise.
45431         (strchr): Likewise.  Do not use BP_SYM.
45432         (index): Do not use BP_SYM in weak_alias.
45433         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45434         "bp-asm.h".
45435         (PARMS): Do not use macros from bp-asm.h.
45436         (DEST): Likewise.
45437         (SRC): Likewise.
45438         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45439         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45440         "bp-asm.h".
45441         (PARMS): Do not use macros from bp-asm.h.
45442         (strlen): Do not use BP_SYM.
45443         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45444         "bp-asm.h".
45445         (PARMS): Do not use macros from bp-asm.h.
45446         (S1): Likewise.
45447         (S2): Likewise.
45448         (SIZE): Likewise.
45449         (__mpn_sub_n): Do not use BP_SYM.
45450         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45451         "bp-asm.h".
45452         (PARMS): Do not use macros from bp-asm.h.
45453         (S1): Likewise.
45454         (SIZE): Likewise.
45455         (__mpn_submul_1): Do not use BP_SYM.
45456         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45457         "bp-asm.h".
45458         (PARMS): Do not use macros from bp-asm.h.
45459         (S1): Likewise.
45460         (S2): Likewise.
45461         (SIZE): Likewise.
45462         (__mpn_add_n): Do not use BP_SYM.
45463         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45464         weak_alias.
45465         (bzero): Likewise.
45466         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45467         "bp-asm.h".
45468         (PARMS): Do not use macros from bp-asm.h.
45469         (BLK2): Likewise.
45470         (LEN): Likewise.
45471         (memcmp): Do not use BP_SYM.
45472         (bcmp): Do not use BP_SYM in weak_alias.
45473         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45474         "bp-asm.h".
45475         (PARMS): Do not use macros from bp-asm.h.
45476         (DEST): Likewise.
45477         (SRC): Likewise.
45478         (LEN): Likewise.
45479         (memcpy): Likewise.  Do not use BP_SYM.
45480         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45481         "bp-asm.h".
45482         (PARMS): Do not use macros from bp-asm.h.
45483         (DEST): Likewise.
45484         (SRC): Likewise.
45485         (LEN): Likewise.
45486         (memmove): Likewise.  Do not use BP_SYM.
45487         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45488         "bp-asm.h".
45489         (PARMS): Do not use macros from bp-asm.h.
45490         (DEST): Likewise.
45491         (SRC): Likewise.
45492         (LEN): Likewise.
45493         (__mempcpy): Likewise.  Do not use BP_SYM.
45494         (mempcpy): Do not use BP_SYM in weak_alias.
45495         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45496         "bp-asm.h".
45497         (PARMS): Do not use macros from bp-asm.h.
45498         (DEST): Likewise.
45499         (LEN): Likewise.
45500         [!BZERO_P] (CHR): Likewise.
45501         (memset): Likewise.  Do not use BP_SYM.
45502         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45503         "bp-asm.h".
45504         (PARMS): Do not use macros from bp-asm.h.
45505         (STR2): Likewise.
45506         (strcmp): Do not use BP_SYM.
45507         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45508         "bp-asm.h".
45509         (PARMS): Do not use macros from bp-asm.h.
45510         (STR): Likewise.
45511         (DELIM): Likewise.
45512         [USE_AS_STRTOK_R] (SAVE): Likewise.
45513         (FUNCTION): Likewise.  Do not use BP_SYM.
45514         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45515         aliases.
45516         (strtok_r): Likewise.
45517         (__GI___strtok_r): Likewise.
45518         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45519         (PARMS): Do not use macros from bp-asm.h.
45520         (S): Likewise.
45521         (SIZE): Likewise.
45522         (__mpn_lshift): Do not use BP_SYM.
45523         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45524         (PARMS): Do not use macros from bp-asm.h.
45525         (STR): Likewise.
45526         (CHR): Likewise.
45527         (__memchr): Do not use BP_SYM.
45528         (memchr): Do not use BP_SYM in weak_alias.
45529         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45530         (PARMS): Do not use macros from bp-asm.h.
45531         (BLK2): Likewise.
45532         (LEN): Likewise.
45533         (memcmp): Do not use BP_SYM.
45534         (bcmp): Do not use BP_SYM in weak_alias.
45535         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45536         (PARMS): Do not use macros from bp-asm.h.
45537         (S1): Likewise.
45538         (SIZE): Likewise.
45539         (__mpn_mul_1): Do not use BP_SYM.
45540         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45541         "bp-asm.h".
45542         (PARMS): Do not use macros from bp-asm.h.
45543         (STR): Likewise.
45544         (CHR): Likewise.
45545         (__rawmemchr): Do not use BP_SYM.
45546         (rawmemchr): Do not use BP_SYM in weak_alias.
45547         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45548         (PARMS): Do not use macros from bp-asm.h.
45549         (S): Likewise.
45550         (SIZE): Likewise.
45551         (__mpn_rshift): Do not use BP_SYM.
45552         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45553         (PARMS): Do not use macros from bp-asm.h.
45554         (SIGMSK): Likewise.
45555         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45556         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45557         (_start): Do not use BP_SYM.
45558         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45559         (PARMS): Do not use macros from bp-asm.h.
45560         (DEST): Likewise.
45561         (SRC): Likewise.
45562         (__stpcpy): Likewise.  Do not use BP_SYM.
45563         (stpcpy): Do not use BP_SYM in weak_alias.
45564         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45565         "bp-asm.h".
45566         (PARMS): Do not use macros from bp-asm.h.
45567         (DEST): Likewise.
45568         (SRC): Likewise.
45569         (LEN): Likewise.
45570         (__stpncpy): Likewise.  Do not use BP_SYM.
45571         (stpncpy): Do not use BP_SYM in weak_alias.
45572         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45573         (PARMS): Do not use macros from bp-asm.h.
45574         (STR): Likewise.
45575         (CHR): Likewise.
45576         (strchr): Likewise.  Do not use BP_SYM.
45577         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45578         "bp-asm.h".
45579         (PARMS): Do not use macros from bp-asm.h.
45580         (STR): Likewise.
45581         (CHR): Likewise.
45582         (__strchrnul): Likewise.  Do not use BP_SYM.
45583         (strchrnul): Do not use BP_SYM in weak_alias.
45584         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45585         "bp-asm.h".
45586         (PARMS): Do not use macros from bp-asm.h.
45587         (STOP): Likewise.
45588         (strcspn): Do not use BP_SYM.
45589         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45590         "bp-asm.h".
45591         (PARMS): Do not use macros from bp-asm.h.
45592         (STR): Likewise.
45593         (STOP): Likewise.
45594         (strpbrk): Likewise.  Do not use BP_SYM.
45595         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45596         "bp-asm.h".
45597         (PARMS): Do not use macros from bp-asm.h.
45598         (STR): Likewise.
45599         (CHR): Likewise.
45600         (strrchr): Likewise.  Do not use BP_SYM.
45601         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45602         (PARMS): Do not use macros from bp-asm.h.
45603         (SKIP): Likewise.
45604         (strspn): Do not use BP_SYM.
45605         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45606         (PARMS): Do not use macros from bp-asm.h.
45607         (STR): Likewise.
45608         (DELIM): Likewise.
45609         (SAVE): Likewise.
45610         (FUNCTION): Likewise.  Do not use BP_SYM.
45611         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45612         aliases.
45613         (strtok_r): Likewise.
45614         (__GI___strtok_r): Likewise.
45615         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45616         (PARMS): Do not use macros from bp-asm.h.
45617         (S1): Likewise.
45618         (S2): Likewise.
45619         (SIZE): Likewise.
45620         (__mpn_sub_n): Do not use BP_SYM.
45621         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45622         "bp-asm.h".
45623         (PARMS): Do not use macros from bp-asm.h.
45624         (S1): Likewise.
45625         (SIZE): Likewise.
45626         (__mpn_submul_1): Do not use BP_SYM.
45627         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45628         <bp-sym.h>.
45629         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45630         and <bp-asm.h>.
45631         (PARMS): Do not use macros from bp-asm.h.
45632         (FLAGS): Likewise.
45633         (PTID): Likewise.
45634         (TLS): Likewise.
45635         (CTID): Likewise.
45636         (__clone): Do not use BP_SYM.
45637         (clone): Do not use BP_SYM in weak_alias.
45638         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45639         and <bp-asm.h>.
45640         (PARMS): Do not use macros from bp-asm.h.
45641         (LEN): Likewise.
45642         (__mmap64): Do not use BP_SYM.
45643         (mmap64): Do not use BP_SYM in weak_alias.
45644         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45645         <bp-sym.h> and <bp-asm.h>.
45646         (PARMS): Do not use macros from bp-asm.h.
45647         (__posix_fadvise64_l64): Do not use BP_SYM.
45648         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45649         (PARMS): Do not use macros from bp-asm.h.
45650         (NSOPS): Likewise.
45651         (semtimedop): Do not use BP_SYM.
45652         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45653         and <bp-asm.h>.
45655 2013-02-21  Allan McRae  <allan@archlinux.org>
45657         * manual/message.texi (Charset conversion in gettext):
45658         Move @end statement to beginning of line.
45660 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45663         static.
45664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45665         Likewise.
45667         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45668         (denorm): Likewise.
45669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45672 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45674         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45675         tail-call to the resolved function if pltexit isn't needed.
45677 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45680         or Y being zero as being unlikely.
45681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45682         Likewise.
45684 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45686         * manual/nss.texi (System Databases and Name Service Switch):
45687         Remove frobnicate @pxref.
45689 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45691         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45692         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45694 2013-02-20  Petr Machata  <pmachata@redhat.com>
45696         * elf/elf.h (R_ARM_TARGET1): New macro.
45697         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45698         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45699         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45700         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45701         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45702         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45703         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45704         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45705         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45706         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45707         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45708         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45709         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45710         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45711         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45712         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45713         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45714         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45715         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45716         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45717         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45718         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45719         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45720         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45721         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45722         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45723         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45724         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45725         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45726         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45727         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45728         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45729         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45730         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45731         (R_ARM_THM_GOT_BREL12): Likewise.
45732         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45733         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45734         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45735         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45736         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45737         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45738         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45739         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45740         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45742 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45744         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45745         __attribute_used__ to __attribute__ ((unused)).
45747 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45749         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45750         powerpc mpa.c.
45751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45752         comment formatting.
45753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45755 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45757         [BZ #13550]
45758         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45759         Remove macro.
45760         (ENTER): Remove both macro definitions.
45761         (LEAVE): Likewise.
45762         (CHECK_BOUNDS_LOW): Likewise.
45763         (CHECK_BOUNDS_HIGH): Likewise.
45764         (CHECK_BOUNDS_BOTH): Likewise.
45765         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45766         (RETURN_BOUNDED_POINTER): Likewise.
45767         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45768         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45769         (POP_ERRNO_LOCATION_RETURN): Likewise.
45770         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45771         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45772         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45773         macros.
45774         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45775         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45776         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45777         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45778         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45779         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45780         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45781         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45782         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45783         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45784         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45785         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45786         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45787         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45788         removed macros.
45789         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45790         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45791         macros.
45792         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45793         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45794         * sysdeps/i386/i586/memset.S (memset): Likewise.
45795         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45796         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45797         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45798         macros.
45799         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45800         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45801         Change uses of L(2) to L(out).
45802         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45803         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45804         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45805         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45806         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45807         removed macros.
45808         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45809         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45810         macros.
45811         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45812         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45813         (RETURN): Do not use macro LEAVE.
45814         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45815         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45816         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45817         * sysdeps/i386/i686/memset.S (memset): Likewise.
45818         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45819         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45820         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45821         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45822         Likewise.
45823         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45824         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45825         L(1_2) and L(1_3) into L(1).
45826         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45827         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45828         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45829         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45830         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45831         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45832         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45833         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45834         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45835         macros.
45836         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45837         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45838         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45839         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45840         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45841         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45842         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45843         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45844         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45845         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45846         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45847         * sysdeps/i386/strspn.S (strspn): Likewise.
45848         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45849         conditional code.
45850         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45851         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45852         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45853         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45854         L(1_3) into L(1_1).
45855         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45856         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45857         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45858         macros.
45859         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45861 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45863         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45864         macro.
45866 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45868         * math/atest-exp.c (exp_mpn): Remove ROUND.
45869         * math/atest-exp2.c (exp_mpn): Likewise.
45870         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45872         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45873         * stdlib/tst-tls-atexit-lib.c: Likewise.
45874         * stdlib/tst-tls-atexit.c: Likewise.
45876 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45878         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45879         and __attribute_alloc_size__.
45881 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45883         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45884         __attribute_alloc_size__.
45885         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45886         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45888 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45890         * include/programs/xmalloc.h: New file.
45891         * catgets/gencat.c: Include it.
45892         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45893         * elf/pldd.c: Likewise.
45894         * iconv/iconv_charmap.c: Likewise.
45895         * iconv/iconvconfig.c: Likewise.
45896         * iconv/strtab.c: Likewise.
45897         * locale/programs/locale.c: Likewise.
45898         * locale/programs/localedef.h: Likewise.
45899         * locale/programs/simple-hash.c: Likewise.
45900         * nscd/nscd.h: Likewise.
45901         * nss/makedb.c: Likewise.
45902         * sysdeps/generic/ldconfig.h: Likewise.
45904 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45906         * Versions.def: Add GLIBC_2.18.
45907         * include/link.h (struct link_map): New member l_tls_dtor_count.
45908         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45909         (__call_tls_dtors): Likewise.
45910         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45911         __cxa_thread_atexit_impl.
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45913         Likewise.
45914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45915         Likewise.
45916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45917         Likewise.
45918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45919         Likewise.
45920         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45922         Likewise.
45923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45924         Likewise.
45925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45927         Likewise.
45928         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45929         (tests): Add test case tst-tls-atexit.
45930         (modules-names): Add shared library for tst-tls-atexit.
45931         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45932         (GLIBC_PRIVATE): Add __call_tls_dtors.
45933         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45934         for libstdc++.
45935         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45936         * stdlib/tst-tls-atexit.c: New test case.
45937         * stdlib/tst-tls-atexit-lib.c: New test case.
45939         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45941         * elf/Versions (ld): Add _dl_find_dso_for_object.
45942         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45943         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45944         (dl_open_worker): Use _dl_find_dso_for_object.
45945         * elf/dl-sym.c (do_sym): Likewise.
45946         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45948 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45950         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45951         Syntactic changes only.
45952         (_dl_runtime_profile): Do a tail-call to the resolved function.
45954 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45956         [BZ #13550]
45957         * sysdeps/x86_64/bp-asm.h: Remove file.
45958         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45959         <bp-sym.h> and <bp-asm.h>.
45960         (__clone): Do not use BP_SYM.
45961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45962         <bp-sym.h> and <bp-asm.h>.
45963         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45964         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45965         "bp-asm.h".
45966         (_setjmp): Do not use BP_SYM.
45967         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45968         "bp-asm.h".
45969         (setjmp): Do not use BP_SYM.
45970         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45971         libc_hidden_def.
45972         (mempcpy): Do not use BP_SYM in weak_alias.
45973         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45974         "bp-asm.h".
45975         (strchr): Do not use BP_SYM.
45976         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45977         "bp-asm.h".
45978         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45979         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45980         (_start): Do not use BP_SYM.
45981         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45982         "bp-asm.h".
45983         (strcat): Do not use BP_SYM.
45984         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45985         "bp-asm.h".
45986         (STRCMP): Do not use BP_SYM.
45987         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45988         "bp-asm.h".
45989         (STRCPY): Do not use BP_SYM.
45990         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45991         "bp-asm.h".
45992         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45993         "bp-asm.h".
45994         (FUNCTION): Do not use BP_SYM.
45995         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45996         weak_alias.
45997         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45999 2013-02-17  Andreas Jaeger  <aj@suse.de>
46001         * time/Versions: Sort entries.
46002         * string/Versions: Likewise.
46003         * resolv/Versions: Likewise.
46004         * posix/Versions: Likewise.
46005         * iconv/Versions: Likewise.
46006         * elf/Versions: Likewise.
46007         * wcsmbs/Versions: Likewise.
46009 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46011         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46012         loop termination condition.
46014         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46015         variable to calculate EZ.
46016         (__sqr): Likewise.
46018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46019         the lower precision input.
46021 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46023         [BZ #13550]
46024         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46025         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46026         (run-via-rtld-prefix): Do not handle %-bp tests.
46027         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46028         (all-object-suffixes): Remove .ob.
46029         (bppfx): Remove variable.
46030         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46031         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46032         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46033         [$(build-bounded) = yes] (libtype.ob): Likewise.
46034         * Makerules (elide-routines.ob): Remove variable.
46035         (do-tests-clean): Do not handle *-bp.out.
46036         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46037         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46038         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46039         (tests): Do not include $(tests-bp.out).
46040         (xtests): Do not include $(xtests-bp.out).
46041         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46042         [$(build-bounded) = yes] ($(addprefix
46043         $(objpfx),$(binaries-bounded))): Remove rule.
46044         ($(objpfx)%-bp.out): Remove rule.
46045         * config.make.in (build-bounded): Remove variable.
46046         * crypt/Makefile [$(build-bounded) = yes]
46047         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46048         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46049         append to variable.
46050         [$(build-bounded) = yes] (install-lib): Likewise.
46051         [$(build-bounded) = yes] (generated): Likewise.
46052         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46053         Remove rule.
46054         * intl/Makefile [$(build-bounded) = yes]
46055         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46056         * math/Makefile [$(build-bounded) = yes]
46057         ($(tests:%=$(objpfx)%-bp): Likewise.
46058         * misc/Makefile [$(build-bounded) = yes]
46059         ($(objpfx)tst-tsearch-bp): Likewise.
46060         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46061         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46062         Remove dependency.
46063         * string/Makefile (o-objects.ob): Remove variable.
46064         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46065         (CFLAGS-.ob): Remove variable.
46066         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46067         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46068         both definitions of variable.
46069         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46070         (ASFLAGS-.ob): Remove variable.
46072 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46074         [BZ #13550]
46075         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46076         Remove __BOUNDED_POINTERS__ from condition.
46077         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46078         * string/bits/string2.h [!__NO_STRING_INLINES &&
46079         !__BOUNDED_POINTERS__]: Likewise.
46080         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46081         Likewise.
46082         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46083         Remove conditional code.
46084         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46085         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46086         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46087         condition.
46089         [BZ #13550]
46090         * csu/libc-start.c: Do not include <bp-sym.h>.
46091         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46092         * elf/dl-open.c: Do not include <bp-sym.h>.
46093         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46094         * math/fegetenv.c: Do not include <bp-sym.h>.
46095         (fegetenv): Do not use BP_SYM in versioned symbols.
46096         * nptl/sysdeps/pthread/bits/libc-lockP.h
46097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46098         <bp-sym.h>.
46099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46100         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46102         (__pthread_mutex_destroy): Likewise.
46103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46104         (__pthread_mutex_lock): Likewise.
46105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46106         (__pthread_mutex_trylock): Likewise.
46107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46108         (__pthread_mutex_unlock): Likewise.
46109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46110         (__pthread_mutexattr_init): Likewise.
46111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46112         (__pthread_mutexattr_destroy): Likewise.
46113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46114         (__pthread_mutexattr_settype): Likewise.
46115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46116         (__pthread_rwlock_init): Likewise.
46117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46118         (__pthread_rwlock_destroy): Likewise.
46119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46120         (__pthread_rwlock_rdlock): Likewise.
46121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46122         (__pthread_rwlock_tryrdlock): Likewise.
46123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46124         (__pthread_rwlock_wrlock): Likewise.
46125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46126         (__pthread_rwlock_trywrlock): Likewise.
46127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46128         (__pthread_rwlock_unlock): Likewise.
46129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46130         (__pthread_key_create): Likewise.
46131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46132         (__pthread_setspecific): Likewise.
46133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46134         (__pthread_getspecific): Likewise.
46135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46136         Likewise.
46137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46138         (_pthread_cleanup_push_defer): Likewise.
46139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46140         (_pthread_cleanup_pop_restore): Likewise.
46141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46142         (pthread_setcancelstate): Likewise.
46143         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46144         <bp-sym.h>.
46145         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46146         (memchr): Do not use BP_SYM in weak_alias.
46147         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46148         (fegetenv): Do not use BP_SYM in versioned symbols.
46149         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46150         (fesetenv): Do not use BP_SYM in versioned symbols.
46151         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46152         (feupdateenv): Do not use BP_SYM in versioned symbols.
46153         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46154         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46155         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46156         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46157         (open64): Do not use BP_SYM in weak_alias.
46158         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46159         (fegetenv): Do not use BP_SYM in versioned symbols.
46160         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46161         (fesetenv): Do not use BP_SYM in versioned symbols.
46162         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46163         (feupdateenv): Do not use BP_SYM in versioned symbols.
46164         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46165         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46166         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46167         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46168         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46169         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46170         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46171         <bp-sym.h>.
46172         (__libc_start_main): Do not use BP_SYM.
46174 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46177         redundant return line.
46178         (norm): Likewise.
46179         (denorm): Likewise.
46180         (dbl_mp): Likewise.
46181         (sub_magnitudes): Likewise.
46182         (__add): Likewise.
46183         (__sub): Likewise.
46184         (__mul): Likewise.
46185         (__inv): Likewise.
46186         (__dvd): Likewise.
46187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46188         (norm): Likewise.
46189         (denorm): Likewise.
46190         (dbl_mp): Likewise.
46191         (sub_magnitudes): Likewise.
46192         (__add): Likewise.
46193         (__sub): Likewise.
46194         (__mul): Likewise.
46195         (__inv): Likewise.
46196         (__dvd): Likewise.
46198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46199         instead of __mul.
46200         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46201         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46202         (cc32): Likewise.
46204         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46205         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46207         of __mul for squares.
46208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46209         function
46210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46211         Likewise.
46212         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46213         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46215 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46217         [BZ #13550]
46218         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46219         code.
46220         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46221         prototype or function definition.  Rename ubp_* variables and
46222         parameters.  Remove argv definitions conditional on
46223         [__BOUNDED_POINTERS__].
46224         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46225         * elf/dl-runtime.c (_dl_fixup): Likewise.
46226         * include/set-hooks.h (RUN_HOOK): Likewise.
46227         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46228         definition.
46229         * string/strcpy.c (strcpy): Do not use __unbounded.
46230         * sysdeps/generic/frame.h (struct layout): Likewise.
46231         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46232         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46233         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46234         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46235         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46236         (__backtrace): Likewise.
46237         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46238         use __ptrvalue.
46239         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46240         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46241         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46242         Likewise.
46243         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46244         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46245         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46246         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46247         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46248         Do not use __unbounded.
46249         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46250         Rename __unboundedrlimits parameter to rlimits in prototype.
46251         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46252         Do not use __unbounded.
46253         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46254         not use __ptrvalue.
46255         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46256         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46257         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46258         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46259         __ptrvalue or __unbounded.
46260         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46261         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46262         use __unbounded.
46263         (__new_msgctl): Do not use __ptrvalue.
46264         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46265         __unbounded.
46266         (__libc_msgrcv): Do not use __ptrvalue.
46267         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46268         startup_info): Do not use __unbounded.
46269         (__libc_start_main): Likewise.  Rename ubp_* variables and
46270         parameters.  Remove argv definitions conditional on
46271         [__BOUNDED_POINTERS__].
46272         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46273         __ptrvalue.
46274         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46275         use __unbounded.
46276         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46277         or __ptrvalue.
46278         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46279         use __unbounded.
46280         (__new_shmctl): Do not use __ptrvalue.
46281         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46282         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46283         Likewise.
46284         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46285         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46286         (__libc_sigaction): Likewise.
46287         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46288         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46289         Likewise.
46290         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46292 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46294         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46296         * string/mempcpy.c: Implement by calling memcpy.
46298 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46303         evaluation.
46305         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46306         values in the mantissa.
46308         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46309         minimize writes to Z.
46310         (sub_magnitudes): Simplify code a bit.
46312 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46314         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46315         from the message.  The linker prefixes all warnings with that already.
46317 2013-02-12  Andreas Schwab  <schwab@suse.de>
46319         [BZ #15078]
46320         * posix/regexec.c (extend_buffers): Add parameter min_len.
46321         (check_matching): Pass minimum needed length.
46322         (clean_state_log_if_needed): Likewise.
46323         (get_subexp): Likewise.
46324         * posix/Makefile (tests): Add bug-regex34.
46325         (bug-regex34-ENV): Define.
46326         * posix/bug-regex34.c: New file.
46328         [BZ #11561]
46329         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46330         elements compare against the byte sequence of it, not its name.
46331         * posix/Makefile (tests): Add bug-regex35.
46332         (bug-regex35-ENV): Define.
46333         * posix/bug-regex35.c: New file.
46335 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46337         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46338         comment.
46339         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46340         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46341         (CHECK_EOL): Add undef.
46343 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46345         * bits/stdlib-bsearch.h: New file.
46346         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46347         * stdlib/stdlib.h: Likewise.
46349 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46351         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46352         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46353         declaration.
46354         * manual/search.texi (Array Search Function): Add missing const in
46355         lfind prototype.
46356         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46357         declaration to use rlim_t.
46358         (Basic Scheduling Functions): Remove erroneous const from
46359         sched_getparam prototype.  Remove erroneous * from
46360         sched_get_priority_max and sched_get_priority_min prototypes.
46361         (Resource Usage): Fix summary @comment on vtimes to refer to
46362         sys/vtimes.h rather than vtimes.h.
46363         Add missing *s in vtimes prototype.
46364         (Limits on Resources): Fix ulimit prototype to return long int.
46365         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46366         prototypes to use long int rather than double.
46367         (BSD Random): Fix initstate and setstate to use char *, not void *.
46368         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46369         prototype to make second argument 'struct aiocb64 *const[]'.
46370         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46371         (Status of AIO Operations): Remove erroneous const in aio_return and
46372         aio_return64 prototypes.
46373         (Synchronizing I/O): Fix sync prototype to return void.
46374         * manual/startup.texi (Suboptions): Remove an erroneous const in
46375         getsubopt prototype.
46376         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46377         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46378         use size_t rather than int.
46379         (Scanning All Users): Likewise for getpwent_r.
46380         (Setting Groups): Add missing const to setgroups prototype.
46381         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46382         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46383         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46384         'const void *' rather than 'const char *'.
46385         (Host Address Functions): Likewise for inet_ntop.
46386         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46387         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46388         ssize_t for return value.
46389         (Sending Data): Likewise for send, sendto, sendmsg.
46390         (Socket Option Functions): Add a missing const in setsockopt prototype.
46391         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46392         use wchar_t for the argument.
46393         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46394         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46395         take no arguments.
46396         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46397         double/float/long double for second argument.
46398         Fix return types of significand, significandf, significandl.
46399         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46400         argument in fchmod prototype.
46401         (File Owner): Use uid_t and gid_t in fchown prototype.
46402         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46403         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46404         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46405         use 'const struct dirent **' as argument types to CMP function pointer
46406         argument.
46407         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46408         (File Times): Fix summary magic @comment for struct utimbuf and utime
46409         to refer to utime.h, not time.h.
46410         * manual/string.texi (Argz Functions): Add missing const in
46411         argz_extract and argz_next prototypes.
46412         (Finding Tokens in a String): Likewise for basename.
46413         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46414         (Copying and Concatenation): Fix typo in wmemmove prototype.
46415         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46416         (Signal Stack): Remove erroneous const in sigstack prototype.
46417         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46418         prototype.
46419         (Simple Calendar Time): Likewise for stime.
46420         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46421         prototype.
46422         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46423         say sys/sysctl.h instead.
46424         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46425         and vsyslog prototypes.
46427 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46429         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46430         Remove.
46432 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46434         * misc/sys/mman.h: Fix typo in mremap comment.
46436 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46438         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46439         the '\0' terminator.
46441 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46443         [BZ #13550]
46444         * debug/segfault.c: Don't include <bp-checks.h>.
46445         * sysdeps/generic/bp-checks.h: Remove file.
46446         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46447         (__GETDENTS): Don't use CHECK_N.
46448         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46449         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46450         (__getgroups): Don't use CHECK_N.
46451         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46452         (setgroups): Don't use CHECK_N.
46453         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46454         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46455         (__libc_msgrcv): Don't use CHECK_N.
46456         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46457         (__libc_msgsnd): Don't use CHECK_N.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46459         <bp-checks.h>.
46460         (__libc_pread): Don't use CHECK_N.
46461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46462         include <bp-checks.h>.
46463         (__libc_pread64): Don't use CHECK_N.
46464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46465         include <bp-checks.h>.
46466         (__libc_pwrite): Don't use CHECK_N.
46467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46468         include <bp-checks.h>.
46469         (__libc_pwrite64): Don't use CHECK_N.
46470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46471         <bp-checks.h>.
46472         (__libc_pread): Don't use CHECK_N.
46473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46474         include <bp-checks.h>.
46475         (__libc_pread64): Don't use CHECK_N.
46476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46477         include <bp-checks.h>.
46478         (__libc_pwrite): Don't use CHECK_N.
46479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46480         include <bp-checks.h>.
46481         (__libc_pwrite64): Don't use CHECK_N.
46482         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46483         (do_pread): Don't use CHECK_N.
46484         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46485         (do_pread64): Don't use CHECK_N.
46486         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46487         (do_pwrite): Don't use CHECK_N.
46488         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46489         (do_pwrite64): Don't use CHECK_N.
46490         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46491         (__libc_readv): Don't use CHECK_N.
46492         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46493         (semop): Don't use CHECK_N.
46494         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46495         <bp-checks.h>.
46496         (semtimedop): Don't use CHECK_N.
46497         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46498         (__libc_pread): Don't use CHECK_N.
46499         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46500         <bp-checks.h>.
46501         (__libc_pread64): Don't use CHECK_N.
46502         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46503         <bp-checks.h>.
46504         (__libc_pwrite): Don't use CHECK_N.
46505         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46506         <bp-checks.h>.
46507         (__libc_pwrite64): Don't use CHECK_N.
46508         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46509         <bp-checks.h>.
46510         (__libc_msgrcv): Don't use CHECK_N.
46511         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46512         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46513         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46514         (__libc_writev): Don't use CHECK_N.
46516 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46518         * string/strcpy.c: Removed unused variable.
46520         * Makeconfig (+sysdep-includes): Define with := rather than =.
46521         Use an existing include/ subdir of each sysdeps dir before it.
46523 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46525         * nscd/connection.c (register_traced_file): Comment function.
46526         [HAVE_INOTIFY] (union __inev): Define.
46527         [HAVE_INOTIFY] (inotify_check_files): New function.
46528         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46529         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46530         clear_db_cache.
46531         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46533 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46535         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46536         loaded if not already and that a failure is permanent.
46538 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46540         [BZ #15006]
46541         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46542         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46544 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46546         [BZ #13550]
46547         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46548         (CHECK_1_NULL_OK): Likewise.
46549         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46550         (__fxstat): Do not use CHECK_1.
46551         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46552         <bp-checks.h>.
46553         (___fxstat64): Do not use CHECK_1.
46554         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46555         <bp-checks.h>.
46556         (__fxstatat): Do not use CHECK_1.
46557         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46558         <bp-checks.h>.
46559         (__fxstatat64): Do not use CHECK_1.
46560         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46561         <bp-checks.h>.
46562         (__fxstat): Do not use CHECK_1.
46563         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46564         <bp-checks.h>.
46565         (__fxstatat): Do not use CHECK_1.
46566         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46567         <bp-checks.h>.
46568         (__getresgid): Do not use CHECK_1.
46569         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46570         <bp-checks.h>.
46571         (__getresuid): Do not use CHECK_1.
46572         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46573         <bp-checks.h>.
46574         (__lxstat): Do not use CHECK_1.
46575         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46576         <bp-checks.h>.
46577         (__old_msgctl): Do not use CHECK_1.
46578         (__new_msgctl): Likewise.
46579         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46580         <bp-checks.h>.
46581         (__new_setrlimit): Do not use CHECK_1.
46582         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46583         <bp-checks.h>.
46584         (__old_shmctl): Do not use CHECK_1.
46585         (__new_shmctl): Likewise.
46586         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46587         <bp-checks.h>.
46588         (__xstat): Do not use CHECK_1.
46589         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46590         (__lxstat): Do not use CHECK_1.
46591         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46592         <bp-checks.h>.
46593         (___lxstat64): Do not use CHECK_1.
46594         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46595         (__old_msgctl): Do not use CHECK_1.
46596         (__new_msgctl): Likewise.
46597         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46598         <bp-checks.h>.
46599         (__gettimeofday): Do not use CHECK_1.
46600         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46601         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46602         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46603         <bp-checks.h>.
46604         (__gettimeofday): Do not use CHECK_1.
46605         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46606         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46607         (__new_shmctl): Do not use CHECK_1.
46608         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46609         <bp-checks.h>.
46610         (do_sigtimedwait): Do not use CHECK_1.
46611         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46612         <bp-checks.h>.
46613         (do_sigwaitinfo): Do not use CHECK_1.
46614         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46615         <bp-checks.h>.
46616         (msgctl): Do not use CHECK_1.
46617         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46618         <bp-checks.h>.
46619         (shmctl): Do not use CHECK_1.
46620         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46621         (ustat): Do not use CHECK_1.
46622         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46623         <bp-checks.h>.
46624         (__fxstat): Do not use CHECK_1.
46625         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46626         <bp-checks.h>.
46627         (__fxstatat): Do not use CHECK_1.
46628         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46629         <bp-checks.h>.
46630         (__lxstat): Do not use CHECK_1.
46631         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46632         <bp-checks.h>.
46633         (__xstat): Do not use CHECK_1.
46634         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46635         (__xstat): Do not use CHECK_1.
46636         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46637         (___xstat64): Do not use CHECK_1.
46639         [BZ #13550]
46640         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46641         definitions.
46642         (CHECK_BOUNDS_HIGH): Likewise.
46643         * string/strcpy.c: Do not include <bp-checks.h>.
46644         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46646 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46648         * nscd/nscd-client.h (__nscd_drop_map_ref):
46649         Add __attribute__ ((unused)).
46650         * nis/nss-nisplus.h (niserr2nss): Likewise.
46652         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46653         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46655         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46656         Remove inline keyword.
46657         * include/rounding-mode.h (round_away): Likewise.
46658         * libio/wfileops.c (adjust_wide_data): Likewise.
46659         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46660         (__m128i_strloadu_tolower): Likewise.
46661         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46662         (__m128i_strloadu_tolower): Likewise.
46663         * time/mktime.c (ydhms_diff): Likewise.
46664         * locale/elem-hash.h (elem_hash): Likewise.
46665         * locale/setlocale.c (setdata): Likewise.
46666         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46667         (re_string_wchar_at): Likewise.
46668         (bitset_not, bitset_merge, bitset_mask): Likewise.
46669         [!(__GNUC__ > 3)] (inline): Remove macro.
46670         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46671         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46672         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46673         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46674         * string/memcmp.c (memcmp_bytes): Likewise.
46675         * locale/programs/locarchive.c (compute_hashval): Likewise.
46676         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46677         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46678         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46679         * nss/getent.c (print_rpc, print_protocols): Likewise.
46680         (print_passwd, print_group, print_aliases): Likewise.
46681         * nis/nss-nisplus.h (niserr2nss): Likewise.
46682         * nscd/connections.c (restart_p): Likewise.
46683         Change return type to bool.
46685 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46687         * Makeconfig (all-Depend-files): Add existing
46688         $(sorted-subdirs:=/Depend) files.
46689         (all-subdirs): Remove nss.
46690         * sysdeps/unix/inet/Subdirs: Add it here instead.
46691         * hesiod/Depend: New file.
46693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46694         instead of calling alloca.
46696         * io/lseek.c (__lseek): Rename to __libc_lseek.
46697         Define __lseek as an alias.
46699         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46701 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46703         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46704         else clause and remove check for non-standard endianness.
46706 2013-02-04  David S. Miller  <davem@davemloft.net>
46708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46710 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46712         [BZ #13550]
46713         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46714         (__ubp_memchr): Remove prototype.
46715         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46716         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46717         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46718         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46719         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46720         Remove alias.
46721         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46722         (__ubp_memchr): Likewise.
46723         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46724         (__ubp_memchr): Likewise.
46725         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46726         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46727         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46728         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46729         CHECK_STRING.
46730         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46731         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46732         (__getcwd): Do not use CHECK_STRING.
46733         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46734         <bp-checks.h>.
46735         (__real_chown): Do not use CHECK_STRING.
46736         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46737         <bp-checks.h>.
46738         (fchownat): Do not use CHECK_STRING.
46739         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46740         CHECK_STRING.
46741         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46742         <bp-checks.h>.
46743         (__lchown): Do not use CHECK_STRING.
46744         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46745         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46746         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46747         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46749         include <bp-checks.h>.
46750         (truncate64): Do not use CHECK_STRING.
46751         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46752         <bp-checks.h>.
46753         (__real_chown): Do not use CHECK_STRING.
46754         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46755         <bp-checks.h>.
46756         (__lchown): Do not use CHECK_STRING.
46757         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46758         <bp-checks.h>.
46759         (__chown): Do not use CHECK_STRING.
46760         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46761         <bp-checks.h>.
46762         (truncate64): Do not use CHECK_STRING.
46763         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46764         Likewise.
46765         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46766         (__xmknod): Do not use CHECK_STRING.
46767         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46768         <bp-checks.h>.
46769         (__xmknodat): Do not use CHECK_STRING.
46770         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46771         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46773 2013-02-04  Andreas Schwab  <schwab@suse.de>
46775         [BZ #14142]
46776         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46777         * include/netdb.h: Likewise for h_errno.
46778         * elf/tst-stackguard1.c: Include <tls.h>.
46780 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46782         * elf/link.h (struct link_map): Extend the l_addr comment.
46783         * include/link.h (struct link_map): Likewise.
46785 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46787         [BZ #13550]
46788         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46789         (BOUNDED_1): Remove macro.
46790         * debug/backtrace.c: Don't include <bp-checks.h>.
46791         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46792         (__backtrace): Likewise.
46793         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46794         <bp-checks.h>.
46795         (__backtrace): Don't use BOUNDED_1.
46796         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46797         <bp-checks.h>.
46798         (__backtrace): Don't use BOUNDED_1.
46799         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46800         (__backtrace): Don't use BOUNDED_1.
46801         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46802         (shmat): Don't use BOUNDED_N.
46804 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46806         [BZ #13550]
46807         * sysdeps/generic/bp-start.h: Remove file.
46808         * csu/libc-start.c: Don't include <bp-start.h>.
46809         (LIBC_START_MAIN): Set up __environ directly instead of using
46810         INIT_ARGV_and_ENVIRON.
46811         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46812         <bp-start.h>.
46814         [BZ #13550]
46815         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46816         definitions.
46817         (CHECK_FCNTL): Likewise.
46818         (CHECK_N_PAGES): Likewise.
46820         [BZ #13550]
46821         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46822         definitions.
46823         (CHECK_SIGSET_NULL_OK): Likewise.
46824         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46825         <bp-checks.h>.
46826         (sigpending): Don't use CHECK_SIGSET.
46827         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46828         <bp-checks.h>.
46829         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46830         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46831         <bp-checks.h>.
46832         (do_sigsuspend): Don't use CHECK_SIGSET.
46833         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46834         use CHECK_SIGSET.
46835         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46836         (do_sigwait): Don't use CHECK_SIGSET.
46837         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46838         use CHECK_SIGSET.
46839         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46840         include <bp-checks.h>.
46841         (sigpending): Don't use CHECK_SIGSET.
46842         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46843         include <bp-checks.h>.
46844         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46845         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46846         <bp-checks.h>.
46847         (sigpending): Don't use CHECK_SIGSET.
46848         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46849         <bp-checks.h>.
46850         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46852         [BZ #13550]
46853         * sysdeps/generic/bp-semctl.h: Remove file.
46854         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46855         <bp-checks.h> and <bp-semctl.h>.
46856         (__old_semctl): Don't use CHECK_SEMCTL.
46857         (__new_semctl): Likewise.
46858         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46859         and <bp-semctl.h>.
46860         (__old_semctl): Don't use CHECK_SEMCTL.
46861         (__new_semctl): Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46863         <bp-checks.h> and <bp-semctl.h>.
46864         (__old_semctl): Don't use CHECK_SEMCTL.
46865         (__new_semctl): Likewise.
46866         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46867         <bp-checks.h> and <bp-semctl.h>.
46868         (semctl): Don't use CHECK_SEMCTL.
46870         [BZ #13550]
46871         * Makerules (elide-bp-thunks): Remove variable.
46872         (elide-routines.oS): Don't use $(elide-bp-thunks).
46873         (elide-routines.os): Likewise.
46874         (elide-routines.o): Likewise.
46875         (elide-routines.op): Likewise.
46876         (elide-routines.og): Likewise.
46877         (objects): Don't use $(bp-thunks).
46878         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46879         include.
46880         (common-generated): Do not add s-proto-bp.d.
46881         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46882         (int): Likewise.
46883         (typ): Likewise.
46884         Do not generate makefile rules for bounded-pointer thunks.
46885         * sysdeps/generic/bp-thunks.h: Remove file.
46886         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46887         * sysdeps/unix/s-proto-bp.S: Likewise.
46889         [BZ #15062]
46890         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46891         parts of result separately when argument is not close to line from
46892         -i to i and one part of argument is small.
46893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46895         * math/libm-test.inc (cacos_test): Add more tests.
46896         (casin_test): Likewise.
46897         (casinh_test): Likewise.
46898         * sysdeps/i386/fpu/libm-test-ulps: Update.
46899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46901 2013-01-31  David S. Miller  <davem@davemloft.net>
46903         * po/de.po: Update from translation team.
46905 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46907         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46909 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46911         * configure.in (_AC_PROG_CC_C89): New definition.
46912         * configure: Regenerate.
46914         * configure.in (AC_PROG_CPP): New definition.
46915         * configure: Regenerate.
46917 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46919         * debug/tst-backtrace.h: New file.
46920         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46921         (ret): Remove variable.
46922         (x): Likewise.
46923         (FAIL): Remove macro.
46924         (NO_INLINE): Likewise.
46925         (fn1): Use match function instead of strstr.
46926         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46927         (ret): Remove variable.
46928         (x): Likewise.
46929         (FAIL): Remove macro.
46930         (NO_INLINE): Likewise.
46931         (fn): Use match function instead of strstr.
46932         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46933         (ret): Remove variable.
46934         (x): Likewise.
46935         (FAIL): Remove macro.
46936         (NO_INLINE): Likewise.
46937         (handle_signal): Use match function instead of strstr.
46938         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46939         (ret): Remove variable.
46940         (x): Likewise.
46941         (FAIL): Remove macro.
46942         (NO_INLINE): Likewise.
46943         (handle_signal): Use match function instead of strstr.
46945 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46947         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46949 2013-01-23  David S. Miller  <davem@davemloft.net>
46951         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46952         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46953         argument of CAS if possible.
46954         * sysdeps/sparc/sparc64/bits/atomic.h
46955         (__arch_compare_and_exchange_val_32_acq): Likewise.
46956         (__arch_compare_and_exchange_val_64_acq): Likewise.
46958 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46960         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46961         * sysdeps/posix/ulimit.c: ... this.
46962         Include <limits.h>.
46963         * sysdeps/unix/bsd/ulimit.c: Remove file.
46965 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46967         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46968         (LDFLAGS-tst-array5): Likewise.
46970 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46972         [BZ #15036]
46973         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46974         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46975         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46976         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46978 2013-01-21  David S. Miller  <davem@davemloft.net>
46980         * sysdeps/sparc/backtrace.c: New file.
46981         * sysdeps/sparc/sparc32/backtrace.h: New file.
46982         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46983         * sysdeps/sparc/sparc64/backtrace.h: New file.
46984         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46985         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46986         -funwind-tables.
46988 2013-01-21  Andreas Schwab  <schwab@suse.de>
46990         [BZ #15020]
46991         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46992         closed its stdout.
46994 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46997         "mpa2.h".
46998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47000 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47001             Mark Mitchell  <mark@codesourcery.com>
47002             Tom de Vries  <tom@codesourcery.com>
47003             Paul Pluzhnikov  <ppluzhnikov@google.com>
47005         * debug/tst-backtrace2.c: New file.
47006         * debug/tst-backtrace3.c: Likewise.
47007         * debug/tst-backtrace4.c: Likewise.
47008         * debug/tst-backtrace5.c: Likewise.
47009         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47010         (CFLAGS-tst-backtrace3.c): Likewise.
47011         (CFLAGS-tst-backtrace4.c): Likewise.
47012         (CFLAGS-tst-backtrace5.c): Likewise.
47013         (LDFLAGS-tst-backtrace2): Likewise.
47014         (LDFLAGS-tst-backtrace3): Likewise.
47015         (LDFLAGS-tst-backtrace4): Likewise.
47016         (LDFLAGS-tst-backtrace5): Likewise.
47017         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47018         tst-backtrace4 and tst-backtrace5.
47020 2013-01-18  Anton Blanchard  <anton@samba.org>
47021             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47023         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47024         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47025         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47026         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47028         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47029         "+r" and remove output regs list as redundant.  Add explicit inline
47030         asm to specify register of return val to work around compiler codegen
47031         bug.  Remove (int) cast on return value.  Add return type parameter to
47032         use in macro so that this macro does not truncate return value for
47033         64-bit values.
47034         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47035         pass to INTERNAL_VSYSCALL_NCS.
47036         (INLINE_VSYSCALL): Add 'long int' as return type to
47037         INTERNAL_VSYSCALL_NCS macro invocation.
47038         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47039         INTERNAL_VSYSCALL_NCS macro invocation.
47040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47042 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47044         [BZ #14496]
47045         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47046         Fix application of SIMD FP exception mask.
47048         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47049         mp_no from a power of two.
47050         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47051         __mpexp_twomm1.  Use __pow_mp.
47053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47054         multiplication.
47056 2013-01-17  David S. Miller  <davem@davemloft.net>
47058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47060 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47062         [BZ #15023]
47063         * include/complex.h: Condition contents on [!_COMPLEX_H].
47064         (__kernel_casinhf): New prototype.
47065         (__kernel_casinh): Likewise.
47066         (__kernel_casinhl): Likewise.
47067         * math/Makefile (libm_calls): Add k_casinh.
47068         * math/k_casinh.c: New file.
47069         * math/k_casinhf.c: Likewise.
47070         * math/k_casinhl.c: Likewise.
47071         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47072         finite nonzero arguments.
47073         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47074         finite nonzero arguments.
47075         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47076         finite nonzero arguments.
47077         * math/s_casinh.c: Do not include <float.h>.
47078         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47079         * math/s_casinhf.c: Do not include <float.h>.
47080         (__casinhf): Move code for finite nonzero arguments to
47081         k_casinhf.c.
47082         * math/s_casinhl.c: Do not include <float.h>.
47083         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47084         redefine.
47085         (__casinhl): Move code for finite nonzero arguments to
47086         k_casinhl.c.
47087         * math/libm-test.inc (cacos_test): Add more tests.
47088         * sysdeps/i386/fpu/libm-test-ulps: Update.
47089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47091 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47093         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47094         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47095         [!HAVE_MREMAP]: Remove [defined linux] case.
47096         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47098 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47100         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47102 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47104         * elf/elf.h (R_386_SIZE32): New relocation.
47105         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47106         R_386_SIZE32.
47107         (elf_machine_rela): Likewise.
47108         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47109         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47111 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47113         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47114         (FP_FAST_FMA): Do not define.
47115         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47116         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47117         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47118         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47119         !_SOFT_FLOAT]: Likewise.
47120         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47121         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47122         value.
47123         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47124         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47125         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47126         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47127         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47128         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47129         file.
47131 2013-01-16  Andreas Schwab  <schwab@suse.de>
47133         [BZ #14327]
47134         * include/stdlib.h (__mktemp): Add declaration.
47135         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47136         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47138 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47140         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47141         definitions.
47142         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47143         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47144         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47145         definitions here.
47146         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47147         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47148         definitions.
47149         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47150         and ONE.
47151         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47152         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47153         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47154         definitions.
47155         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47156         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47157         definitions.
47158         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47160         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47162 2013-01-15  David S. Miller  <davem@davemloft.net>
47164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47165         trunc{,f} to libm-sysdep_routes.
47166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47168         file.
47169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47171         file.
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47173         file.
47174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47176         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47177         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47178         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47179         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47180         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47181         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47184         nearbyint{,f} to libm-sysdep_routes.
47185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47187         New file.
47188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47189         file.
47190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47191         New file.
47192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47193         file.
47194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47196         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47197         file.
47198         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47199         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47200         file.
47201         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47202         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47203         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47205         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47206         libc_feholdexcept and libc_fesetenv.
47208 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47210         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47212 2013-01-14  David S. Miller  <davem@davemloft.net>
47214         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47215         (SPARC_ASM_VIS2_IFUNC): Likewise.
47216         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47218         use of 'siam' instruction.
47219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47220         Likewise.
47221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47222         Likewise.
47223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47224         Likewise.
47225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47230         file.
47231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47232         file.
47233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47234         file.
47235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47236         file.
47237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47242         new VIS2 routines.
47243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47246         Likewise.
47247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47252         routines to libm-sysdep_routines.
47253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47256         fdim/fdimf to libm-sysdep_routines.
47257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47258         file.
47259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47261         file.
47262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47265         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47266         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47267         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47268         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47270 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47272         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47273         to optimize copies.
47275         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47280         local variable MPTWO.
47281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47282         Likewise.
47284 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47286         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47287         GLOB_NOESCAPE.
47289 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47291         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47293 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47295         * manual/pattern.texi (glob_t): Document gl_flags.
47296         (glob64_t): Likewise.
47298 2013-01-11  David S. Miller  <davem@davemloft.net>
47300         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47301         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47302         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47303         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47304         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47305         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47306         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47307         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47308         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47309         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47310         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47311         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47312         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47314         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47315         sparc V9 rather than using V8 code.
47316         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47317         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47319         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47320         Move to...
47321         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47322         Here.
47324 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47326         [BZ #14941]
47327         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47328         not in the main loop.
47329         * configure: Regenerated.
47331 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47333         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47334         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47335         to just #else.
47336         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47337         [!__GLIBC_HAVE_LONG_LONG] case.
47338         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47339         condition to just #else.
47340         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47341         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47342         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47343         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47344         unconditional.
47345         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47346         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47347         #elif condition to just #else.
47348         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47349         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47350         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47351         #elif condition to just #else.
47353 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47355         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47356         (EF_MIPS_ARCH_64): Fix value.
47357         (EF_MIPS_ARCH_32R2): New.
47358         (EF_MIPS_ARCH_64R2): New.
47360 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47362         * Makeconfig (+link-pie-before-libc): New.
47363         (+link-pie-after-libc): Likewise.
47364         (+link-pie-tests): Likewise.
47365         (+link-pie): Rewritten.
47366         (link-before-libc): Remove $(config-LDFLAGS).
47367         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47368         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47369         (config-LDFLAGS): Renamed to ...
47370         (rtld-LDFLAGS): This.
47371         (rtld-tests-LDFLAGS): New macro.
47372         (link-libc-rpath-link): Likewise.
47373         (link-libc-tests-rpath-link): Likewise.
47374         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47375         (link-libc): Prepand $(link-libc-rpath-link).
47376         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47377         (test-program-prefix): New macro.
47378         (test-via-rtld-prefix): Likewise.
47379         (test-program-cmd): Likewise.
47380         (host-test-program-cmd): Likewise.
47381         * Makefile ($(common-objpfx)testrun.sh): Replace
47382         $(run-program-prefix) with $(test-program-prefix).
47383         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47384         $(rtld-LDFLAGS).
47385         ($(common-objpfx)shlib.lds): Likewise.
47386         (build-module-helper): Likewise.
47387         ($(common-objpfx)format.lds): Likewise.
47388         * Rules (binaries-pie-tests): New.
47389         (binaries-pie-notests): Likewise.
47390         (binaries-pie): Rewritten.
47391         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47392         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47393         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47394         (make-test-out): Replace $(host-built-program-cmd) with
47395         $(host-test-program-cmd).
47396         * config.make.in (build-hardcoded-path-in-tests): New variable.
47397         * configure.in (--enable-hardcoded-path-in-tests): New configure
47398         option.
47399         (hardcoded_path_in_tests): New AC_SUBST.
47400         * configure: Regenerated.
47401         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47402         $(built-program-cmd) with $(test-program-cmd).
47403         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47404         (test_program_cmd): This.
47405         * elf/Makefile ($(objpfx)order.out): Run test with
47406         $(test-program-prefix).
47407         ($(objpfx)order2.out): Likewise.
47408         ($(objpfx)tst-initorder.out): Likewise.
47409         ($(objpfx)tst-initorder2.out): Likewise.
47410         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47411         $(test-program-cmd).
47412         ($(objpfx)tst-array1-static.out): Likewise.
47413         ($(objpfx)tst-array2.out): Likewise.
47414         ($(objpfx)tst-array3.out): Likewise.
47415         ($(objpfx)tst-array4.out): Likewise.
47416         ($(objpfx)tst-array5.out): Likewise.
47417         ($(objpfx)tst-array5-static.out): Likewise.
47418         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47419         $(test-program-cmd).
47420         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47421         $(run-program-prefix) with $(test-program-prefix).
47422         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47423         (test_program_prefix): This.
47424         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47425         $(run-program-prefix) with $(test-program-prefix).
47426         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47427         (test_program_prefix): This.
47428         * iconvdata/tst-tables.sh: Likewise.
47429         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47430         $(run-program-prefix) with $(test-program-prefix).
47431         ($(objpfx)tst-translit.out): Likewise.
47432         ($(objpfx)tst-gettext2.out): Likewise.
47433         ($(objpfx)tst-gettext4.out): Likewise.
47434         ($(objpfx)tst-gettext6.out): Likewise.
47435         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47436         (test_program_prefix): This.
47437         * intl/tst-gettext2.sh: Likewise.
47438         * intl/tst-gettext4.sh  Likewise.
47439         * intl/tst-gettext6.sh: Likewise.
47440         * intl/tst-translit.sh: Likewise.
47441         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47442         with $(test-program-cmd).
47443         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47444         $(run-program-prefix) with $(test-program-prefix).
47445         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47446         (test_program_prefix): This.
47447         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47448         $(run-program-prefix) with $(test-program-prefix).
47449         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47450         (test_program_prefix): This.
47451         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47452         * posix/Makefile ($(objpfx)globtest.out): Replace
47453         $(run-via-rtld-prefix) and $(test-wrapper) with
47454         $(test-program-prefix) and $(test-via-rtld-prefix).
47455         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47456         $(test-program-prefix).
47457         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47458         $(host-test-program-cmd).
47459         (tst-spawn-ARGS): Likewise.
47460         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47461         $(test-program-prefix).
47462         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47463         (test_via_rtld_prefix): This.
47464         (test_wrapper): Renamed to ...
47465         (test_program_prefix): This.
47466         (run_program_prefix): Replaced by test_program_prefix.
47467         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47468         (test_program_prefix): This.
47469         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47470         with $(host-test-program-cmd).
47471         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47472         $(run-program-prefix) with $(test-program-prefix).
47473         ($(objpfx)tst-printf.out): Likewise.
47474         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47475         $(test-program-cmd).
47476         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47477         (test_program_prefix): This.
47478         * stdio-common/tst-unbputc.sh: Likewise.
47479         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47480         $(run-program-prefix) with $(test-program-prefix).
47481         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47482         (test_program_prefix): This.
47483         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47484         $(built-program-cmd) with $(test-program-cmd).
47486 2013-01-11  Andreas Jaeger  <aj@suse.de>
47488         [BZ #15003]
47489         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47490         value. Sync with Linux 3.7.
47492 2013-01-10  David S. Miller  <davem@davemloft.net>
47494         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47495         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47496         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47498 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47500         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47501         never set.
47502         * configure: Regenerated.
47504 2013-01-10  David S. Miller  <davem@davemloft.net>
47506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47507         sparc V9 rather than using V8 code.
47508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47511 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47513         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47514         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47515         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47516         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47517         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47518         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47519         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47520         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47521         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47522         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47523         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47524         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47525         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47526         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47527         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47528         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47529         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47530         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47531         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47532         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47533         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47534         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47535         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47536         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47537         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47538         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47539         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47541 2013-01-10  David S. Miller  <davem@davemloft.net>
47543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47545 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47547         * posix/Makefile (tests-static): New variable.
47548         (tests): Add $(tests-static).
47549         (tst-exec-static-ARGS): New variable.
47550         (tst-spawn-static-ARGS): Likewise.
47551         * posix/tst-exec-static.c: New file.
47552         * posix/tst-spawn-static.c: Likewise.
47553         * posix/tst-exec.c: Support run directly.
47554         * posix/tst-spawn.c: Likewise.
47556 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47558         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47559         long.
47560         * math/bits/mathcalls.h (llrint): Likewise.
47561         (llround): Likewise.
47562         * stdlib/stdlib.h (struct drand48_data): Likewise.
47563         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47564         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47565         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47566         Likewise.
47567         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47568         Likewise.
47569         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47570         (elf_greg_t): Likewise.
47571         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47572         (__jmp_buf): Likewise.
47573         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47574         definitions.
47575         (llrint): Likewise, for all definitions.
47576         (llrintl): Likewise.
47578         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47579         Remove [__GNUC__] condition.
47580         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47581         condition to just [__USE_ISOC99].
47582         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47584 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47586         [BZ #14200]
47587         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47588         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47589         defined.
47590         (_POSIX_V6_ILP32_OFF32): Likewise.
47591         (_XBS5_ILP32_OFF32): Likewise.
47592         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47593         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47595 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47597         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47600         doubles __mpexp_twomm1.  Adjust usage.
47601         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47602         Remove.
47604 2013-01-10  Andreas Schwab  <schwab@suse.de>
47606         [BZ #14964]
47607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47608         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47610 2013-01-09  David S. Miller  <davem@davemloft.net>
47612         [BZ #15003]
47613         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47614         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47615         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47616         (TCP_FASTOPEN): Define.
47617         (tcp_repair_opt): New structure.
47618         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47619         enum values.
47620         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47621         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47622         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47623         (tcp_cookie_transactions): New structure.
47625 2013-01-09  Anton Blanchard  <anton@samba.org>
47627         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47628         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47630         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47632 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47634         * include/features.h (__USE_ANSI): Remove.
47636 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47638         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47640         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47642 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47644         * sysdeps/s390/fpu/libm-test-ulps: Update.
47646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47648         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47649         (__acr): Likewise.
47650         (__cpy): Likewise.
47651         (norm): Likewise.
47652         (denorm): Likewise.
47653         (__mp_dbl): Likewise.
47654         (__dbl_mp): Likewise.
47655         (add_magnitudes): Likewise.
47656         (sub_magnitudes): Likewise.
47657         (__add): Likewise.
47658         (__sub): Likewise.
47659         (__mul): Likewise.
47660         (__inv): Likewise.
47661         (__dvd): Likewise.
47662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47663         (__acr): Likewise.
47664         (__cpy): Likewise.
47665         (norm): Likewise.
47666         (denorm): Likewise.
47667         (__mp_dbl): Likewise.
47668         (__dbl_mp): Likewise.
47669         (add_magnitudes): Likewise.
47670         (sub_magnitudes): Likewise.
47671         (__add): Likewise.
47672         (__sub): Likewise.
47673         (__mul): Likewise.
47674         (__inv): Likewise.
47675         (__dvd): Likewise.
47676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47677         (__acr): Likewise.
47678         (__cpy): Likewise.
47679         (norm): Likewise.
47680         (denorm): Likewise.
47681         (__mp_dbl): Likewise.
47682         (__dbl_mp): Likewise.
47683         (add_magnitudes): Likewise.
47684         (sub_magnitudes): Likewise.
47685         (__add): Likewise.
47686         (__sub): Likewise.
47687         (__mul): Likewise.
47688         (__inv): Likewise.
47689         (__dvd): Likewise.
47691 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47693         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47694         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47695         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47696         2 && __USE_EXTERN_INLINES]: Likewise.
47698 2013-01-08  Andreas Jaeger  <aj@suse.de>
47700         [BZ# 14985]
47701         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47702         Remove.
47703         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47704         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47706 2013-01-07  Anton Blanchard  <anton@samba.org>
47708         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47709         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47710         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47711         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47712         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47714         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47715         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47717         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47718         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47719         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47720         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47721         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47722         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47723         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47724         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47725         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47726         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47727         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47728         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47729         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47730         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47731         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47732         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47733         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47734         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47735         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47737         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47738         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47740         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47741         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47742         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47743         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47744         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47745         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47746         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47748         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47749         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47750         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47752 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47754         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47755         (__MALLOC_PMT): Likewise.
47756         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47757         [__GNUC__], only on [_LIBC].
47758         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47759         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47760         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47761         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47762         forward declaration.
47763         (realloc_hook_ini): Likewise.
47764         (memalign_hook_ini): Likewise.
47765         (__libc_memalign): Do not use __MALLOC_PMT in variable
47766         declaration.
47767         (__libc_valloc): Likewise.
47768         (__libc_pvalloc): Likewise.
47769         (__libc_calloc): Likewise.
47770         (__posix_memalign): Likewise.
47772         [BZ #14996]
47773         * math/s_casinh.c: Include <float.h>.
47774         (__casinh): Do not do computation with squaring and square root
47775         for large arguments.
47776         * math/s_casinhf.c: Include <float.h>.
47777         (__casinhf): Do not do computation with squaring and square root
47778         for large arguments.
47779         * math/s_casinhl.c: Include <float.h>.
47780         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47781         (__casinhl): Do not do computation with squaring and square root
47782         for large arguments.
47783         * math/libm-test.inc (casin_test): Add more tests.
47784         (casinh_test): Likewise.
47785         * sysdeps/i386/fpu/libm-test-ulps: Update.
47786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47788 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47790         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47791         (__x86_64_raw_data_cache_size): Likewise.
47792         (__x86_64_data_cache_size_half): Likewise.
47793         (__x86_64_raw_data_cache_size_half): Likewise.
47794         (__x86_64_shared_cache_size): Likewise.
47795         (__x86_64_raw_shared_cache_size): Likewise.
47796         (__x86_64_shared_cache_size_half): Likewise.
47797         (__x86_64_raw_shared_cache_size_half): Likewise.
47798         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47799         to ...
47800         (__x86_data_cache_size): This.
47801         (__x86_64_raw_data_cache_size): Renamed to ...
47802         (__x86_raw_data_cache_size): This.
47803         (__x86_64_data_cache_size_half): Renamed to ...
47804         (__x86_data_cache_size_half): This.
47805         (__x86_64_raw_data_cache_size_half): Renamed to ...
47806         (__x86_raw_data_cache_size_half): This.
47807         (__x86_64_shared_cache_size): Renamed to ...
47808         (__x86_shared_cache_size): This.
47809         (__x86_64_raw_shared_cache_size): Renamed to ...
47810         (__x86_raw_shared_cache_size): This.
47811         (__x86_64_shared_cache_size_half): Renamed to ...
47812         (__x86_shared_cache_size_half): This.
47813         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47814         (__x86_raw_shared_cache_size_half): This.
47815         * sysdeps/x86_64/memcpy.S: Updated.
47816         * sysdeps/x86_64/memset.S: Likewise.
47817         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47818         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47819         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47821 2013-01-04  David S. Miller  <davem@davemloft.net>
47823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47825 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47827         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47828         1 to avoid redefinition warning.
47829         (__USE_GNU): Don't define.
47830         (init_signaling_nan): Protoize.
47832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47834 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47836         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47838         (__cpymn): Likewise.
47839         (norm): Remove commented code.
47840         (denorm): Likewise.
47841         (__mp_dbl): Likewise.
47842         (__inv): Likewise.
47843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47844         (__cpymn): Likewise.
47845         (norm): Remove commented code.
47846         (denorm): Likewise.
47847         (__mp_dbl): Likewise.
47848         (__inv): Likewise.
47850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47851         mp_no value for 1.0 and 2.0.
47852         (norm): Use RADIXI instead of radixi.d.
47853         (denorm): Likewise.
47854         (__mul): Use 0.0 instead of zero.d.
47855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47856         mp_no value for 1.0 and 2.0.
47857         (norm): Use RADIXI instead of radixi.d.
47858         (denorm): Likewise.
47859         (__mul): Use 0.0 instead of zero.d.
47861 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47863         [BZ #14994]
47864         * math/s_casinh.c (__casinh): Reduce finite argument to first
47865         quadrant then set signs of results at the end.
47866         * math/s_casinhf.c (__casinhf): Likewise.
47867         * math/s_casinhl.c (__casinhl): Likewise.
47868         * math/libm-test.inc (casin_test): Add more tests.
47869         (casinh_test): Likewise.
47870         * sysdeps/i386/fpu/libm-test-ulps: Update.
47871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47873 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47875         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47877         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47879         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47880         declarations.
47881         (denorm): Likewise.
47882         (__mp_dbl): Likewise.
47883         (__inv): Likewise.
47885         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47886         and adjust the header comment.
47888         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47889         variable name from declaration.
47891 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47894         Initialize COMMON_CPUID_INDEX_7 element.
47895         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47896         (CPUID_RTM): Likewise.
47897         (HAS_RTM): Likewise.
47898         (COMMON_CPUID_INDEX_7): New enum.
47900 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47902         [BZ #14981]
47903         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47904         size is zero, record memory as freed.
47906 2013-01-03  Andreas Jaeger  <aj@suse.de>
47908         * po/ia.po: Add new Interlingua translation.
47910 2012-01-03  Allan McRae  <allan@archlinux.org>
47912         * locale/programs/localedef.c: Fix description of '--posix' flag.
47914 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47916         * NEWS: Update dates in second copyright notice.
47917         * README: Update copyright dates in example.
47918         * manual/libc.texinfo: Update copyright dates.
47919         * scripts/test-installation.pl: Update copyright date in --version
47920         output.
47922         * hurd/ctty-input.c: Fix copyright notice formatting.
47923         * hurd/ctty-output.c: Likewise.
47924         * hurd/dtable.c: Likewise.
47925         * hurd/hurd-raise.c: Likewise.
47926         * hurd/hurdprio.c: Likewise.
47927         * hurd/msgportdemux.c: Likewise.
47928         * misc/sys/file.h: Likewise.
47929         * misc/sys/ioctl.h: Likewise.
47930         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47931         * sysdeps/mach/hurd/chdir.c: Likewise.
47932         * sysdeps/mach/hurd/fchdir.c: Likewise.
47933         * sysdeps/mach/hurd/rename.c: Likewise.
47934         * sysdeps/mach/hurd/rmdir.c: Likewise.
47935         * sysdeps/mach/hurd/seekdir.c: Likewise.
47936         * sysdeps/mach/hurd/setsid.c: Likewise.
47937         * sysdeps/posix/wait3.c: Likewise.
47939         * All files with FSF copyright notices: Update copyright dates
47940         using scripts/update-copyrights.
47941         * intl/plural.c: Regenerated.
47942         * locale/programs/charmap-kw.h: Likewise.
47943         * locale/programs/locfile-kw.h: Likewise.
47945 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47947         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47948         four values.
47950         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47951         calculation loop and add branch prediction.
47953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47954         check access beyond bounds of m1np.
47956         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47957         MPTWO.
47958         (__inv): Remove local variable MPTWO to use the global
47959         constant.
47960         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47961         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47962         variable MPTWO.
47963         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47964         MP3HALFS static const.
47966 2013-01-01  David S. Miller  <davem@davemloft.net>
47968         * po/ca.po: Update from translation team.
47970 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47972         * scripts/update-copyrights: New file.
47973         * Makeconfig: Reformat copyright notice.
47974         * ctype/ctype.h: Likewise.
47975         * debug/swprintf_chk.c: Likewise.
47976         * elf/dl-cache.c: Likewise.
47977         * elf/dl-debug.c: Likewise.
47978         * elf/dl-object.c: Likewise.
47979         * grp/initgroups.c: Likewise.
47980         * hurd/Makefile: Likewise.
47981         * hurd/hurd/signal.h: Likewise.
47982         * hurd/hurdfault.c: Likewise.
47983         * hurd/hurdioctl.c: Likewise.
47984         * hurd/hurdlookup.c: Likewise.
47985         * hurd/intr-msg.c: Likewise.
47986         * iconv/gconv_open.c: Likewise.
47987         * libio/swprintf.c: Likewise.
47988         * locale/lc-ctype.c: Likewise.
47989         * locale/nl_langinfo.c: Likewise.
47990         * mach/Machrules: Likewise.
47991         * mach/Makefile: Likewise.
47992         * malloc/obstack.h: Likewise.
47993         * manual/Makefile: Likewise.
47994         * manual/tsort.awk: Likewise.
47995         * misc/bits/stab.def: Likewise.
47996         * nis/nis_print_group_entry.c: Likewise.
47997         * nis/nis_table.c: Likewise.
47998         * nis/nss_compat/compat-pwd.c: Likewise.
47999         * nis/nss_compat/compat-spwd.c: Likewise.
48000         * po/Makefile: Likewise.
48001         * posix/fnmatch.c: Likewise.
48002         * posix/regex.h: Likewise.
48003         * resolv/Makefile: Likewise.
48004         * resolv/nss_dns/dns-network.c: Likewise.
48005         * resolv/res_hconf.c: Likewise.
48006         * scripts/gen-sorted.awk: Likewise.
48007         * soft-fp/soft-fp.h: Likewise.
48008         * stdio-common/printf.h: Likewise.
48009         * stdlib/monetary.h: Likewise.
48010         * stdlib/random.c: Likewise.
48011         * stdlib/random_r.c: Likewise.
48012         * sysdeps/generic/Makefile: Likewise.
48013         * sysdeps/gnu/Makefile: Likewise.
48014         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48015         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48016         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48017         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48019         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48020         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48021         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48022         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48023         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48024         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48025         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48026         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48027         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48028         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48029         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48030         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48032         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48033         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48034         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48035         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48036         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48037         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48038         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48039         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48040         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48041         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48042         * sysdeps/mach/hurd/errnos.awk: Likewise.
48043         * sysdeps/mach/hurd/fork.c: Likewise.
48044         * sysdeps/mach/hurd/getcwd.c: Likewise.
48045         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48046         * sysdeps/mach/hurd/mmap.c: Likewise.
48047         * sysdeps/mach/hurd/utimes.c: Likewise.
48048         * sysdeps/mach/hurd/xmknod.c: Likewise.
48049         * sysdeps/posix/profil.c: Likewise.
48050         * sysdeps/posix/readdir_r.c: Likewise.
48051         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48052         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48053         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48054         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48056         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48057         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48058         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48060         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48061         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48062         * sysdeps/pthread/lio_listio.c: Likewise.
48063         * sysdeps/sparc/dl-procinfo.h: Likewise.
48064         * sysdeps/unix/i386/sysdep.S: Likewise.
48065         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48066         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48067         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48068         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48070         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48071         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48072         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48073         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48074         * sysdeps/wordsize-32/divdi3.c: Likewise.
48075         * time/sys/time.h: Likewise.
48076         * wcsmbs/Makefile: Likewise.
48078 2013-01-01  David S. Miller  <davem@davemloft.net>
48080         * po/fr.po: Update from translation team.
48082         * catgets/gencat.c: Update copyright year.
48083         * csu/version.c: Likewise.
48084         * debug/catchsegv.sh: Likewise.
48085         * debug/pcprofiledump.c: Likewise.
48086         * debug/xtrace.sh: Likewise.
48087         * elf/ldconfig.c: Likewise.
48088         * elf/ldd.bash.in: Likewise.
48089         * elf/pldd.c: Likewise.
48090         * elf/sotruss.ksh: Likewise.
48091         * elf/sprof.c: Likewise.
48092         * iconv/iconv_prog.c: Likewise.
48093         * iconv/iconvconfig.c: Likewise.
48094         * locale/programs/locale.c: Likewise.
48095         * locale/programs/localedef.c: Likewise.
48096         * login/programs/pt_chown.c: Likewise.
48097         * malloc/memusage.sh: Likewise.
48098         * malloc/memusagestat.c: Likewise.
48099         * malloc/mtrace.pl: Likewise.
48100         * nscd/nscd.c: Likewise.
48101         * nss/getent.c: Likewise.
48102         * nss/makedb.c: Likewise.
48103         * posix/getconf.c: Likewise.
48105 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48107         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48108         numbers.
48110 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48112         * math/bits/mathcalls.h (modf): Use __nonnull.
48114 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48116         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48117         (split): Use macro CN instead of the bare value.
48118         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48119         could be used.
48120         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48121         instead of the bare value.
48122         (power1): Likewise.
48124 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48127         __ATAN_TWOM.
48128         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48130         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48131         their values.
48132         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48133         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48134         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48135         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48137 2012-12-28  Andreas Jaeger  <aj@suse.de>
48139         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48140         values are from Linux 3.7.
48142         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48143         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48145 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48147         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48148         TRUE case.
48150         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48151         (norm): Likewise.
48152         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48153         variables with preprocessor constants.
48154         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48155         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48156         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48158 2012-12-27  Bruno Haible  <bruno@clisp.org>
48160         [BZ #14317]
48161         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48162         only if needed.
48164 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48167         and use variable directly.
48168         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48170         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48171         MPONE.
48172         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48173         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48174         variable MPONE.
48175         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48177         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48178         include directive.  Remove local variable MPONE.
48179         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48180         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48181         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48183 2012-12-25  David S. Miller  <davem@davemloft.net>
48185         * version.h (RELEASE): Set to "development".
48186         (VERSION): Set to "2.17.90".
48187         * NEWS: Add 2.18 section.
48189 2012-12-21  David S. Miller  <davem@davemloft.net>
48191         * po/hr.po: Update from translation team.
48193 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48195         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48197 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48199         * NEWS:  Mention new memcpy for MIPS.
48201 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48203         * manual/contrib.texi (Contributors): Spelling correction.
48205 2012-12-15  David S. Miller  <davem@davemloft.net>
48207         * po/ru.po: Update from translation team.
48209 2012-12-13  David S. Miller  <davem@davemloft.net>
48211         * NEWS: Mention IFUNC testsuite enhancements.
48213         * po/pl.po: Update from translation team.
48214         * po/bg.po: Likewise.
48216         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48217         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48219 2012-12-11  David S. Miller  <davem@davemloft.net>
48221         * po/sv.po: Update from translation team.
48223         * po/vi.po: Update from translation team.
48225         * po/cs.po: Update from translation team.
48227         * po/de.po: Update from translation team.
48228         * po/eo.po: Likewise.
48229         * po/nl.po: Likewise.
48231 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48233         [BZ #14246]
48234         * manual/argp.texi (Argp Helper Functions): Move node to follow
48235         Argp Parsing State.
48237         [BZ #14872]
48238         * manual/conf.texi (Limits on File System Capacity): Mention if
48239         terminating null is included in the max size.
48241 2012-12-10  Andreas Jaeger  <aj@suse.de>
48243         * po/cs.po: Update from translation team.
48245 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48247         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48248         void pointer and cast to uintptr_t.
48249         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48250         path.
48251         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48252         * sysdeps/s390/s390-64/memset.S: Likewise.
48254 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48256         [BZ #14833]
48257         * menual/message.texi (Message Translation): Fix typos.
48258         (Helper programs for gettext): Likewise.
48260 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48262         [BZ #14898]
48263         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48264         Change to -1.
48266 2012-12-07  David S. Miller  <davem@davemloft.net>
48268         * po/libc.pot: Update.
48270 2012-12-07  Richard Henderson  <rth@redhat.com>
48272         [BZ #10114]
48273         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48274         normal/normal case to before the switch.
48275         (_FP_DIV): Likewise.
48277 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48278             Mike Frysinger  <vapier@gentoo.org>
48280         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48281         check for __NR_fadvise64_64.
48283 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48285         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48286         0, not just to plain "0" as a statement.
48287         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48288         with cw.
48290 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48292         * NEWS: Use sourceware.org in Bugzilla URL.
48294 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48297         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48299         * stdio-common/tst-put-error.c (do_test): Add newline to the
48300         padded test to ensure flush.
48302 2012-12-05  Jeff Law  <law@redhat.com>
48304         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48306 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48308         * README: Don't refer to ports add-on as distributed separately.
48309         Mention AArch64 in list of systems supported in the ports add-on.
48311         * LICENSES: Add more non-FSF copyright and license notices.
48313         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48314         ((unused)).
48316         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48318         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48319         10000 as width of padded output.
48321 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48323         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48325         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48326         variable LX with __attribute__ ((unused)).
48327         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48328         Likewise.
48329         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48331         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48332         with __attribute__ ((unused)).
48334 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48336         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48338 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48340         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48341         (CFLAGS-nldbl-acos.c): New variable.
48342         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48343         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48344         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48345         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48346         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48347         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48348         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48349         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48350         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48351         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48352         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48353         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48354         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48355         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48356         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48357         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48358         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48359         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48360         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48361         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48362         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48363         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48364         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48365         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48366         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48367         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48368         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48369         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48370         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48371         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48372         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48373         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48374         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48375         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48376         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48377         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48378         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48379         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48380         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48381         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48382         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48383         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48384         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48385         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48386         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48387         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48388         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48389         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48390         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48391         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48392         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48393         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48394         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48395         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48396         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48397         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48398         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48399         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48400         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48401         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48402         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48403         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48404         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48405         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48406         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48407         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48408         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48409         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48410         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48411         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48412         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48413         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48414         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48415         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48416         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48417         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48418         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48419         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48420         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48421         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48422         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48423         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48424         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48425         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48426         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48427         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48428         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48429         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48430         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48431         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48432         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48433         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48434         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48435         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48436         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48437         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48438         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48441         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48443         [BZ #14914]
48444         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48445         whole low double instead of just low 47 bits when splitting values
48446         into two parts.
48448 2012-12-03  Allan McRae  <allan@archlinux.org>
48450         * manual/stdio.texi (Predefined Printf Handlers): Remove
48451         @hsep and @vsep usage.
48453 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48455         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48456         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48458 2012-12-03  Jeff Law  <law@redhat.com>
48460         * time/sys/time.h (settimeofday): Do not mark TV argument
48461         as __nonnull.
48463 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48465         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48466         when currently writing and seek to current position when not.
48467         * libio/Makefile (tests): Remove bug-fclose1.
48468         * libio/bug-fclose1.c: Delete.
48470 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48472         * manual/arith.texi (feenableexcept): Fix typo.
48473         (fedisableexcept): Likewise.
48475 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48477         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48478         second, differently-typed declaration, rather than a cast.
48480 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48482         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48483         * include/rpc/svc.h: ... here.
48485 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48487         [BZ #13013]
48488         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48489         depending n and resplen2 to catch cases where answer
48490         equals answerp2.
48492 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48494         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48495         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48497 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48501 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48503         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48505 2012-11-28  Jeff Law  <law@redhat.com>
48507         [BZ #13761]
48508         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48509         dataset_temporary.  Track alloca usage into alloca_used.
48510         If dataset is large allocate and release it via malloc/free.
48512 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48514         [BZ #14197]
48515         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48517 2012-11-28  David S. Miller  <davem@davemloft.net>
48519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48521 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48523         [BZ #14803]
48524         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48525         of pi/2 rounded to nearest to 64 bits.
48526         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48527         nearest to 64 bits.
48528         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48529         bits.
48531 2012-11-28  Jeff Law <law@redhat.com>
48532             Martin Osvald <mosvald@redhat.com>
48534         [BZ #14889]
48535         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48536         * sunrpc/svc.c: Include time.h.
48537         (__svc_accept_failed): New function.
48538         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48539         any reason other than EINTR, call __svc_accept_failed.
48540         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48541         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48543 2012-11-28  Andreas Schwab  <schwab@suse.de>
48545         * scripts/abilist.awk: Also handle indirect functions in .opd
48546         section.
48548 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48550         [BZ #13881]
48551         * sysdeps/x86/fpu/powl_helper.c: New file.
48552         * sysdeps/x86/fpu/Makefile: Likewise.
48553         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48554         (p3): New object.
48555         (__ieee754_powl): Use __powl_helper for finite arguments except
48556         integer exponents below 8.
48557         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48558         (p3): New object.
48559         (__ieee754_powl): Use __powl_helper for finite arguments except
48560         integer exponents below 8.
48561         * math/libm-test.inc (pow_test): Add more tests and enable some
48562         previously disabled tests.
48563         * sysdeps/i386/fpu/libm-test-ulps: Update.
48564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48566 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48567             Carlos O'Donell  <carlos_odonell@mentor.com>
48569         * nss/makedb.c (is_prime): Assert that input is odd and greater
48570         than 4.  Note that fact in a comment too.
48571         (next_prime): Add 4 to input.
48573 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48575         [BZ #11741]
48576         * libio/Makefile (tests): Add test case tst-fwrite-error.
48577         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48578         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48579         * libio/tst-fwrite-error.c: New test case.
48581 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48583         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48584         before casting to void *.
48585         * include/libc-internal.h (__pointer_type): New macro.
48586         (__integer_if_pointer_type_sub): Likewise.
48587         (__integer_if_pointer_type): Likewise.
48588         (cast_to_integer): Likewise.
48589         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48590         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48591         before casting to atomic64_t.
48592         (atomic_exchange_acq): Likewise.
48593         (__arch_exchange_and_add_body): Likewise.
48594         (__arch_add_body): Likewise.
48595         (atomic_add_negative): Likewise.
48596         (atomic_add_zero): Likewise.
48598 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48600         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48601         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48602         (add_fdes): Likewise.
48603         (linear_search_fdes): Likewise.
48604         (binary_search_unencoded_fdes): Likewise.
48606 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48608         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48610 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48612         * configure.in: Autodetect C++ header directories.
48613         * configure: Regenerated.
48615 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48617         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48619 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48623 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48625         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48626         LDBL_MANT_DIG == 106]: Disable some tests.
48627         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48628         Likewise.
48629         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48630         Likewise.
48632         [BZ #14871]
48633         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48634         input for small inputs.  Return +/- pi/2 for large inputs.
48635         * math/libm-test.inc (atan_test): Add more tests.
48637         * sysdeps/generic/unwind-dw2-fde-glibc.c
48638         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48639         __attribute__ ((unused)).
48641         [BZ #14645]
48642         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48643         x * y if x and y are nonzero and z is zero.
48645         [BZ #14811]
48646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48647         nonzero exponents with absolute value below 0x1p-117 to +/-
48648         0x1p-117.
48650         [BZ #14869]
48651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48652         up arguments below 2**-450, not just those below 2**-500.
48653         * math/libm-test.inc (hypot_test): Add another test.
48655         [BZ #14868]
48656         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48657         Return a+b for ratio over 2**120, not 2**60.
48658         * math/libm-test.inc (hypot_test): Add another test.
48660         * math/libm-test.inc (clog_test): Use
48661         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48662         (clog10_test): Likewise.
48664         [BZ #6778]
48665         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48667 2012-11-22  Andreas Schwab  <schwab@suse.de>
48669         * sysdeps/i386/fpu/libm-test-ulps: Update.
48671 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48673         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48674         printf output with newline.
48676 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48678         [BZ #14865]
48679         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48680         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48681         -z nodlopen, -z initfirst and -z execstack support.
48682         * configure: Regenerated.
48684         * elf/elf.h (DF_1_NODIRECT): New macro.
48685         (DF_1_IGNMULDEF): Likewise.
48686         (DF_1_NOKSYMS): Likewise.
48687         (DF_1_NOHDR): Likewise.
48688         (DF_1_EDITED): Likewise.
48689         (DF_1_NORELOC): Likewise.
48690         (DF_1_SYMINTPOSE): Likewise.
48691         (DF_1_GLOBAUDIT): Likewise.
48692         (DF_1_SINGLETON): Likewise.
48693         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48694         DT_1_SUPPORTED_MASK bits.
48695         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48697 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48699         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48701 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48703         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48704         macro.
48706         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48707         (sendmmsg): Move declarations...
48708         * socket/sys/socket.h: ... here.
48709         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48710         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48711         include it from...
48712         * socket/recvmmsg.c: ... this new file.
48713         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48714         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48715         definition of __sendmmsg hidden.
48716         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48717         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48718         Move ENOSYS stub into and include it from...
48719         * socket/sendmmsg.c: ... this new file.
48720         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48721         (sysdep_routines): Move recvmmsg and sendmmsg...
48722         * socket/Makefile (routines): ... here.
48723         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48724         (GLIBC_PRIVATE): Add __sendmmsg.
48725         * include/sys/socket.h (__sendmmsg): Add declarations.
48726         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48727         sendmmsg.
48729 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48731         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48732         variable I1 with __attribute__ ((unused)).
48733         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48735 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48737         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48738         DUMMY variables with __attribute__ ((unused)).
48740         * bits/byteswap.h: Include <bits/types.h>.
48741         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48743 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48745         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48746         string_t.  Do not manually set errno.
48747         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48748         length with __strnlen.  Make sure to both set errno and return it on
48749         failure.
48751 2012-11-19  David S. Miller  <davem@davemloft.net>
48753         With help from Joseph Myers.
48754         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48755         very large arguments properly.
48756         * math/libm-test.inc (atan_test): New tests.
48757         (atan2_test): New tests.
48758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48761 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48763         [BZ #14856]
48764         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48765         Define to 3.
48767         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48768         [POSIX] (EADDRNOTAVAIL): Likewise.
48769         [POSIX] (EAFNOSUPPORT): Likewise.
48770         [POSIX] (EALREADY): Likewise.
48771         [POSIX] (ECONNABORTED): Likewise.
48772         [POSIX] (ECONNREFUSED): Likewise.
48773         [POSIX] (ECONNRESET): Likewise.
48774         [POSIX] (EDESTADDRREQ): Likewise.
48775         [POSIX] (EDQUOT): Likewise.
48776         [POSIX] (EHOSTUNREACH): Likewise.
48777         [POSIX] (EIDRM): Likewise.
48778         [POSIX] (EISCONN): Likewise.
48779         [POSIX] (ELOOP): Likewise.
48780         [POSIX] (EMULTIHOP): Likewise.
48781         [POSIX] (ENETDOWN): Likewise.
48782         [POSIX] (ENETUNREACH): Likewise.
48783         [POSIX] (ENOBUFS): Likewise.
48784         [POSIX] (ENODATA): Likewise.
48785         [POSIX] (ENOLINK): Likewise.
48786         [POSIX] (ENOMSG): Likewise.
48787         [POSIX] (ENOPROTOOPT): Likewise.
48788         [POSIX] (ENOSR): Likewise.
48789         [POSIX] (ENOSTR): Likewise.
48790         [POSIX] (ENOTCONN): Likewise.
48791         [POSIX] (ENOTSOCK): Likewise.
48792         [POSIX] (EOPNOTSUPP): Likewise.
48793         [POSIX] (EOVERFLOW): Likewise.
48794         [POSIX] (EPROTO): Likewise.
48795         [POSIX] (EPROTONOSUPPORT): Likewise.
48796         [POSIX] (EPROTOTYPE): Likewise.
48797         [POSIX] (ESTALE): Likewise.
48798         [POSIX] (ETIME): Likewise.
48799         [POSIX] (ETXTBSY): Likewise.
48800         [POSIX] (EWOULDBLOCK): Likewise.
48801         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48802         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48803         [POSIX] (SEEK_CUR): Likewise.
48804         [POSIX] (SEEK_END): Likewise.
48805         [POSIX || UNIX98] (mode_t): Do not require.
48806         [POSIX] (off_t): Likewise.
48807         [POSIX] (pid_t): Likewise.
48808         [POSIX] (sys/stat.h): Do not allow header.
48809         [POSIX] (unistd.h): Likewise.
48810         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48811         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48812         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48813         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48814         require.
48815         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48816         sigevent): Specify elements.
48817         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48818         entry.
48819         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48820         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48822         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48823         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48824         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48825         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48826         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48827         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48828         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48829         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48830         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48831         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48832         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48833         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48834         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48835         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48836         Likewise.
48837         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48838         Likewise.
48839         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48840         Likewise.
48841         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48842         Likewise.
48843         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48844         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48845         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48846         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48847         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48848         Specify lower bound on value.
48849         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48850         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48851         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48852         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48853         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48854         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48855         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48856         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48857         value.
48858         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48859         as optional.
48860         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48861         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48862         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48863         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48864         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48865         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48866         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48867         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48868         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48869         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48870         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48871         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48872         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48873         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48874         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48875         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48876         entry.
48877         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48878         optional.
48879         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48880         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48881         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48882         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48883         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48884         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48885         Likewise.
48886         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48887         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48888         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48889         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48890         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48891         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48892         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48893         as optional.
48894         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48895         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48896         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48897         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48898         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48899         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48900         specify as optional.
48901         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48902         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48903         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48904         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48905         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48906         [XPG3] (NL_LANGMAX): Likewise.
48907         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48908         [POSIX || XPG3] (NL_NMAX): Likewise.
48909         [POSIX || XPG3] (NL_SETMAX): Likewise.
48910         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48911         [XPG3] (NZERO): Likewise.
48912         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48913         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48914         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48915         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48916         (REG_ERANGE): Expect.
48917         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48918         optional-constant.
48919         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48920         Use (void) in prototype.
48921         [POSIX] (*_t): Allow.
48922         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48923         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48924         (WRDE_BADVAL): Expect.
48926         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48927         expect.
48928         [XPG3 || XPG4] (O_RSYNC): Likewise.
48929         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48930         Likewise.
48931         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48932         [XPG3 || XPG4] (sigqueue): Likewise.
48933         [XPG3 || XPG4] (sigtimedwait): Likewise.
48934         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48935         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48936         [XPG3 || XPG4] (vsnprintf): Likewise.
48937         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48938         Likewise.
48939         [XPG3 || XPG4] (blksize_t): Likewise.
48940         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48941         Likewise.
48942         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48943         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48944         [XPG3 || XPG4] (struct itimerspec): Likewise.
48945         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48946         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48947         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48948         [XPG3 || XPG4] (clockid_t): Likewise.
48949         [XPG3 || XPG4] (timer_t): Likewise.
48950         [XPG3 || XPG4] (clock_getres): Likewise.
48951         [XPG3 || XPG4] (clock_gettime): Likewise.
48952         [XPG3 || XPG4] (clock_settime): Likewise.
48953         [XPG3 || XPG4] (nanosleep): Likewise.
48954         [XPG3 || XPG4] (timer_create): Likewise.
48955         [XPG3 || XPG4] (timer_delete): Likewise.
48956         [XPG3 || XPG4] (timer_gettime): Likewise.
48957         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48958         [XPG3 || XPG4] (timer_settime): Likewise.
48959         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48960         [XPG3 || XPG4] (getlogin_r): Likewise.
48961         [XPG3 || XPG4] (pread): Likewise.
48962         [XPG3 || XPG4] (pthread_atfork): Likewise.
48963         [XPG3 || XPG4] (pwrite): Likewise.
48965         [BZ #14835]
48966         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48967         <bits/siginfo.h>.
48969 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48971         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48972         finalizing MALLSTREAM.
48974         * sysdeps/mach/hurd/syncfs.c: New file.
48976 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48978         [BZ #14719]
48979         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48980         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48981         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48982         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48983         (_nss_dns_gethostbyname4_r): Likewise.
48984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48985         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48987 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48989         [BZ #13763]
48990         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48992 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48994         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48995         * elf/cache.c (print_entry): Print ",AArch64" for
48996         FLAG_AARCH64_LIB64
48998         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48999         * elf/cache.c (print_entry): Print ",hard-float" for
49000         FLAG_ARM_LIBHF.
49002 2012-11-18  David S. Miller  <davem@davemloft.net>
49004         With help from Joseph Myers.
49005         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49006         cutoff to 2**-13.
49007         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49008         cutoff to 2**-25.
49009         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49010         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49011         small.
49012         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49013         * math/libm-test.inc (y0_test): New tests.
49014         (y1_test): New tests.
49015         * sysdeps/i386/fpu/libm-test-ulps: Update.
49016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49019 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49021         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49022         64-bit targets.
49023         * configure: Regenerated.
49025 2012-11-17  David S. Miller  <davem@davemloft.net>
49027         [BZ #14811]
49028         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49029         nonzero exponents with absolute value below 0x1p-128 to +/-
49030         0x1p-128.
49032 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49034         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49036         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49038         * posix/getconf-speclist.c: New file.
49039         * posix/posix-envs.def: Likewise.
49040         * posix/confstr.c (START_ENV_GROUP): New macro.
49041         (END_ENV_GROUP): Likewise.
49042         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49043         (KNOWN_PRESENT_ENV_STRING): Likewise.
49044         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49045         (UNKNOWN_ENVIRONMENT): Likewise.
49046         (confstr): Include posix-envs.def instead of handling
49047         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49048         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49049         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49050         (END_ENV_GROUP): Likewise.
49051         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49052         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49053         (UNKNOWN_ENVIRONMENT): Likewise.
49054         (__sysconf): Include posix-envs.def instead of handling associated
49055         cases directly here.
49056         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49057         preprocessing getconf-speclist.c rather than running getconf or
49058         generating empty file.
49060 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49062         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49064 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49066         [BZ #14672]
49067         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49069 2012-11-16  David S. Miller  <davem@davemloft.net>
49071         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49072         smaller than LDBL_EPSILON/2.0L, just return xm1.
49074 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49076         * elf/tst-array1.c (init): Set constructor priority to 1000.
49077         (fini): Set destructor priority to 1000.
49078         * elf/tst-array2dep.c: Likewise.
49080 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49082         [BZ #11741]
49083         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49084         (_IO_new_file_xsputn): Also return EOF if none of the input
49085         data was written when overflow failed.
49086         * libio/iopadn.c (_IO_padn): Likewise.
49087         * libio/iowpadn.c (_IO_wpadn): Likewise.
49088         * stdio-common/tst-put-error.c: Add copyright notice.
49089         (do_test): Add case for printing padded string.
49090         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49091         _IO_padn returned error.
49092         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49093         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49094         return EOF.
49096 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49098         * libio/libioP.h: Add comment note that the references to C++
49099         bits are now obsolete.
49101 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49103         * math/libm-test.inc (check_complex): Use asprintf.
49105 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49107         * debug/pcprofiledump.c (print_version): Update copyright year.
49108         * malloc/memusagestat.c (print_version): Likewise.
49110 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49112         [BZ #14831]
49113         * elf/Makefile (tests): Add tst-audit8.
49114         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49115         ($(objpfx)tst-audit8.out): New target.
49116         (tst-audit8-ENV): New variable.
49117         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49118         audit if l_reloc_result is NULL.
49119         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49120         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49121         * elf/tst-audit8.c: New file.
49123 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49125         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49126         * misc/Makefile (CFLAGS-select.c): Define.
49127         * posix/Makefile (CFLAGS-pause.c): Define.
49129 2012-11-13  David S. Miller  <davem@davemloft.net>
49131         * crypt/Makefile: Move test targets after toplevel Rules
49132         inclusion.  Grab any necessary sysdep routines when linking.
49133         * crypt/md5.c (md5_process_block): Remove define, we will always
49134         name it __md5_process_block.
49135         (md5_finish_ctx): Update md5_process_block call.
49136         (md5_stream): Likewise.
49137         (md5_process_bytes): Likewise.
49138         (md5_process_block): Rename to __md5_process_block and move to ...
49139         * crypt/md5-block.c: ... here.
49140         * crypt/sha256.c (sha256_process_block): Move to ...
49141         * crypt/sha256-block.c: ... here.
49142         * crypt/sha512.c (sha512_process_block): Move to ...
49143         * crypt/sha512-block.c: ... here.
49144         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49145         path.
49146         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49147         * sysdeps/sparc/sparc64/multiarch/Makefile
49148         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49149         crypt subdir.
49150         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49151         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49152         multiarch changes.
49153         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49154         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49155         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49156         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49157         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49158         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49159         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49160         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49161         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49162         file.
49163         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49164         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49165         file.
49166         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49168 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49170         * timezone/tzselect.ksh: Update from tzcode git revision
49171         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49172         * timezone/zdump.c: Likewise.
49173         * timezone/zic.c: Likewise.
49174         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49175         in TZVERSION setting, not $(PKGVERSION).
49176         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49177         REPORT_BUGS_TO settings.
49179         [BZ #14838]
49180         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49181         macro.
49183 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49185         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49186         detection to immediately after _FP_ROUND().
49187         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49188         bits are 0.
49190 2012-11-11  David S. Miller  <davem@davemloft.net>
49192         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49193         inttypes.h
49194         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49195         __close rather than their public counterparts.
49197 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49199         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49200         file.
49201         [UNIX98] (sem_timedwait): Do not expect.
49202         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49203         [XPG4 || UNIX98] (sockatmark): Do not expect.
49204         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49205         (clock_getcpuclockid): Do not expect.
49206         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49207         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49208         Do not expect.
49209         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49210         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49211         [UNIX98] (vwscanf): Likewise.
49212         [UNIX98] (vswscanf): Likewise.
49214 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49216         * timezone/version.h: Remove file.
49217         * timezone/README: Do not refer to version.h.
49218         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49219         $(objpfx)version.h.
49220         ($(objpfx)zdump.o): Likewise.
49221         ($(objpfx)version.h): New target.
49223         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49224         2012i.
49225         * timezone/README: Don't mention modification to tzselect.ksh.
49226         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49227         work on unmodified tzselect.ksh.  Substitute version numbers in
49228         tzselect.ksh.
49230         * Makefile (format-me): Remove.
49231         (INSTALL): Adjust indentation.  Use commands directly instead of
49232         using $(format-me).
49234         * aclocal.m4 (ACX_PKGVERSION): New macro.
49235         (ACX_BUGURL): Likewise.
49236         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49237         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49238         (REPORT_BUGS_TO): Likewise.
49239         * configure: Regenerated.
49240         * config.h.in (PKGVERSION): New macro.
49241         (REPORT_BUGS_TO): Likewise.
49242         * config.make.in (PKGVERSION): New variable.
49243         (PKGVERSION_TEXI): Likewise.
49244         (REPORT_BUGS_TO): Likewise.
49245         (REPORT_BUGS_TEXI): Likewise.
49246         * Makefile (format-me): Use -I$(common-objpfx)manual.
49247         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49248         ($(common-objpfx)manual/%): New target.
49249         (manual/%): Remove target.
49250         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49251         (print_version): Use PKGVERSION.
49252         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49253         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49254         and REPORT_BUGS_TO.
49255         ($(objpfx)xtrace): Likewise.
49256         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49257         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49258         (print_version): Use PKGVERSION.
49259         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49260         (do_version): Use PKGVERSION.
49261         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49262         REPORT_BUGS_TO.
49263         (common-ldd-rewrite): Likewise.
49264         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49265         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49266         (print_version): Use PKGVERSION.
49267         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49268         * elf/pldd.c (argp_program_bug_address): Remove variable.
49269         (more_help): New function.
49270         (argp): Use more_help.
49271         (print_version): Use PKGVERSION.
49272         * elf/sln.c (main): Use PKGVERSION.
49273         (usage): Use REPORT_BUGS_TO.
49274         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49275         (top level): Use PKGVERSION.
49276         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49277         (print_version): Use PKGVERSION.
49278         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49279         (print_version): Use PKGVERSION.
49280         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49281         (print_version): Use PKGVERSION.
49282         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49283         (print_version): Use PKGVERSION.
49284         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49285         (print_version): Use PKGVERSION.
49286         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49287         (print_version): Use PKGVERSION.
49288         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49289         and BUGURL.
49290         ($(objpfx)memusage): Likewise.
49291         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49292         (do_version): Use PKGVERSION.
49293         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49294         (print_version): Use PKGVERSION.
49295         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49296         ($PKGVERSION): New variable.
49297         ($REPORT_BUGS_TO): Likewise.
49298         (usage): Use $REPORT_BUGS_TO.
49299         (top level): Use $PKGVERSION.
49300         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49301         ($(objpfx)pkgvers.texi): New rule.
49302         ($(objpfx)stamp-pkgvers): Likewise.
49303         * manual/install.texi: Include pkgvers.texi.
49304         (--with-pkgversion): Document new configure option.
49305         (--with-bugurl): Likewise.
49306         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49307         than necessarily for this particular distribution.  Use
49308         REPORT_BUGS_TO for where to report bugs.
49309         * INSTALL: Regenerated.
49310         * manual/libc.texinfo: Include pkgvers.texi.
49311         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49312         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49313         (print_version): Use PKGVERSION.
49314         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49315         (print_version): Use PKGVERSION.
49316         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49317         (print_version): Use PKGVERSION.
49318         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49319         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49320         macro.
49321         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49322         (print_version): Use PKGVERSION.
49323         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49324         (print_version): Use PKGVERSION.
49325         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49326         and PKGVERSION.
49328         * timezone/checktab.awk: Update from tzcode 2012i.
49329         * timezone/ialloc.c: Likewise.
49330         * timezone/private.h: Likewise.
49331         * timezone/scheck.c: Likewise.
49332         * timezone/tzfile.h: Likewise.
49333         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49334         (TZVERSION): Hardcode tzcode version number.
49335         * timezone/zdump.c: Update from tzcode 2012i.
49336         * timezone/zic.c: Likewise.
49337         * timezone/version.h: New file.
49338         * timezone/README: Describe version.h.  Update upstream location.
49340         [BZ #14824]
49341         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49342         (mktemp): Enable declaration.
49343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49345         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49347         Likewise.
49348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49349         Likewise.
49350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49351         Likewise.
49352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49353         Likewise.
49354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49355         Likewise.
49356         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49357         Likewise.
49359         [BZ #14821]
49360         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49361         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49362         for copies of such integer values.
49363         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49364         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49366 2012-11-09  Andreas Jaeger  <aj@suse.de>
49368         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49369         definitions and declarations that are provided by
49370         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49372 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49374         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49375         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49376         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49377         definition.
49379 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49381         * elf/elf.h: Update comment before AArch64 relocations.
49383 2012-11-07  David S. Miller  <davem@davemloft.net>
49385         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49386         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49387         (__start_context): Declare.
49388         (__makecontext_ret): Delete.
49389         (__makecontext): Hook up __start_context instead of
49390         __makecontext_ret.
49391         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49392         (sysdep_routines): Add __start_context when in stdlib.
49394 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49396         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49397         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49398         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49399         hardcoded "nm".
49400         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49401         (READELF): New variable.  Use it instead of hardcoded "readelf".
49403 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49405         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49406         * sysdeps/x86/Makefile: Here.
49407         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49408         * sysdeps/x86/tst-xmmymm.sh: This.
49410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49412         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49413         expectations.
49414         [UNIX98] (pthread_barrier_t): Do not expect.
49415         [UNIX98] (pthread_barrierattr_t): Likewise.
49416         [UNIX98] (pthread_spinlock_t): Likewise.
49417         [UNIX98] (pthread_barrier_destroy): Likewise.
49418         [UNIX98] (pthread_barrier_init): Likewise.
49419         [UNIX98] (pthread_barrier_wait): Likewise.
49420         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49421         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49422         [UNIX98] (pthread_barrierattr_init): Likewise.
49423         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49424         [UNIX98] (pthread_getcpuclockid): Likewise.
49425         [UNIX98] (pthread_mutex_timedlock): Likewise.
49426         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49427         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49428         [UNIX98] (pthread_sigmask): Likewise.
49429         [UNIX98] (pthread_spin_destroy): Likewise.
49430         [UNIX98] (pthread_spin_init): Likewise.
49431         [UNIX98] (pthread_spin_lock): Likewise.
49432         [UNIX98] (pthread_spin_trylock): Likewise.
49433         [UNIX98] (pthread_spin_unlock): Likewise.
49434         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49435         Do not expect.
49436         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49437         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49438         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49439         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49440         [XPG3 || XPG4] (pthread_key_t): Likewise.
49441         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49442         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49443         [XPG3 || XPG4] (pthread_once_t): Likewise.
49444         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49445         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49446         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49447         [XPG3 || XPG4] (pthread_t): Likewise.
49449         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49450         not expect.
49451         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49453         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49454         Change function return type to int.
49456         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49457         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49458         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49459         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49460         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49461         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49462         [!POSIX] (posix_madvise): Likewise.
49463         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49464         && !UNIX98].
49465         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49466         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49467         (mode_t): Likewise.
49468         (posix_mem_offset): Likewise.
49469         (posix_typed_mem_get_info): Likewise.
49470         (posix_typed_mem_open): Likewise.
49472         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49473         Change condition to [XOPEN2K8].
49475         * conform/conformtest.pl: Preprocess allow-header data with -x c
49476         instead of from stdin.
49477         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49478         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49479         [C99-based standards] (cerfc): Likewise.
49480         [C99-based standards] (cexp2): Likewise.
49481         [C99-based standards] (cexpm1): Likewise.
49482         [C99-based standards] (clog10): Likewise.
49483         [C99-based standards] (clog1p): Likewise.
49484         [C99-based standards] (clog2): Likewise.
49485         [C99-based standards] (clgamma): Likewise.
49486         [C99-based standards] (ctgamma): Likewise.
49487         [C99-based standards] (cerff): Likewise.
49488         [C99-based standards] (cerfcf): Likewise.
49489         [C99-based standards] (cexp2f): Likewise.
49490         [C99-based standards] (cexpm1f): Likewise.
49491         [C99-based standards] (clog10f): Likewise.
49492         [C99-based standards] (clog1pf): Likewise.
49493         [C99-based standards] (clog2f): Likewise.
49494         [C99-based standards] (clgammaf): Likewise.
49495         [C99-based standards] (ctgammaf): Likewise.
49496         [C99-based standards] (cerfl): Likewise.
49497         [C99-based standards] (cerfcl): Likewise.
49498         [C99-based standards] (cexp2l): Likewise.
49499         [C99-based standards] (cexpm1l): Likewise.
49500         [C99-based standards] (clog10l): Likewise.
49501         [C99-based standards] (clog1pl): Likewise.
49502         [C99-based standards] (clog2l): Likewise.
49503         [C99-based standards] (clgammal): Likewise.
49504         [C99-based standards] (ctgammal): Likewise.
49505         * conform/data/inttypes.h-data [C99-based standards]: Include
49506         stdint.h-data.  Remove all expectations for stdint.h contents.
49507         [C99-based standards] (PRI*): Do not allow.
49508         [C99-based standards] (SCN*): Likewise.
49509         [C99-based standards] (*_t): Likewise.
49510         [C99-based-standards] (PRId8): Expect macro.
49511         [C99-based-standards] (PRIi8): Likewise.
49512         [C99-based-standards] (PRIo8): Likewise.
49513         [C99-based-standards] (PRIu8): Likewise.
49514         [C99-based-standards] (PRIx8): Likewise.
49515         [C99-based-standards] (PRIX8): Likewise.
49516         [C99-based-standards] (SCNd8): Likewise.
49517         [C99-based-standards] (SCNi8): Likewise.
49518         [C99-based-standards] (SCNo8): Likewise.
49519         [C99-based-standards] (SCNu8): Likewise.
49520         [C99-based-standards] (SCNx8): Likewise.
49521         [C99-based-standards] (PRIdLEAST8): Likewise.
49522         [C99-based-standards] (PRIiLEAST8): Likewise.
49523         [C99-based-standards] (PRIoLEAST8): Likewise.
49524         [C99-based-standards] (PRIuLEAST8): Likewise.
49525         [C99-based-standards] (PRIxLEAST8): Likewise.
49526         [C99-based-standards] (PRIXLEAST8): Likewise.
49527         [C99-based-standards] (SCNdLEAST8): Likewise.
49528         [C99-based-standards] (SCNiLEAST8): Likewise.
49529         [C99-based-standards] (SCNoLEAST8): Likewise.
49530         [C99-based-standards] (SCNuLEAST8): Likewise.
49531         [C99-based-standards] (SCNxLEAST8): Likewise.
49532         [C99-based-standards] (PRIdFAST8): Likewise.
49533         [C99-based-standards] (PRIiFAST8): Likewise.
49534         [C99-based-standards] (PRIoFAST8): Likewise.
49535         [C99-based-standards] (PRIuFAST8): Likewise.
49536         [C99-based-standards] (PRIxFAST8): Likewise.
49537         [C99-based-standards] (PRIXFAST8): Likewise.
49538         [C99-based-standards] (SCNdFAST8): Likewise.
49539         [C99-based-standards] (SCNiFAST8): Likewise.
49540         [C99-based-standards] (SCNoFAST8): Likewise.
49541         [C99-based-standards] (SCNuFAST8): Likewise.
49542         [C99-based-standards] (SCNxFAST8): Likewise.
49543         [C99-based-standards] (PRId16): Likewise.
49544         [C99-based-standards] (PRIi16): Likewise.
49545         [C99-based-standards] (PRIo16): Likewise.
49546         [C99-based-standards] (PRIu16): Likewise.
49547         [C99-based-standards] (PRIx16): Likewise.
49548         [C99-based-standards] (PRIX16): Likewise.
49549         [C99-based-standards] (SCNd16): Likewise.
49550         [C99-based-standards] (SCNi16): Likewise.
49551         [C99-based-standards] (SCNo16): Likewise.
49552         [C99-based-standards] (SCNu16): Likewise.
49553         [C99-based-standards] (SCNx16): Likewise.
49554         [C99-based-standards] (PRIdLEAST16): Likewise.
49555         [C99-based-standards] (PRIiLEAST16): Likewise.
49556         [C99-based-standards] (PRIoLEAST16): Likewise.
49557         [C99-based-standards] (PRIuLEAST16): Likewise.
49558         [C99-based-standards] (PRIxLEAST16): Likewise.
49559         [C99-based-standards] (PRIXLEAST16): Likewise.
49560         [C99-based-standards] (SCNdLEAST16): Likewise.
49561         [C99-based-standards] (SCNiLEAST16): Likewise.
49562         [C99-based-standards] (SCNoLEAST16): Likewise.
49563         [C99-based-standards] (SCNuLEAST16): Likewise.
49564         [C99-based-standards] (SCNxLEAST16): Likewise.
49565         [C99-based-standards] (PRIdFAST16): Likewise.
49566         [C99-based-standards] (PRIiFAST16): Likewise.
49567         [C99-based-standards] (PRIoFAST16): Likewise.
49568         [C99-based-standards] (PRIuFAST16): Likewise.
49569         [C99-based-standards] (PRIxFAST16): Likewise.
49570         [C99-based-standards] (PRIXFAST16): Likewise.
49571         [C99-based-standards] (SCNdFAST16): Likewise.
49572         [C99-based-standards] (SCNiFAST16): Likewise.
49573         [C99-based-standards] (SCNoFAST16): Likewise.
49574         [C99-based-standards] (SCNuFAST16): Likewise.
49575         [C99-based-standards] (SCNxFAST16): Likewise.
49576         [C99-based-standards] (PRId32): Likewise.
49577         [C99-based-standards] (PRIi32): Likewise.
49578         [C99-based-standards] (PRIo32): Likewise.
49579         [C99-based-standards] (PRIu32): Likewise.
49580         [C99-based-standards] (PRIx32): Likewise.
49581         [C99-based-standards] (PRIX32): Likewise.
49582         [C99-based-standards] (SCNd32): Likewise.
49583         [C99-based-standards] (SCNi32): Likewise.
49584         [C99-based-standards] (SCNo32): Likewise.
49585         [C99-based-standards] (SCNu32): Likewise.
49586         [C99-based-standards] (SCNx32): Likewise.
49587         [C99-based-standards] (PRIdLEAST32): Likewise.
49588         [C99-based-standards] (PRIiLEAST32): Likewise.
49589         [C99-based-standards] (PRIoLEAST32): Likewise.
49590         [C99-based-standards] (PRIuLEAST32): Likewise.
49591         [C99-based-standards] (PRIxLEAST32): Likewise.
49592         [C99-based-standards] (PRIXLEAST32): Likewise.
49593         [C99-based-standards] (SCNdLEAST32): Likewise.
49594         [C99-based-standards] (SCNiLEAST32): Likewise.
49595         [C99-based-standards] (SCNoLEAST32): Likewise.
49596         [C99-based-standards] (SCNuLEAST32): Likewise.
49597         [C99-based-standards] (SCNxLEAST32): Likewise.
49598         [C99-based-standards] (PRIdFAST32): Likewise.
49599         [C99-based-standards] (PRIiFAST32): Likewise.
49600         [C99-based-standards] (PRIoFAST32): Likewise.
49601         [C99-based-standards] (PRIuFAST32): Likewise.
49602         [C99-based-standards] (PRIxFAST32): Likewise.
49603         [C99-based-standards] (PRIXFAST32): Likewise.
49604         [C99-based-standards] (SCNdFAST32): Likewise.
49605         [C99-based-standards] (SCNiFAST32): Likewise.
49606         [C99-based-standards] (SCNoFAST32): Likewise.
49607         [C99-based-standards] (SCNuFAST32): Likewise.
49608         [C99-based-standards] (SCNxFAST32): Likewise.
49609         [C99-based-standards] (PRId64): Likewise.
49610         [C99-based-standards] (PRIi64): Likewise.
49611         [C99-based-standards] (PRIo64): Likewise.
49612         [C99-based-standards] (PRIu64): Likewise.
49613         [C99-based-standards] (PRIx64): Likewise.
49614         [C99-based-standards] (PRIX64): Likewise.
49615         [C99-based-standards] (SCNd64): Likewise.
49616         [C99-based-standards] (SCNi64): Likewise.
49617         [C99-based-standards] (SCNo64): Likewise.
49618         [C99-based-standards] (SCNu64): Likewise.
49619         [C99-based-standards] (SCNx64): Likewise.
49620         [C99-based-standards] (PRIdLEAST64): Likewise.
49621         [C99-based-standards] (PRIiLEAST64): Likewise.
49622         [C99-based-standards] (PRIoLEAST64): Likewise.
49623         [C99-based-standards] (PRIuLEAST64): Likewise.
49624         [C99-based-standards] (PRIxLEAST64): Likewise.
49625         [C99-based-standards] (PRIXLEAST64): Likewise.
49626         [C99-based-standards] (SCNdLEAST64): Likewise.
49627         [C99-based-standards] (SCNiLEAST64): Likewise.
49628         [C99-based-standards] (SCNoLEAST64): Likewise.
49629         [C99-based-standards] (SCNuLEAST64): Likewise.
49630         [C99-based-standards] (SCNxLEAST64): Likewise.
49631         [C99-based-standards] (PRIdFAST64): Likewise.
49632         [C99-based-standards] (PRIiFAST64): Likewise.
49633         [C99-based-standards] (PRIoFAST64): Likewise.
49634         [C99-based-standards] (PRIuFAST64): Likewise.
49635         [C99-based-standards] (PRIxFAST64): Likewise.
49636         [C99-based-standards] (PRIXFAST64): Likewise.
49637         [C99-based-standards] (SCNdFAST64): Likewise.
49638         [C99-based-standards] (SCNiFAST64): Likewise.
49639         [C99-based-standards] (SCNoFAST64): Likewise.
49640         [C99-based-standards] (SCNuFAST64): Likewise.
49641         [C99-based-standards] (SCNxFAST64): Likewise.
49642         [C99-based-standards] (PRIdMAX): Likewise.
49643         [C99-based-standards] (PRIiMAX): Likewise.
49644         [C99-based-standards] (PRIoMAX): Likewise.
49645         [C99-based-standards] (PRIuMAX): Likewise.
49646         [C99-based-standards] (PRIxMAX): Likewise.
49647         [C99-based-standards] (PRIXMAX): Likewise.
49648         [C99-based-standards] (SCNdMAX): Likewise.
49649         [C99-based-standards] (SCNiMAX): Likewise.
49650         [C99-based-standards] (SCNoMAX): Likewise.
49651         [C99-based-standards] (SCNuMAX): Likewise.
49652         [C99-based-standards] (SCNxMAX): Likewise.
49653         [C99-based-standards] (PRIdPTR): Likewise.
49654         [C99-based-standards] (PRIiPTR): Likewise.
49655         [C99-based-standards] (PRIoPTR): Likewise.
49656         [C99-based-standards] (PRIuPTR): Likewise.
49657         [C99-based-standards] (PRIxPTR): Likewise.
49658         [C99-based-standards] (PRIXPTR): Likewise.
49659         [C99-based-standards] (SCNdPTR): Likewise.
49660         [C99-based-standards] (SCNiPTR): Likewise.
49661         [C99-based-standards] (SCNoPTR): Likewise.
49662         [C99-based-standards] (SCNuPTR): Likewise.
49663         [C99-based-standards] (SCNxPTR): Likewise.
49664         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49665         allow.
49666         * conform/data/stdint.h-data: Update comments to clarify
49667         requirements.
49668         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49669         type.
49670         [C99-based standards] (INT8_MAX): Likewise.
49671         [C99-based standards] (INT16_MIN): Likewise.
49672         [C99-based standards] (INT16_MAX): Likewise.
49673         [C99-based standards] (INT32_MIN): Likewise.
49674         [C99-based standards] (INT32_MAX): Likewise.
49675         [C99-based standards] (INT64_MIN): Likewise.
49676         [C99-based standards] (INT64_MAX): Likewise.
49677         [C99-based standards] (UINT8_MAX): Likewise.
49678         [C99-based standards] (UINT16_MAX): Likewise.
49679         [C99-based standards] (UINT32_MAX): Likewise.
49680         [C99-based standards] (UINT64_MAX): Likewise.
49681         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49682         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49683         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49684         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49685         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49686         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49687         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49688         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49689         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49690         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49691         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49692         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49693         [C99-based standards] (INT_FAST8_MIN): Likewise.
49694         [C99-based standards] (INT_FAST8_MAX): Likewise.
49695         [C99-based standards] (INT_FAST16_MIN): Likewise.
49696         [C99-based standards] (INT_FAST16_MAX): Likewise.
49697         [C99-based standards] (INT_FAST32_MIN): Likewise.
49698         [C99-based standards] (INT_FAST32_MAX): Likewise.
49699         [C99-based standards] (INT_FAST64_MIN): Likewise.
49700         [C99-based standards] (INT_FAST64_MAX): Likewise.
49701         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49702         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49703         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49704         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49705         [C99-based standards] (INTPTR_MIN): Likewise.
49706         [C99-based standards] (INTPTR_MAX): Likewise.
49707         [C99-based standards] (UINTPTR_MAX): Likewise.
49708         [C99-based standards] (INTMAX_MIN): Likewise.
49709         [C99-based standards] (INTMAX_MAX): Likewise.
49710         [C99-based standards] (UINTMAX_MAX): Likewise.
49711         [C99-based standards] (PTRDIFF_MIN): Likewise.
49712         [C99-based standards] (PTRDIFF_MAX): Likewise.
49713         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49714         [C99-based standards] (SIZE_MAX): Likewise.
49715         [C99-based standards] (WCHAR_MAX): Likewise.
49716         [C99-based standards] (WINT_MAX): Likewise.
49717         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49718         constraint on value.
49719         [C99-based standards] (WCHAR_MIN): Likewise.
49720         [C99-based standards] (WINT_MIN): Likewise.
49721         [C99-based standards] (*_t): Allow.
49722         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49723         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49724         Include math.h-data and complex.h-data.  Remove all expectations
49725         of math.h and complex.h contents.
49726         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49727         at end of line.
49728         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49729         (struct tm): Expect tag.
49730         [C99-based-standards] (wcstof): Expect function.
49731         [C99-based-standards] (wcstold): Likewise.
49732         [C99-based-standards] (wcstoll): Likewise.
49733         [C99-based-standards] (wcstoull): Likewise.
49734         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49735         macro-int-constant.  Specify type.
49736         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49737         constraint on value.
49738         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49739         Specify type.
49740         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49741         Specify value.
49742         [ISO C standards]: Do not allow headers.
49743         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49744         wcs[abcdefghijklmnopqrstuvwxyz]*.
49745         [ISO C standards] (*_t): Do not allow.
49746         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49747         Expect function.
49748         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49749         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49750         Specify type.
49751         [ISO C standards]: Do not allow headers.
49752         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49753         is[abcdefghijklmnopqrstuvwxyz]*.
49754         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49755         to[abcdefghijklmnopqrstuvwxyz]*.
49756         [ISO C standards] (*_t): Do not allow.
49757         * conform/data/stdalign.h-data: New file.
49758         * conform/data/stdbool.h-data: Likewise.
49759         * conform/data/stdnoreturn.h-data: Likewise.
49761 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49763         [BZ #14815]
49764         * manual/filesys.texi (Directory Entries): Typo fix.
49765         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49767 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49769         * elf/elf.h (EM_AARCH64): New macro.
49770         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49771         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49772         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49773         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49774         (R_AARCH64_TLSDESC): Likewise.
49775         (NT_ARM_TLS): Likewise.
49776         (NT_ARM_HW_BREAK): Likewise.
49777         (NT_ARM_HW_WATCH): Likewise.
49779 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49781         [BZ #14811]
49782         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49783         (__ieee754_powl): Saturate nonzero exponents with absolute value
49784         below 0x1p-79 to +/- 0x1p-79.
49785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49786         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49787         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49788         nonzero exponents with absolute value below 0x1p-32 to +/-
49789         0x1p-32.
49790         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49791         (__ieee754_powl): Saturate nonzero exponents with absolute value
49792         below 0x1p-79 to +/- 0x1p-79.
49793         * math/libm-test.inc (pow_test): Add more tests.
49795 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49797         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49798         _dl_s390_cap_flags with kernel. Increase string length.
49799         (_dl_s390_platforms): Add z196 and zEC12.
49801 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49803         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49804         Change XOPEN21K to XOPEN2K.
49806 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49808         * string/memmove.c: Use memcpy when possible.
49810 2012-11-06  Andreas Jaeger  <aj@suse.de>
49812         * po/eo.po: Update from translation team.
49814 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49816         [BZ #14793]
49817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49818         exponent and small x and y exponents, scale x or y up.  Increase
49819         by 2 the exponent used in scaling up.
49820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49822         * math/libm-test.inc (fma_test): Add more tests.
49823         (fma_test_towardzero): Likewise.
49824         (fma_test_downward): Likewise.
49825         (fma_test_upward): Likewise.
49827 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49829         [BZ #14805]
49830         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49831         fenv_t *.
49833         [BZ #14801]
49834         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49835         namespace for names of struct fields.
49836         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49837         fenv_t fields.
49838         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49839         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49841 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49843         [BZ #3665]
49844         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49846 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49848         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49849         PTR_DEMANGLE.
49851         [BZ #5246]
49852         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49853         PTR_DEMANGLE.
49855 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49857         [BZ #14797]
49858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49859         definitely overflow as x * y not x * y + z.
49860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49861         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49862         * math/libm-test.inc (fma_test): Add more tests.
49863         (fma_test_towardzero): Likewise.
49864         (fma_test_downward): Likewise.
49865         (fma_test_upward): Likewise.
49867 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49869         [BZ #157]
49871         * include/stub-tag.h: Remove file.
49872         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49873         '#include' of it.
49874         * manual/maint.texi (Porting): Don't reference it.
49875         * Makerules ($(objpfx)stubs): Likewise.
49876         * dirent/closedir.c: Don't include <stub-tag.h>.
49877         * dirent/dirfd.c: Likewise.
49878         * dirent/fdopendir.c: Likewise.
49879         * dirent/getdents.c: Likewise.
49880         * dirent/getdents64.c: Likewise.
49881         * dirent/opendir.c: Likewise.
49882         * dirent/readdir.c: Likewise.
49883         * dirent/readdir64.c: Likewise.
49884         * dirent/readdir64_r.c: Likewise.
49885         * dirent/readdir_r.c: Likewise.
49886         * dirent/rewinddir.c: Likewise.
49887         * dirent/seekdir.c: Likewise.
49888         * dirent/telldir.c: Likewise.
49889         * gmon/profil.c: Likewise.
49890         * grp/setgroups.c: Likewise.
49891         * inet/if_index.c: Likewise.
49892         * io/access.c: Likewise.
49893         * io/chdir.c: Likewise.
49894         * io/chmod.c: Likewise.
49895         * io/chown.c: Likewise.
49896         * io/close.c: Likewise.
49897         * io/dup.c: Likewise.
49898         * io/dup2.c: Likewise.
49899         * io/dup3.c: Likewise.
49900         * io/euidaccess.c: Likewise.
49901         * io/faccessat.c: Likewise.
49902         * io/fchdir.c: Likewise.
49903         * io/fchmod.c: Likewise.
49904         * io/fchmodat.c: Likewise.
49905         * io/fchown.c: Likewise.
49906         * io/fchownat.c: Likewise.
49907         * io/fcntl.c: Likewise.
49908         * io/flock.c: Likewise.
49909         * io/fstatfs.c: Likewise.
49910         * io/fstatfs64.c: Likewise.
49911         * io/fstatvfs.c: Likewise.
49912         * io/fstatvfs64.c: Likewise.
49913         * io/futimens.c: Likewise.
49914         * io/fxstat.c: Likewise.
49915         * io/fxstat64.c: Likewise.
49916         * io/fxstatat.c: Likewise.
49917         * io/fxstatat64.c: Likewise.
49918         * io/getcwd.c: Likewise.
49919         * io/isatty.c: Likewise.
49920         * io/lchmod.c: Likewise.
49921         * io/lchown.c: Likewise.
49922         * io/link.c: Likewise.
49923         * io/linkat.c: Likewise.
49924         * io/lseek.c: Likewise.
49925         * io/lseek64.c: Likewise.
49926         * io/lxstat64.c: Likewise.
49927         * io/mkdir.c: Likewise.
49928         * io/mkdirat.c: Likewise.
49929         * io/mkfifo.c: Likewise.
49930         * io/mkfifoat.c: Likewise.
49931         * io/open.c: Likewise.
49932         * io/open64.c: Likewise.
49933         * io/openat.c: Likewise.
49934         * io/openat64.c: Likewise.
49935         * io/pipe.c: Likewise.
49936         * io/pipe2.c: Likewise.
49937         * io/poll.c: Likewise.
49938         * io/posix_fadvise.c: Likewise.
49939         * io/posix_fadvise64.c: Likewise.
49940         * io/posix_fallocate.c: Likewise.
49941         * io/posix_fallocate64.c: Likewise.
49942         * io/read.c: Likewise.
49943         * io/readlink.c: Likewise.
49944         * io/readlinkat.c: Likewise.
49945         * io/rmdir.c: Likewise.
49946         * io/sendfile.c: Likewise.
49947         * io/sendfile64.c: Likewise.
49948         * io/statfs.c: Likewise.
49949         * io/statfs64.c: Likewise.
49950         * io/statvfs.c: Likewise.
49951         * io/statvfs64.c: Likewise.
49952         * io/symlink.c: Likewise.
49953         * io/symlinkat.c: Likewise.
49954         * io/ttyname.c: Likewise.
49955         * io/ttyname_r.c: Likewise.
49956         * io/umask.c: Likewise.
49957         * io/unlink.c: Likewise.
49958         * io/unlinkat.c: Likewise.
49959         * io/utime.c: Likewise.
49960         * io/utimensat.c: Likewise.
49961         * io/write.c: Likewise.
49962         * io/xmknod.c: Likewise.
49963         * io/xmknodat.c: Likewise.
49964         * io/xstat.c: Likewise.
49965         * io/xstat64.c: Likewise.
49966         * login/getpt.c: Likewise.
49967         * login/grantpt.c: Likewise.
49968         * login/unlockpt.c: Likewise.
49969         * math/e_acoshl.c: Likewise.
49970         * math/e_acosl.c: Likewise.
49971         * math/e_asinl.c: Likewise.
49972         * math/e_atan2l.c: Likewise.
49973         * math/e_atanhl.c: Likewise.
49974         * math/e_coshl.c: Likewise.
49975         * math/e_expl.c: Likewise.
49976         * math/e_fmodl.c: Likewise.
49977         * math/e_gammal_r.c: Likewise.
49978         * math/e_hypotl.c: Likewise.
49979         * math/e_j0l.c: Likewise.
49980         * math/e_j1l.c: Likewise.
49981         * math/e_jnl.c: Likewise.
49982         * math/e_lgammal_r.c: Likewise.
49983         * math/e_log10l.c: Likewise.
49984         * math/e_log2l.c: Likewise.
49985         * math/e_logl.c: Likewise.
49986         * math/e_powl.c: Likewise.
49987         * math/e_rem_pio2l.c: Likewise.
49988         * math/e_sinhl.c: Likewise.
49989         * math/e_sqrtl.c: Likewise.
49990         * math/fclrexcpt.c: Likewise.
49991         * math/fedisblxcpt.c: Likewise.
49992         * math/feenablxcpt.c: Likewise.
49993         * math/fegetenv.c: Likewise.
49994         * math/fegetexcept.c: Likewise.
49995         * math/fegetround.c: Likewise.
49996         * math/feholdexcpt.c: Likewise.
49997         * math/fesetenv.c: Likewise.
49998         * math/fesetround.c: Likewise.
49999         * math/feupdateenv.c: Likewise.
50000         * math/fgetexcptflg.c: Likewise.
50001         * math/fraiseexcpt.c: Likewise.
50002         * math/fsetexcptflg.c: Likewise.
50003         * math/ftestexcept.c: Likewise.
50004         * math/k_cosl.c: Likewise.
50005         * math/k_rem_pio2l.c: Likewise.
50006         * math/k_sinl.c: Likewise.
50007         * math/k_tanl.c: Likewise.
50008         * math/s_asinhl.c: Likewise.
50009         * math/s_atanl.c: Likewise.
50010         * math/s_cbrtl.c: Likewise.
50011         * math/s_erfl.c: Likewise.
50012         * math/s_expm1l.c: Likewise.
50013         * math/s_log1pl.c: Likewise.
50014         * math/s_tanhl.c: Likewise.
50015         * misc/acct.c: Likewise.
50016         * misc/brk.c: Likewise.
50017         * misc/chflags.c: Likewise.
50018         * misc/chroot.c: Likewise.
50019         * misc/fchflags.c: Likewise.
50020         * misc/fgetxattr.c: Likewise.
50021         * misc/flistxattr.c: Likewise.
50022         * misc/fremovexattr.c: Likewise.
50023         * misc/fsetxattr.c: Likewise.
50024         * misc/fsync.c: Likewise.
50025         * misc/ftruncate.c: Likewise.
50026         * misc/futimes.c: Likewise.
50027         * misc/futimesat.c: Likewise.
50028         * misc/getdomain.c: Likewise.
50029         * misc/getdtsz.c: Likewise.
50030         * misc/gethostid.c: Likewise.
50031         * misc/gethostname.c: Likewise.
50032         * misc/getloadavg.c: Likewise.
50033         * misc/getpagesize.c: Likewise.
50034         * misc/getsysstats.c: Likewise.
50035         * misc/getxattr.c: Likewise.
50036         * misc/gtty.c: Likewise.
50037         * misc/ioctl.c: Likewise.
50038         * misc/lgetxattr.c: Likewise.
50039         * misc/listxattr.c: Likewise.
50040         * misc/llistxattr.c: Likewise.
50041         * misc/lremovexattr.c: Likewise.
50042         * misc/lsetxattr.c: Likewise.
50043         * misc/lutimes.c: Likewise.
50044         * misc/madvise.c: Likewise.
50045         * misc/mincore.c: Likewise.
50046         * misc/mlock.c: Likewise.
50047         * misc/mlockall.c: Likewise.
50048         * misc/mmap.c: Likewise.
50049         * misc/mprotect.c: Likewise.
50050         * misc/msync.c: Likewise.
50051         * misc/munlock.c: Likewise.
50052         * misc/munlockall.c: Likewise.
50053         * misc/munmap.c: Likewise.
50054         * misc/preadv.c: Likewise.
50055         * misc/preadv64.c: Likewise.
50056         * misc/ptrace.c: Likewise.
50057         * misc/pwritev.c: Likewise.
50058         * misc/pwritev64.c: Likewise.
50059         * misc/readv.c: Likewise.
50060         * misc/reboot.c: Likewise.
50061         * misc/remap_file_pages.c: Likewise.
50062         * misc/removexattr.c: Likewise.
50063         * misc/revoke.c: Likewise.
50064         * misc/select.c: Likewise.
50065         * misc/setdomain.c: Likewise.
50066         * misc/setegid.c: Likewise.
50067         * misc/seteuid.c: Likewise.
50068         * misc/sethostid.c: Likewise.
50069         * misc/sethostname.c: Likewise.
50070         * misc/setregid.c: Likewise.
50071         * misc/setreuid.c: Likewise.
50072         * misc/setxattr.c: Likewise.
50073         * misc/sstk.c: Likewise.
50074         * misc/stty.c: Likewise.
50075         * misc/swapoff.c: Likewise.
50076         * misc/swapon.c: Likewise.
50077         * misc/sync.c: Likewise.
50078         * misc/syncfs.c: Likewise.
50079         * misc/syscall.c: Likewise.
50080         * misc/truncate.c: Likewise.
50081         * misc/ualarm.c: Likewise.
50082         * misc/usleep.c: Likewise.
50083         * misc/ustat.c: Likewise.
50084         * misc/utimes.c: Likewise.
50085         * misc/vhangup.c: Likewise.
50086         * misc/writev.c: Likewise.
50087         * posix/_exit.c: Likewise.
50088         * posix/alarm.c: Likewise.
50089         * posix/execve.c: Likewise.
50090         * posix/fexecve.c: Likewise.
50091         * posix/fork.c: Likewise.
50092         * posix/fpathconf.c: Likewise.
50093         * posix/getaddrinfo.c: Likewise.
50094         * posix/getegid.c: Likewise.
50095         * posix/geteuid.c: Likewise.
50096         * posix/getgid.c: Likewise.
50097         * posix/getgroups.c: Likewise.
50098         * posix/getlogin.c: Likewise.
50099         * posix/getlogin_r.c: Likewise.
50100         * posix/getpgid.c: Likewise.
50101         * posix/getpid.c: Likewise.
50102         * posix/getppid.c: Likewise.
50103         * posix/getresgid.c: Likewise.
50104         * posix/getresuid.c: Likewise.
50105         * posix/getsid.c: Likewise.
50106         * posix/getuid.c: Likewise.
50107         * posix/glob64.c: Likewise.
50108         * posix/nanosleep.c: Likewise.
50109         * posix/pathconf.c: Likewise.
50110         * posix/pause.c: Likewise.
50111         * posix/posix_madvise.c: Likewise.
50112         * posix/pread.c: Likewise.
50113         * posix/pread64.c: Likewise.
50114         * posix/pwrite.c: Likewise.
50115         * posix/pwrite64.c: Likewise.
50116         * posix/sched_getaffinity.c: Likewise.
50117         * posix/sched_getp.c: Likewise.
50118         * posix/sched_gets.c: Likewise.
50119         * posix/sched_primax.c: Likewise.
50120         * posix/sched_primin.c: Likewise.
50121         * posix/sched_rr_gi.c: Likewise.
50122         * posix/sched_setaffinity.c: Likewise.
50123         * posix/sched_setp.c: Likewise.
50124         * posix/sched_sets.c: Likewise.
50125         * posix/sched_yield.c: Likewise.
50126         * posix/setgid.c: Likewise.
50127         * posix/setlogin.c: Likewise.
50128         * posix/setpgid.c: Likewise.
50129         * posix/setresgid.c: Likewise.
50130         * posix/setresuid.c: Likewise.
50131         * posix/setsid.c: Likewise.
50132         * posix/setuid.c: Likewise.
50133         * posix/sleep.c: Likewise.
50134         * posix/spawni.c: Likewise.
50135         * posix/sysconf.c: Likewise.
50136         * posix/times.c: Likewise.
50137         * posix/wait.c: Likewise.
50138         * posix/wait3.c: Likewise.
50139         * posix/wait4.c: Likewise.
50140         * posix/waitpid.c: Likewise.
50141         * resolv/gai_sigqueue.c: Likewise.
50142         * resource/getpriority.c: Likewise.
50143         * resource/getrlimit.c: Likewise.
50144         * resource/getrusage.c: Likewise.
50145         * resource/nice.c: Likewise.
50146         * resource/setpriority.c: Likewise.
50147         * resource/setrlimit.c: Likewise.
50148         * resource/ulimit.c: Likewise.
50149         * rt/aio_cancel.c: Likewise.
50150         * rt/aio_fsync.c: Likewise.
50151         * rt/aio_read.c: Likewise.
50152         * rt/aio_sigqueue.c: Likewise.
50153         * rt/aio_suspend.c: Likewise.
50154         * rt/aio_write.c: Likewise.
50155         * rt/clock_getres.c: Likewise.
50156         * rt/clock_gettime.c: Likewise.
50157         * rt/clock_nanosleep.c: Likewise.
50158         * rt/clock_settime.c: Likewise.
50159         * rt/lio_listio.c: Likewise.
50160         * rt/mq_close.c: Likewise.
50161         * rt/mq_getattr.c: Likewise.
50162         * rt/mq_notify.c: Likewise.
50163         * rt/mq_open.c: Likewise.
50164         * rt/mq_receive.c: Likewise.
50165         * rt/mq_send.c: Likewise.
50166         * rt/mq_setattr.c: Likewise.
50167         * rt/mq_timedreceive.c: Likewise.
50168         * rt/mq_timedsend.c: Likewise.
50169         * rt/mq_unlink.c: Likewise.
50170         * rt/shm_open.c: Likewise.
50171         * rt/shm_unlink.c: Likewise.
50172         * rt/timer_create.c: Likewise.
50173         * rt/timer_delete.c: Likewise.
50174         * rt/timer_getoverr.c: Likewise.
50175         * rt/timer_gettime.c: Likewise.
50176         * rt/timer_settime.c: Likewise.
50177         * setjmp/__longjmp.c: Likewise.
50178         * setjmp/setjmp.c: Likewise.
50179         * signal/kill.c: Likewise.
50180         * signal/killpg.c: Likewise.
50181         * signal/raise.c: Likewise.
50182         * signal/sigaction.c: Likewise.
50183         * signal/sigaltstack.c: Likewise.
50184         * signal/sigblock.c: Likewise.
50185         * signal/sigignore.c: Likewise.
50186         * signal/sigintr.c: Likewise.
50187         * signal/signal.c: Likewise.
50188         * signal/sigpause.c: Likewise.
50189         * signal/sigpending.c: Likewise.
50190         * signal/sigqueue.c: Likewise.
50191         * signal/sigreturn.c: Likewise.
50192         * signal/sigset.c: Likewise.
50193         * signal/sigsetmask.c: Likewise.
50194         * signal/sigstack.c: Likewise.
50195         * signal/sigsuspend.c: Likewise.
50196         * signal/sigtimedwait.c: Likewise.
50197         * signal/sigvec.c: Likewise.
50198         * signal/sigwait.c: Likewise.
50199         * signal/sigwaitinfo.c: Likewise.
50200         * signal/sysv_signal.c: Likewise.
50201         * socket/accept.c: Likewise.
50202         * socket/accept4.c: Likewise.
50203         * socket/bind.c: Likewise.
50204         * socket/connect.c: Likewise.
50205         * socket/getpeername.c: Likewise.
50206         * socket/getsockname.c: Likewise.
50207         * socket/getsockopt.c: Likewise.
50208         * socket/isfdtype.c: Likewise.
50209         * socket/listen.c: Likewise.
50210         * socket/recv.c: Likewise.
50211         * socket/recvfrom.c: Likewise.
50212         * socket/recvmsg.c: Likewise.
50213         * socket/send.c: Likewise.
50214         * socket/sendmsg.c: Likewise.
50215         * socket/sendto.c: Likewise.
50216         * socket/setsockopt.c: Likewise.
50217         * socket/shutdown.c: Likewise.
50218         * socket/sockatmark.c: Likewise.
50219         * socket/socket.c: Likewise.
50220         * socket/socketpair.c: Likewise.
50221         * stdio-common/ctermid.c: Likewise.
50222         * stdio-common/cuserid.c: Likewise.
50223         * stdio-common/remove.c: Likewise.
50224         * stdio-common/rename.c: Likewise.
50225         * stdio-common/renameat.c: Likewise.
50226         * stdio-common/tempname.c: Likewise.
50227         * stdlib/getcontext.c: Likewise.
50228         * stdlib/makecontext.c: Likewise.
50229         * stdlib/setcontext.c: Likewise.
50230         * stdlib/swapcontext.c: Likewise.
50231         * stdlib/system.c: Likewise.
50232         * streams/fattach.c: Likewise.
50233         * streams/fdetach.c: Likewise.
50234         * streams/getmsg.c: Likewise.
50235         * streams/getpmsg.c: Likewise.
50236         * streams/putmsg.c: Likewise.
50237         * streams/putpmsg.c: Likewise.
50238         * sysdeps/unix/bsd/getpt.c: Likewise.
50239         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50240         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50241         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50243         Likewise.
50244         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50245         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50246         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50247         * sysvipc/msgctl.c: Likewise.
50248         * sysvipc/msgget.c: Likewise.
50249         * sysvipc/msgrcv.c: Likewise.
50250         * sysvipc/msgsnd.c: Likewise.
50251         * sysvipc/semctl.c: Likewise.
50252         * sysvipc/semget.c: Likewise.
50253         * sysvipc/semop.c: Likewise.
50254         * sysvipc/semtimedop.c: Likewise.
50255         * sysvipc/shmat.c: Likewise.
50256         * sysvipc/shmctl.c: Likewise.
50257         * sysvipc/shmdt.c: Likewise.
50258         * sysvipc/shmget.c: Likewise.
50259         * termios/tcdrain.c: Likewise.
50260         * termios/tcflow.c: Likewise.
50261         * termios/tcflush.c: Likewise.
50262         * termios/tcgetattr.c: Likewise.
50263         * termios/tcgetpgrp.c: Likewise.
50264         * termios/tcsendbrk.c: Likewise.
50265         * termios/tcsetattr.c: Likewise.
50266         * termios/tcsetpgrp.c: Likewise.
50267         * time/adjtime.c: Likewise.
50268         * time/clock.c: Likewise.
50269         * time/getitimer.c: Likewise.
50270         * time/gettimeofday.c: Likewise.
50271         * time/setitimer.c: Likewise.
50272         * time/settimeofday.c: Likewise.
50273         * time/stime.c: Likewise.
50274         * time/time.c: Likewise.
50276 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50278         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50279         /usr/old/bin.
50281         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50282         instead of spaces.
50283         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50285 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50287         [BZ #14796]
50288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50289         FE_TONEAREST before applying Dekker multiplication and Knuth
50290         addition.  Clear inexact exceptions and check for exact zero
50291         results afterwards.
50292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50295         * math/libm-test.inc (fma_test): Add more tests.
50296         (fma_test_towardzero): Likewise.
50297         (fma_test_downward): Likewise.
50298         (fma_test_upward): Likewise.
50299         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50300         function.
50301         (libc_fesetround): New macro.
50302         (libc_fesetroundf): Likewise.
50303         (libc_fesetroundl): Likewise.
50304         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50305         function.
50306         (libc_fesetround_387): Likewise.
50307         (libc_fesetroundf): New macro.
50308         (libc_fesetround): Likewise.
50309         (libc_fesetroundl): Likewise.
50310         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50311         function.
50312         (libc_fesetroundf): New macro.
50313         (libc_fesetround): Likewise.
50314         (libc_fesetroundl): Likewise.
50315         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50316         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50317         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50318         libm_hidden_ver.
50319         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50320         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50321         libm_hidden_def.
50322         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50323         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50324         libm_hidden_ver.
50325         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50326         libm_hidden_def.
50328         [BZ #3439]
50329         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50330         integer constant usable in #if and use that to give value to enum
50331         constant.
50332         (FE_DIVBYZERO): Likewise.
50333         (FE_UNDERFLOW): Likewise.
50334         (FE_OVERFLOW): Likewise.
50335         (FE_INVALID): Likewise.
50336         (FE_INVALID_SNAN): Likewise.
50337         (FE_INVALID_ISI): Likewise.
50338         (FE_INVALID_IDI): Likewise.
50339         (FE_INVALID_ZDZ): Likewise.
50340         (FE_INVALID_IMZ): Likewise.
50341         (FE_INVALID_COMPARE): Likewise.
50342         (FE_INVALID_SOFTWARE): Likewise.
50343         (FE_INVALID_SQRT): Likewise.
50344         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50345         (FE_TONEAREST): Likewise.
50346         (FE_TOWARDZERO): Likewise.
50347         (FE_UPWARD): Likewise.
50348         (FE_DOWNWARD): Likewise.
50349         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50350         (FE_DIVBYZERO): Likewise.
50351         (FE_OVERFLOW): Likewise.
50352         (FE_UNDERFLOW): Likewise.
50353         (FE_INEXACT): Likewise.
50354         (FE_TONEAREST): Likewise.
50355         (FE_DOWNWARD): Likewise.
50356         (FE_UPWARD): Likewise.
50357         (FE_TOWARDZERO): Likewise.
50358         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50359         (FE_UNDERFLOW): Likewise.
50360         (FE_OVERFLOW): Likewise.
50361         (FE_DIVBYZERO): Likewise.
50362         (FE_INVALID): Likewise.
50363         (FE_TONEAREST): Likewise.
50364         (FE_TOWARDZERO): Likewise.
50365         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50366         (FE_OVERFLOW): Likewise.
50367         (FE_UNDERFLOW): Likewise.
50368         (FE_DIVBYZERO): Likewise.
50369         (FE_INEXACT): Likewise.
50370         (FE_TONEAREST): Likewise.
50371         (FE_TOWARDZERO): Likewise.
50372         (FE_UPWARD): Likewise.
50373         (FE_DOWNWARD): Likewise.
50374         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50375         (FE_DIVBYZERO): Likewise.
50376         (FE_OVERFLOW): Likewise.
50377         (FE_UNDERFLOW): Likewise.
50378         (FE_INEXACT): Likewise.
50379         (FE_TONEAREST): Likewise.
50380         (FE_DOWNWARD): Likewise.
50381         (FE_UPWARD): Likewise.
50382         (FE_TOWARDZERO): Likewise.
50384 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50386         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50388 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50390         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50391         commands.  Quote $PWD.
50392         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50393         -x" by "export".
50394         (remove_newlines): Remove.
50396 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50398         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50399         * stdlib/stdlib.h (atof): Moved to ...
50400         * include/bits/stdlib-float.h: Here.  New file.
50401         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50402         * stdlib/bits/stdlib-float.h: New file.
50403         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50404         -mno-sse -mno-mmx.
50405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50406         <xmmintrin.h>.
50408 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50410         * conform/conformtest.pl (@headers): Add fenv.h.
50411         * conform/data/fenv.h-data: New file.
50412         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50413         include of <math/fenv.h>.
50415         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50416         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50417         && !UNIX98].  Enables tests for XOPEN2K8.
50418         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50419         POSIX2008]: Likewise.
50421         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50422         (struct rusage): Do not expect type or its members.
50424         [BZ #3439]
50425         * math/math.h (FP_NAN): Define macro to integer constant usable in
50426         #if and use that to give value to enum constant.
50427         (FP_INFINITE): Likewise.
50428         (FP_ZERO): Likewise.
50429         (FP_SUBNORMAL): Likewise.
50430         (FP_NORMAL): Likewise.
50432 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50434         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50435         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50436         arguments.
50438 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50440         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50441         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50442         autoconf-time if not.
50443         * configure.in: Remove AC_PREREQ.
50445 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50447         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50448         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50449         of the internal implementation.
50451 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50453         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50454         except include of <misc/sys/syslog.h>.
50456 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50459         function returns with a NULL context exit with zero.
50461 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50463         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50465 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50467         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50468         (run_program_cmd): This.
50469         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50470         (tst_langinfo): New variable.  Use it.
50472 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50474         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50475         floating point opcodes.
50477 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50479         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50480         variable.
50482         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50484         * sysdeps/mach/hurd/powerpc: Remove directory.
50485         * sysdeps/mach/powerpc: Likewise.
50487 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50489         * scripts/check-local-headers.sh: Ignore c++ headers.
50491 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50493         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50494         __libc_cleanup_region_start argument.
50496 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50498         [BZ #14784]
50499         [BZ #14785]
50500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50501         x * y using scaling, not as x * y + z.
50502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50504         * math/libm-test.inc (fma_test): Add more tests.
50505         (fma_test_towardzero): Likewise.
50506         (fma_test_downward): Likewise.
50507         (fma_test_upward): Likewise.
50509 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50511         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50513 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50515         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50516         New variable.
50518 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50520         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50522 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50525         Fix sort order.
50526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50527         Likewise.
50529 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50532         Fix the order of the list for glibc 2.17.
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50534         Likewise.
50536 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50540 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50542         [BZ #14610]
50543         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50544         for low part of x being zero before using __atanl (y).
50545         * math/libm-test.inc (atan2_test): Add another test.
50547         * manual/install.texi (Configuring and compiling): Document
50548         general use of test-wrapper and test-wrapper-env.
50549         * INSTALL: Regenerated.
50551         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50552         (__fma): Do not extract and scale down low bits on after-rounding
50553         systems when result rounded to normal precision would have normal
50554         exponent.
50555         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50556         (__fmal): Do not extract and scale down low bits on after-rounding
50557         systems when result rounded to normal precision would have normal
50558         exponent.
50559         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50560         (__fmal): Do not extract and scale down low bits on after-rounding
50561         systems when result rounded to normal precision would have normal
50562         exponent.
50563         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50564         macro.
50565         (fma_test): Add more tests.
50566         (fma_test_towardzero): Likewise.
50567         (fma_test_downward): Likewise.
50568         (fma_test_upward): Likewise.
50570 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50572         * sysdeps/i386/tininess.h: Renamed to ...
50573         * sysdeps/x86/tininess.h: This.
50574         * sysdeps/x86_64/tininess.h: Removed.
50576 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50578         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50579         input.  Use $(build-program-cmd).
50580         ($(objpfx)tst-array1-static.out): Likewise.
50581         ($(objpfx)tst-array2.out): Likewise.
50582         ($(objpfx)tst-array3.out): Likewise.
50583         ($(objpfx)tst-array4.out): Likewise.
50584         ($(objpfx)tst-array5.out): Likewise.
50585         ($(objpfx)tst-array5-static.out): Likewise.
50587 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50589         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50590         if defined.
50592         * nss/nsswitch.h (nss_interface_function): Provide new
50593         macro for use with NSS functions.
50594         * grp/initgroups.c: Use new macro.
50595         * nss/getXXbyYY.c: Likewise.
50596         * nss/getXXbyYY_r.c: Likewise.
50597         * nss/getXXent.c: Likewise.
50598         * nss/getXXent_r.c: Likewise.
50599         * sysdeps/posix/getaddrinfo.c: Likewise.
50601 2012-10-30  Andreas Jaeger  <aj@suse.de>
50603         * po/ru.po: Update Russion translation from translation project.
50605 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50607         [BZ #14152]
50608         [BZ #14783]
50609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50610         result and shift together with sticky bit instead of replicating
50611         round-to-nearest rounding.
50612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50614         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50615         missing underflow exceptions.
50616         (fma_test_towardzero): Add more tests.
50617         (fma_test_downward): Likewise.
50618         (fma_test_upward): Likewise.
50620         [BZ #14047]
50621         * sysdeps/generic/tininess.h: New file.
50622         * sysdeps/i386/tininess.h: Likewise.
50623         * sysdeps/sh/tininess.h: Likewise.
50624         * sysdeps/x86_64/tininess.h: Likewise.
50625         * stdlib/tst-strtod-underflow.c: Likewise.
50626         * stdlib/tst-tininess.c: Likewise.
50627         * stdlib/strtod_l.c: Include <tininess.h>.
50628         (round_and_return): Do not set errno for exact underflow cases.
50629         Force an underflow exception when setting errno for underflow.
50630         Determine underflow based on rounding to normal precision if
50631         TININESS_AFTER_ROUNDING.
50632         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50633         ERANGE for exact underflow cases.
50634         * stdlib/Makefile (tests): Add tst-tininess and
50635         tst-strtod-underflow.
50636         ($(objpfx)tst-tininess): Use $(link-libm).
50637         ($(objpfx)tst-strtod-underflow): Likewise.
50639 2012-10-30  Andreas Jaeger  <aj@suse.de>
50641         [BZ#14767]
50642         * elf/Makefile (tests): Remove conditional for have-initfini-array
50643         since this is now always required and the variable does not exist
50644         anymore.
50645         (tests-static): Likewise.
50646         (modules-names): Likewise.
50648         * po/eo.po: Add Esperanto translation from translation project.
50650         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50651         merged with constructor/destructor.
50652         (init_array): Likewise.
50653         * elf/tst-array2dep.c (fini_array): Likewise.
50654         (init_array): Likewise.
50656 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50658         * manual/message.texi: Delete @cartouche tags.
50660 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50662         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50663         EOPNOTSUPP.
50664         * sysdeps/mach/hurd/fsync.c: Likewise.
50666         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50667         [_POSIX_REALTIME_SIGNALS]: Change condition to
50668         [_POSIX_REALTIME_SIGNALS > 0].
50670 2012-10-27  Andreas Jaeger  <aj@suse.de>
50672         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50673         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50674         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50675         [__WORDSIZE != 64]: Likewise.
50677 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50679         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50680         *  iconvdata/tst-tables.sh: Likewise.
50682 2012-10-25  David S. Miller  <davem@davemloft.net>
50684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50685         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50686         of strtoull.
50688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50689         ifunc-impl-list.c
50690         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50691         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50692         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50693         file.
50695 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50698         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50699         __getdirentries.
50701 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50702             Jim Blandy  <jimb@codesourcery.com>
50704         * scripts/cross-test-ssh.sh: New file.
50705         * manual/install.texi (Configuring and compiling): Document use of
50706         cross-test-ssh.sh.
50707         * INSTALL: Regenerated.
50709 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50711         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50712         EOPNOTSUPP.
50714 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50716         * Makeconfig (run-program-prefix): Fix comment.
50718 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50719             Jim Blandy  <jimb@codesourcery.com>
50721         * Makeconfig (test-wrapper): New variable,
50722         (test-wrapper-env): Likewise.
50723         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50724         (run-built-tests): Define to yes.
50725         (run-program-prefix): Use $(test-wrapper).
50726         (built-program-cmd): Likewise.
50727         * Rules (make-test-out): Use $(test-wrapper-env) and
50728         $(host-built-program-cmd).
50729         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50730         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50731         tst-pathopt.sh.
50732         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50733         $(test-wrapper-env) to tst-rtld-load-self.sh.
50734         ($(objpfx)order2.out): Use $(test-wrapper).
50735         ($(objpfx)tst-initorder.out): Likewise.
50736         ($(objpfx)tst-initorder2.out): Likewise.
50737         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50738         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50739         (test_wrapper_env): New variable.  Use it to run ld.so.
50740         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50741         Use it to run ld.so.
50742         (test_wrapper_env): Likewise.
50743         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50744         $(test-wrapper) to run-iconv-test.sh.
50745         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50746         (ICONV): Use $test_wrapper.
50747         * posix/Makefile ($(objpfx)globtest.out): Pass
50748         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50749         globtest.sh, not $(run-program-prefix).
50750         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50751         (test_wrapper): Likewise.
50752         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50753         set together with run_via_rtld_prefix.
50754         (run_program_prefix): Define in terms of test_wrapper and
50755         run_via_rtld_prefix.
50757 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50759         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50760         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50761         Targets removed.
50763         [BZ #14743]
50764         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50765         Declare __clock_getres, __clock_gettime, __clock_settime,
50766         __clock_nanosleep, and __clock_getcpuclockid.
50767         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50768         Remove librt_hidden_def (clock_gettime).
50769         * sysdeps/unix/clock_gettime.c: Likewise.
50770         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50771         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50772         * rt/clock_getres.c: Define __clock_getres as an alias.
50773         * sysdeps/posix/clock_getres.c: Likewise.
50774         * rt/clock_settime.c: Define __clock_settime as an alias.
50775         * sysdeps/unix/clock_settime.c: Likewise.
50776         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50777         * sysdeps/unix/clock_nanosleep.c: Likewise.
50778         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50779         * rt/clock-compat.c: New file.
50780         * rt/Makefile (librt-routines): Add clock-compat and move
50781         $(clock-routines) to ...
50782         (routines): ... here, new variable.
50783         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50784         Don't add get_clockfreq here.
50785         * rt/Versions (libc: GLIBC_2.17): New version set.
50786         Add clock_* symbols here.
50787         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50789         (GLIBC_2.17): Add clock_* symbols.
50790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50792         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50794         Likewise.
50795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50796         Likewise.
50797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50801         * NEWS: Mention the move.
50803         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50804         Use __open, __read, __close rather than their public counterparts.
50805         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50806         (__get_clockfreq_via_cpuinfo): Likewise.
50807         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50808         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50810         * config.h.in (HAVE_IFUNC): New #undef.
50811         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50812         was successful.
50813         * configure: Regenerated.
50815 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50817         * configure.in: Move READELF check to start of file.
50818         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50819         libc_cv_asm_gnu_indirect_function in the process.
50820         * configure: Regenerated.
50822 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50824         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50825         send the output to /dev/null.
50826         (libc_cv_cc_with_libunwind): Likewise.
50827         (libc_cv_as_noexecstack): Likewise.
50828         * configure: Regenerate.
50830 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50832         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50834         * posix/globtest.sh (TMPDIR): Do not set.
50835         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50836         (testout): Likewise.
50838 2012-10-24  Andreas Jaeger  <aj@suse.de>
50840         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50841         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50842         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50843         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50844         posix_fadvise64, posix_fallocate64.
50846         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50847         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50848         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50849         Likewise.
50850         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50851         Likewise.
50852         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50855         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50856         <bits/fcntl-linux.h>.
50857         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50860         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50861         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50862         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50863         [__WORDSIZE != 64]: Likewise.
50865 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50867         * Makeconfig (run-built-tests): New variable.
50868         * Rules [$(cross-compiling) = yes]: Change condition to
50869         [$(run-built-tests) = no].
50870         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50871         to [$(run-built-tests) = yes].
50872         * elf/Makefile [$(cross-compiling) = no]: Likewise
50873         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50874         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50875         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50876         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50877         * io/Makefile [$(cross-compiling) = no]: Likewise.
50878         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50879         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50880         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50881         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50882         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50883         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50884         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50885         * string/Makefile [$(cross-compiling) = no]: Likewise.
50887         * posix/Makefile ($(objpfx)globtest.out): Pass
50888         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50889         $(rtld-installed-name).
50890         * posix/globtest.sh (elf_objpfx): Remove variable.
50891         (rtld_installed_name): Likewise.
50892         (library_path): Likewise.
50893         (run_program_prefix): New variable.  Use for running globtest
50894         binary.
50896 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50897             Joseph Myers  <joseph@codesourcery.com>
50899         * Makeconfig (host-built-program-cmd): New variable.
50900         * elf/Makefile (tst-stackguard1-ARGS): Use
50901         $(host-built-program-cmd).
50902         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50903         (tst-spawn-ARGS): Likewise.
50904         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50906 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50907             Jim Blandy  <jimb@codesourcery.com>
50909         * Makeconfig (run-via-rtld-prefix): New variable.
50910         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50911         (built-program-cmd): Likewise.
50913 2012-10-22  Andreas Jaeger  <aj@suse.de>
50915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50916         __O_RSYNC if it exists, otherwise to O_SYNC.
50918 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50919             Joseph Myers  <joseph@codesourcery.com>
50921         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50922         /dev/null.
50923         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50924         from /dev/null
50925         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50926         /dev/null.
50928 2012-10-22  Andreas Jaeger  <aj@suse.de>
50930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50931         Define always.
50932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50935         bits/fcntl-linux.h.
50937         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50938         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50941         to __O_LARGEFILE.
50942         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50943         to __O_LARGEFILE.
50945 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50946             Joseph Myers  <joseph@codesourcery.com>
50948         * config.make.in (NM): New variable.
50950 2012-10-21  Andreas Jaeger  <aj@suse.de>
50952         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50953         definitions and declarations that are provided by
50954         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50956 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50958         [BZ #14683]
50959         * elf/Makefile (tests-static): Add tst-leaks1-static.
50960         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50961         ($(objpfx)tst-leaks1-static): New rule.
50962         ($(objpfx)tst-leaks1-static-mem): Likewise.
50963         (tst-leaks1-static-ENV): New macro.
50964         * elf/dl-open.c (dl_open_worker): Check the main application
50965         only if SHARED is defined.
50966         * elf/tst-leaks1-static.c: New file.
50968 2012-10-20  Andreas Jaeger  <aj@suse.de>
50970         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50971         generic values for Linux.
50972         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50973         and declarations that are provided by <bits/fcntl-linux.h> and
50974         include <bits/fcntl-linux.h>.
50975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50978 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50980         * io/fcntl.h: Move include of <bits/types.h> to the top and
50981         include it unconditionally.
50983 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50985         * wcsmbs/Makefile (tests-ifunc): New variable.
50986         (tests): Add $(tests-ifunc).
50987         * wcsmbs/test-wcschr-ifunc.c: New file.
50988         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50989         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50990         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50991         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50992         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50994         * string/Makefile (tests-ifunc): New variable.
50995         (tests): Add $(tests-ifunc).
50996         * string/test-memccpy.c (TEST_NAME): New macro.
50997         * string/test-memchr.c (TEST_NAME): Likewise.
50998         * string/test-memcmp.c (TEST_NAME): Likewise.
50999         * string/test-memcpy.c (TEST_NAME): Likewise.
51000         * string/test-memmem.c (TEST_NAME): Likewise.
51001         * string/test-memmove.c (TEST_NAME): Likewise.
51002         * string/test-memset.c (TEST_NAME): Likewise.
51003         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51004         * string/test-stpcpy.c (TEST_NAME): Likewise.
51005         * string/test-stpncpy.c (TEST_NAME): Likewise.
51006         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51007         * string/test-strcasestr.c (TEST_NAME): Likewise.
51008         * string/test-strcat.c (TEST_NAME): Likewise.
51009         * string/test-strchr.c (TEST_NAME): Likewise.
51010         * string/test-strcmp.c(TEST_NAME): Likewise.
51011         * string/test-strcpy.c (TEST_NAME): Likewise.
51012         * string/test-strcspn.c (TEST_NAME): Likewise.
51013         * string/test-strlen.c (TEST_NAME): Likewise.
51014         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51015         * string/test-strncmp.c (TEST_NAME): Likewise.
51016         * string/test-strncpy.c (TEST_NAME): Likewise.
51017         * string/test-strnlen.c (TEST_NAME): Likewise.
51018         * string/test-strpbrk.c (TEST_NAME): Likewise.
51019         * string/test-strrchr.c (TEST_NAME): Likewise.
51020         * string/test-strspn.c (TEST_NAME): Likewise.
51021         * string/test-strstr.c (TEST_NAME): Likewise.
51022         * string/test-bcopy-ifunc.c: New file.
51023         * string/test-bzero-ifunc.c: Likewise.
51024         * string/test-memccpy-ifunc.c: Likewise.
51025         * string/test-memchr-ifunc.c: Likewise.
51026         * string/test-memcmp-ifunc.c: Likewise.
51027         * string/test-memcpy-ifunc.c: Likewise.
51028         * string/test-memmem-ifunc.c: Likewise.
51029         * string/test-memmove-ifunc.c: Likewise.
51030         * string/test-mempcpy-ifunc.c: Likewise.
51031         * string/test-memset-ifunc.c: Likewise.
51032         * string/test-rawmemchr-ifunc.c: Likewise.
51033         * string/test-stpcpy-ifunc.c: Likewise.
51034         * string/test-stpncpy-ifunc.c: Likewise.
51035         * string/test-strcasecmp-ifunc.c: Likewise.
51036         * string/test-strcasestr-ifunc.c: Likewise.
51037         * string/test-strcat-ifunc.c: Likewise.
51038         * string/test-strchr-ifunc.c: Likewise.
51039         * string/test-strchrnul-ifunc.c: Likewise.
51040         * string/test-strcmp-ifunc.c: Likewise.
51041         * string/test-strcpy-ifunc.c: Likewise.
51042         * string/test-strcspn-ifunc.c: Likewise.
51043         * string/test-strlen-ifunc.c: Likewise.
51044         * string/test-strncasecmp-ifunc.c: Likewise.
51045         * string/test-strncat-ifunc.c: Likewise.
51046         * string/test-strncmp-ifunc.c: Likewise.
51047         * string/test-strncpy-ifunc.c: Likewise.
51048         * string/test-strnlen-ifunc.c: Likewise.
51049         * string/test-strpbrk-ifunc.c: Likewise.
51050         * string/test-strrchr-ifunc.c: Likewise.
51051         * string/test-strspn-ifunc.c: Likewise.
51052         * string/test-strstr-ifunc.c: Likewise.
51054         * debug/Makefile (tests-ifunc): New variable.
51055         (tests): Add $(tests-ifunc).
51056         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51057         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51058         * debug/test-stpcpy_chk-ifunc.c: New file.
51059         * debug/test-strcpy_chk-ifunc.c: Likewise.
51061 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51063         [BZ #13601]
51064         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51065         header is not read in.
51067 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51069         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51070         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51071         directly.  Pass built executable to script as
51072         $(built-program-cmd).
51073         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51074         $testprogram without using LD_LIBRARY_PATH and $ldso.
51076         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51077         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51078         $(rtld-installed-name).
51079         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51080         (rtld_installed_name): Likewise.
51081         (library_path): Likewise.
51082         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51083         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51084         $(run-program-prefix) to tst-tables.sh.
51085         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51086         it to run tst-table-from and tst-table-to.
51087         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51088         Pass it to tst-table.sh.
51089         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51090         $(run-program-prefix) to tst-gettext.sh.
51091         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51092         tst-translit.sh.
51093         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51094         tst-gettext2.sh.
51095         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51096         to run tst-gettext.
51097         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51098         to run tst-gettext2.
51099         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51100         to run tst-translit.
51101         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51102         $(run-program-prefix) to tst-mtrace.sh.
51103         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51104         to run tst-mtrace.
51105         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51106         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51107         $(rtld-installed-name).
51108         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51109         (rtld_installed_name): Likewise.
51110         (run_program_prefix): New variable.  Use it to run wordexp-test.
51112         * Makeconfig (ARCH): Remove all definitions.
51113         (machine): Likewise.
51114         [ARCH]: Remove conditional code.
51115         [!objdir]: Give error.
51116         [!objdir] (objpfx): Remove.
51117         [!objdir] (common-objpfx): Likewise.
51118         [!objdir] (common-objdir): Likewise.
51119         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51120         AC_CONFIG_FILES call.
51121         * configure: Regenerated.
51123         [BZ #13888]
51124         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51125         or TMPDIR.
51126         (testout): Likewise.
51128         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51129         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51130         $(rtld-installed-name).
51131         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51132         (rtld_installed_name): Likwise.
51133         (runit): Remove function.
51134         (run_getconf): New variable,  Use it for running getconf binary.
51136 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51138         [BZ #14716]
51139         * string/test-memmem.c (check_result): New function.
51140         (do_one_test): Use it.
51141         (check1): New function.
51142         (test_main): Use it.
51144 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51146         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51148 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51150         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51151         (_G_LSEEK64): Likewise.
51152         (_G_MMAP64): Likewise.
51153         (_G_FSTAT64): Likewise.
51154         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51155         (_G_LSEEK64): Likewise.
51156         (_G_MMAP64): Likewise.
51157         (_G_FSTAT64): Likewise.
51158         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51159         unconditional.  Call __mmap64 directly.
51160         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51161         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51162         __lseek64 directly.
51163         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51164         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51165         __mmap64 directly.
51166         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51167         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51168         __lseek64 directly.
51169         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51170         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51171         __lseek64 directly.
51172         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51173         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51174         __lseek64 directly.
51175         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51176         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51177         __fxstat64 directly.
51178         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51179         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51180         unconditional.
51181         (freopen64) [!_G_OPEN64]: Remove conditional code.
51182         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51183         unconditional.
51184         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51185         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51186         unconditional.
51187         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51188         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51189         unconditional.
51190         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51191         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51192         unconditional.
51193         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51194         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51195         unconditional.
51196         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51197         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51198         unconditional.
51199         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51200         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51201         unconditional.
51202         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51204 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51206         [BZ #12140]
51207         * manual/memory.texi (Malloc Tunable Parameters): Add note
51208         about free list pointers overwriting some perturb bytes.
51209         Wording suggested by Roland McGrath.
51211 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51213         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51214         (lgamma_test): Likewise.
51215         (tgamma_test): Likewise.
51217 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51219         [BZ #14700]
51220         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51221         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51223 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51225         * NEWS: Mention BZ #14716.
51226         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51227         when removing AVAILABLE1_USES_J macro.
51229 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51231         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51232         (__bswap_64): __uint64_t for unsigned 64-bit int.
51234 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51236         * include/string.h (memmem): Declare libc hidden alias.
51237         * string/memmem.c (memmem): Define libc hidden alias.
51238         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51239         __read, __close instead of open, read, close.
51241 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51244         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51245         global and hidden.
51246         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51247         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51248         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51249         Likewise.
51250         (__rawmemchr_sse2): Likewise.
51251         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51252         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51253         (__strchr_sse2): Likewise.
51254         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51255         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51256         (__strcasecmp_sse2): Likewise.
51257         (__strncasecmp_sse2): Likewise.
51258         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51259         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51260         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51261         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51262         (__strrchr_sse2): Likewise.
51263         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51264         ifunc-impl-list.c.
51265         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51266         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51267         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51268         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51269         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51270         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51271         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51272         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51273         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51274         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51275         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51276         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51277         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51278         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51279         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51280         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51281         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51282         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51283         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51284         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51285         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51286         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51287         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51288         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51289         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51290         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51291         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51292         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51293         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51294         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51296         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51297         global and hidden.
51298         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51299         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51300         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51301         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51302         Likewise.
51303         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51304         Likewise.
51305         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51306         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51307         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51308         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51309         ifunc-impl-list.c.
51310         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51311         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51312         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51313         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51314         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51315         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51316         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51317         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51318         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51319         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51320         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51321         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51322         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51323         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51324         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51325         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51326         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51327         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51328         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51329         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51330         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51331         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51332         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51333         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51334         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51335         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51336         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51337         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51338         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51339         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51340         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51341         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51342         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51343         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51344         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51345         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51346         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51347         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51348         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51349         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51350         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51352         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51353         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51354         * include/ifunc-impl-list.h: New file.
51355         * misc/ifunc-impl-list.c: Likewise.
51356         * misc/Makefile (routines): Add ifunc-impl-list.
51357         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51358         * string/test-string.h: Include <ifunc-impl-list.h>.
51359         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51360         TEST_NAME]: New variables.
51361         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51362         are defined.
51363         (test_init): Call __libc_ifunc_impl_list to initialize
51364         func_list if TEST_IFUNC and TEST_NAME are defined.
51366         * string/Makefile (strop-tests): Add bcopy and bzero.
51367         * string/test-bcopy.c: New file.
51368         * string/test-bzero.c: Likewise.
51369         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51370         defined.
51371         * string/test-memset.c: Support bzero test if TEST_BZERO is
51372         defined.
51373         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51374         __libc_memmove.
51375         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51376         __libc_memset.
51377         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51378         of memset.
51380 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51382         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51383         * configure: Regenerated.
51385         * Makeconfig (+link-static-before-libc): Don't include
51386         $(link-static-libc).
51388         * libio/libio.h (_IO_pos_t): Remove.
51390 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51392         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51393         McGrath.
51395 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51397         * crypt/crypt-entry.c: Include fips-private.h.
51398         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51399         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51400         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51401         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51403 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51405         * crypt/crypt-private.h: Include stdbool.h.
51406         (_ufc_setup_salt_r): Return bool.
51407         * crypt/crypt-entry.c: Include errno.h.
51408         (__crypt_r): Return NULL with EINVAL for bad salt.
51409         * crypt/crypt_util.c (bad_for_salt): New.
51410         (_ufc_setup_salt_r): Check that salt is long enough and within
51411         the specified alphabet.
51412         * crypt/badsalttest.c: New file.
51413         * crypt/Makefile (tests): Add it.
51414         ($(objpfx)badsalttest): New.
51416 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51418         * NEWS: Add entry for BZ #14602.
51420 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51422         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51423         type-generic.
51424         * math/libm-test.inc: Update comment listing what functions and
51425         macros are tested.
51426         (isgreater_test): New function.
51427         (isgreaterequal_test): Likewise.
51428         (isless_test): Likewise.
51429         (islessequal_test): Likewise.
51430         (islessgreater_test): Likewise.
51431         (isunordered_test): Likewise.
51432         (main): Call the new functions.
51434 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51436         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51437         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51438         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51439         * sysdeps/i386/configure: Regenerated.
51440         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51441         * sysdeps/mach/configure: Regenerated.
51442         * sysdeps/mach/hurd/configure: Regenerated.
51443         * sysdeps/powerpc/configure: Regenerated.
51444         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51445         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51446         * sysdeps/s390/s390-32/configure: Regenerated.
51447         * sysdeps/s390/s390-64/configure: Regenerated.
51448         * sysdeps/sh/configure: Regenerated.
51449         * sysdeps/sparc/configure: Regenerated.
51450         * sysdeps/unix/sysv/linux/configure: Regenerated.
51451         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51452         * sysdeps/x86_64/configure: Regenerated.
51454         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51455         defined.  Don't check if MAP is NULL.
51457 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51459         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51460         (_G_stat64): Likewise.
51461         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51462         (_G_stat64): Likewise.
51463         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51464         instead of struct _G_stat64.
51465         * libio/fileops.c (mmap_remap_check): Likewise.
51466         (decide_maybe_mmap): Likewise.
51467         (_IO_new_file_seekoff): Likewise.
51468         (_IO_file_stat): Likewise.
51469         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51470         _G_off64_t.
51471         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51472         instead of struct _G_stat64.
51473         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51475 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51477         [BZ #14602]
51478         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51479         Replace with ...
51480         (CHECK_EOL): New macro.
51481         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51482         CHECK_EOL.
51483         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51484         Replace with CHECK_EOL.
51485         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51486         Replace with CHECK_EOL.
51488 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51490         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51491         type-generic.
51492         * math/libm-test.inc: Update comment listing what functions and
51493         macros are tested.
51494         (finite_test): New function.
51495         (isinf_test): Likewise.
51496         (isnan_test): Likewise.
51497         (fpclassify_test): Test subnormal input.
51498         (isfinite_test): Likewise.
51499         (isnormal_test): Likewise.
51500         (main): Call the new functions.
51502 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51504         [BZ #14660]
51505         * Makerules (%.dynsym): Force C locale when running
51506         $(OBJDUMP) --dynamic-syms.
51508 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51510         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51511         <stdint.h>.
51513 2012-10-06  David S. Miller  <davem@davemloft.net>
51515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51516         upper 32-bits of the length value in %o2 since we use branch-on-register
51517         tests which consider the entire 64-bit register.
51519 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51521         * string/test-strstr.c (check2): Add a test for page boundary.
51523 2012-10-05  David S. Miller  <davem@davemloft.net>
51525         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51526         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51527         file.
51528         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51529         sysdep_routines.
51530         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51531         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51532         and bzero when HWCAP_SPARC_CRYPTO is present.
51534 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51536         [BZ #14602]
51537         * string/test-strstr.c (check2): New function.
51538         (test_main): Call check2.
51540         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51541         and bug-strchr1.
51542         * string/bug-strcasestr1.c (do_test): Moved to ...
51543         * string/test-strcasestr.c (check1): Here.  New function.
51544         (do_one_test): Break out result checking code into ...
51545         (check_result): This.  New function.
51546         (do_one_test): Call check_result.
51547         (test_main): Call check1.
51548         * string/bug-strchr1.c (do_test): Moved to ...
51549         * string/test-strchr.c (check1): Here.  New function.
51550         (do_one_test): Break out result checking code into ...
51551         (check_result): This.  New function.
51552         (do_one_test): Call check_result.
51553         (test_main): Call check1.
51554         * string/bug-strstr1.c (main): Moved to ...
51555         * string/test-strstr.c (check1): Here.  New function.
51556         (do_one_test): Break out result checking code into ...
51557         (check_result): This.  New function.
51558         (do_one_test): Call check_result.
51559         (test_main): Call check1.
51560         * string/bug-strcasestr1.c: Removed.
51561         * string/bug-strchr1.c: Likewise.
51562         * string/bug-strstr1.c: Likewise.
51564         * elf/Makefile (dl-routines): Add hwcaps.
51565         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51566         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51567         (_dl_important_hwcaps): Moved to ...
51568         * elf/dl-hwcaps.c: Here.  New file.
51569         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51571         [BZ #14557]
51572         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51573         if IS_IN_rtld isn't defined.
51575         * elf/dl-support.c (_dl_sysinfo_map): New.
51576         Include "get-dynamic-info.h" and "setup-vdso.h".
51577         (_dl_non_dynamic_init): Call setup_vdso.
51578         * elf/dynamic-link.h: Don't include <assert.h>.
51579         (elf_get_dynamic_info): Moved to ...
51580         * elf/get-dynamic-info.h: Here.  New file.
51581         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51582         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51583         * elf/setup-vdso.h: Here.  New file.
51584         * elf/rtld.c: Include "setup-vdso.h".
51585         (dl_main): Call setup_vdso.
51587 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51589         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51590         creal in comment listing functions tested.  List finite, isinf,
51591         isnan, isless, islessequal, isgreater, isgreaterequal,
51592         islessgreater, isunordered, lgamma_r and pow10 as functions and
51593         macros not tested.  Mention which functions not tested are aliases
51594         for other functions.  Fix typo.  Note that signs of NaNs are not
51595         tested.
51597         * scripts/config.guess: Update from config.git.
51598         * scripts/config.sub: Likewise.
51600 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51602         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51603         * misc/madvise.c (madvise): Renamed to __madvise.
51604         Make madvise a weak alias.
51605         * include/sys/mman.h: Declare __madvise.
51606         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51607         * sysdeps/unix/syscalls.list
51608         (madvise): Make __madvise the strong name, and madvise a weak alias.
51609         * sysdeps/unix/sysv/linux/syscalls.list
51610         (madvise, mmap): Remove redundant entries.
51611         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51612         * malloc/malloc.c (mtrim): Likewise.
51613         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51615 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51617         * sysdeps/mach/hurd/dl-cache.c: File removed.
51618         * config.h.in (USE_LDCONFIG): New #undef.
51619         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51620         * configure: Regenerated.
51621         * elf/Makefile (dl-routines): Add dl-cache only under
51622         [$(use-ldconfig) = yes].
51623         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51624         cache on [USE_LDCONFIG].
51625         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51626         [USE_LDCONFIG].
51627         * elf/rtld.c (dl_main): Likewise.
51629 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51631         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51632         _SC_LEVEL4_CACHE_LINESIZE.
51634 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51636         * sysdeps/unix/bsd/confstr.h: File removed.
51638 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51640         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51641         sys/sdt-config.h.
51643 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51645         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51646         Make 'mapoff' field ElfW(Off) rather than off_t.
51648 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51650         * nscd/Makefile: Remove nscd-cflags and all its users.
51651         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51652         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51654         [BZ #10631]
51655         * malloc.c (malloc_printerr): Clarify error message.
51657 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51659         [BZ #14648]
51660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51661         Set bit_FMA_Usable if FMA is supported.
51662         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51663         macro.
51664         (bit_FMA4_Usable): Updated.
51665         (index_FMA_Usable): New macro.
51666         (CPUID_FMA): Likewise
51667         (HAS_FMA): Defined with bit_FMA_Usable.
51669 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51671         * bits/types.h (__swblk_t): Type removed.
51672         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51673         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51674         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51675         (__SWBLK_T_TYPE): Likewise.
51676         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51677         (__SWBLK_T_TYPE): Likewise.
51678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51679         (__SWBLK_T_TYPE): Likewise.
51680         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51681         (__SWBLK_T_TYPE): Likewise.
51683 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51684             Honza Horak <hhorak@redhat.com>
51686         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51687         (xdr_mapname): Use YPMAXMAP as maxsize.
51688         (xdr_peername): Use YPMAXPEER as maxsize.
51689         (xdr_keydat): Use YPAXRECORD as maxsize.
51690         (xdr_valdat): Use YPMAXRECORD as maxsize.
51692 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51694         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51696         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51697         * csu/init-first.c: ... here.
51698         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51699         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51700         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51701         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51702         * sysdeps/i386/init-first.c: File removed.
51703         * sysdeps/sh/init-first.c: File removed.
51705 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51707         [BZ #14645]
51708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51709         if x * y might underflow to zero and z is zero.
51710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51712         * math/libm-test.inc (min_subnorm_value): New variable.
51713         (fma_test): Add more tests.
51714         (fma_test_towardzero): Likewise.
51715         (fma_test_downward): Likewise
51716         (fma_test_upward): Likewise.
51717         (initialize): Set min_subnorm_value.
51719 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51721         [BZ #14638]
51722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51723         0 + 0.
51724         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51725         mode for addition resulting in exact zero.
51726         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51728         exact 0 + 0.
51729         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51731         * math/libm-test.inc (fma_test): Add more tests.
51732         (fma_test_towardzero): New function.
51733         (fma_test_downward): Likewise.
51734         (fma_test_upward): Likewise.
51735         (main): Call the new functions.
51737 2012-09-28  David S. Miller  <davem@davemloft.net>
51739         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51741 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51743         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51744         instead of SIGALRM.
51746         * sysdeps/gnu/_G_config.h: Moved to ...
51747         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51748         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51749         * sysdeps/generic/_G_config.h: ... here.
51751         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51753         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51755         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51756         Conditionalize target on [libnss_test1.so-version].
51758         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51760         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51761         (elfobjdir): Move out of conditionals.
51763         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51764         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51765         (__nss_lookup_function): Conditionalize label remove_from_tree on
51766         [!DO_STATIC_NSS || SHARED], matching its only use.
51768 2012-09-28  David S. Miller  <davem@davemloft.net>
51770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51771         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51772         file.
51773         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51774         sysdep_routines.
51775         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51776         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51777         when HWCAP_SPARC_CRYPTO is present.
51779 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51781         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51783 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51785         [BZ #6530]
51786         * stdio-common/vfprintf.c (process_string_arg): Revert
51787         2000-07-22 change.
51789 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51791         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51792         for testcase.
51793         * stdio-common/tst-sprintf.c: Include <locale.h>
51794         (main): Test sprintf's handling of incomplete multibyte
51795         characters.
51797 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51799         * elf/dl-runtime.c (VERSYMIDX): Removed.
51800         * elf/dl-version.c (VERSYMIDX): Likewise.
51801         * elf/do-rel.h (VERSYMIDX): Likewise.
51802         (VALIDX): Likewise.
51803         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51804         * elf/rtld.c (VALIDX): Likewise.
51805         (ADDRIDX): Likewise.
51806         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51807         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51808         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51809         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51810         (VALIDX): Likewise.
51811         (ADDRIDX): Likewise.
51813 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51815         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51817 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51819         [BZ #11438]
51820         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51821         to global scope.
51822         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51823         addresses are in the same scope as 192.0.2/24.
51824         * posix/gai.conf: Document new scope table defaults.
51826 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51828         [BZ #5298]
51829         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51830         for ftell.  Compute offsets from write pointers instead.
51831         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51833 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51835         [BZ #14543]
51836         * libio/Makefile (tests): New test case tst-fseek.
51837         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51838         combination works in wide mode.
51839         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51840         state when the external buffer state changes.
51842 2012-09-27  David S. Miller  <davem@davemloft.net>
51844         [BZ #14376]
51845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51846         pass reloc->r_addend in as the 'high' argument to
51847         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51851 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51853         * rt/tst-aio2.c: Include <pthread.h>.
51854         * rt/tst-aio3.c: Likewise.
51856 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51858         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51860 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51862         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51863         contents on [SHARED].
51865 2012-09-26  Marek Polacek  <polacek@redhat.com>
51867         [BZ #14530]
51868         [BZ #13741]
51869         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51870         for C++ and GCC <4.3 as well as for non GCC compilers.
51872 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51876 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51878         * Makefile.in (all, install): Declare with .PHONY.
51879         Reported by Michael Hope <michael.hope@linaro.org>.
51881 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51883         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51884         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51885         system header.
51886         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51887         Likewise.
51888         (sydep_routines): Add the new and the internal functions.
51889         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51890         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51892         (GLIBC_2.17): Add the new function.
51893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51894         (GLIBC_2.17): Likewise.
51895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51896         (GLIBC_2.17): Likewise.
51897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51898         (GLIBC_2.17): Likewise.
51899         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51901 2012-09-25  Alan Modra  <amodra@gmail.com>
51903         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51904         Add release barrier before setting once_control to say
51905         initialisation is done.  Add hints on lwarx.  Use macro in
51906         place of isync.
51907         (clear_once_control): Add release barrier.
51909 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51911         [BZ #13629]
51912         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51913         specially.
51914         * math/s_clog10.c (__clog10): Likewise.
51915         * math/s_clog10f.c (__clog10f): Likewise.
51916         * math/s_clog10l.c (__clog10l): Likewise.
51917         * math/s_clogf.c (__clogf): Likewise.
51918         * math/s_clogl.c (__clogl): Likewise.
51919         * math/Makefile (libm-calls): Add x2y2m1.
51920         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51921         (__x2y2m1): Likewise.
51922         (__x2y2m1l): Likewise.
51923         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51924         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51925         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51926         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51927         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51928         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51929         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51930         * sysdeps/i386/fpu/libm-test-ulps: Update.
51931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51933         [BZ #14621]
51934         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51935         int as type of variable DEPTH.
51936         (glob): Use size_t instead of int as type of variables NEWCOUNT
51937         and OLD_PATHC.
51939 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51941         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51942         Add s_sincosf-sse2.
51943         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51944         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51945         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51946         macros for using routine as __sincosf_ia32.
51947         Use macro for function declaration and weak_alias.
51948         * sysdeps/i386/fpu/libm-test-ulps: Update.
51950         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51953         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51954         subnormal argument.
51955         * math/s_cexpf.c (__cexpf): Likewise.
51956         * math/s_csinf.c (__csinf): Likewise.
51957         * math/s_csinhf.c (__csinhf): Likewise.
51958         * math/s_ctanf.c (__ctanf): Likewise.
51959         * math/s_ctanhf.c (__ctanhf): Likewise.
51960         * math/s_ccosh.c (__ccoshf): Likewise.
51961         * math/s_cexp.c (__cexpl): Likewise.
51962         * math/s_csin.c (__csin): Likewise.
51963         * math/s_csinh.c (__csinh): Likewise.
51964         * math/s_ctan.c (__ctan): Likewise.
51965         * math/s_ctanh.c (ctanh): Likewise.
51966         * math/s_ccoshl.c (__ccoshl): Likewise.
51967         * math/s_cexpl.c (__cexpl): Likewise.
51968         * math/s_csinl.c (__csinl): Likewise.
51969         * math/s_csinhl.c (__csinhl): Likewise.
51970         * math/s_ctanl.c (__ctanl): Likewise.
51971         * math/s_ctanhl.c (__ctanhl): Likewise.
51973 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51975         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51976         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51977         (_IO_off_t): Define to __off_t, not _G_off_t.
51978         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51979         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51980         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51981         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51982         type of __dummy and __dummy2 fields.
51983         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51984         (_G_ssize_t): Likewise.
51985         (_G_off_t): Likewise.
51986         (_G_pid_t): Likewise.
51987         (_G_uid_t): Likewise.
51988         (_G_wchar_t): Likewise.
51989         (_G_wint_t): Likewise.
51990         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51991         (_G_ssize_t): Likewise.
51992         (_G_off_t): Likewise.
51993         (_G_pid_t): Likewise.
51994         (_G_uid_t): Likewise.
51995         (_G_wchar_t): Likewise.
51996         (_G_wint_t): Likewise.
51997         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51998         (_G_ssize_t): Likewise.
51999         (_G_off_t): Likewise.
52000         (_G_pid_t): Likewise.
52001         (_G_uid_t): Likewise.
52002         (_G_wchar_t): Likewise.
52003         (_G_wint_t): Likewise.
52005 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52007         * malloc/arena.c: Include malloc-sysdep.h.
52008         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52009         is sufficient to shrink the heap or an unmap is needed.
52010         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52011         new function check_may_shrink_heap.
52012         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52013         new function check_may_shrink_heap.
52015 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52017         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52018         comments.
52020 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52022         * catgets/test-gencat.sh: Add "set -e".
52023         * elf/tst-pathopt.sh: Likewise.
52024         * grp/tst_fgetgrent.sh: Likewise.
52025         * iconvdata/run-iconv-test.sh: Likewise.
52026         * intl/tst-gettext.sh: Likewise.
52027         * intl/tst-gettext2.sh: Likewise.
52028         * intl/tst-gettext4.sh: Likewise.
52029         * intl/tst-gettext6.sh: Likewise.
52030         * intl/tst-translit.sh: Likewise.
52031         * io/ftwtest-sh: Likewise.
52032         * libio/test-freopen.sh: Likewise.
52033         * malloc/tst-mtrace.sh: Likewise.
52034         * posix/globtest.sh: Likewise.
52035         * posix/tst-getconf.sh: Likewise.
52036         * posix/wordexp-tst.sh: Likewise.
52037         * stdio-common/tst-printf.sh: Likewise.
52038         * stdio-common/tst-unbputc.sh: Likewise.
52039         * stdlib/tst-fmtmsg.sh: Likewise.
52040         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52041         * catgets/Makefile: Do not specify -e option when running
52042         testsuite shell scripts.
52043         * elf/Makefile: Likewise.
52044         * grp/Makefile: Likewise.
52045         * iconvdata/Makefile: Likewise.
52046         * intl/Makefile: Likewise.
52047         * io/Makefile: Likewise.
52048         * libio/Makefile: Likewise.
52049         * malloc/Makefile: Likewise.
52050         * posix/Makefile: Likewise.
52051         * stdio-common/Makefile: Likewise.
52052         * stdlib/Makefile: Likewise.
52053         * sysdeps/x86_64/Makefile: Likewise.
52055         * io/ftwtest-sh: Add copyright header.
52056         * posix/globtest.sh: Likewise.
52057         * posix/tst-getconf.sh: Likewise.
52058         * posix/wordexp-tst.sh: Likewise.
52059         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52061 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52063         [BZ #13679]
52064         * Makeconfig (+link): Defined as $(+link-static) if
52065         $(build-shared) isn't yes.
52066         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52067         isn't yes.
52068         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52070         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52072         [BZ #14562]
52073         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52074         new chunk size with MALLOC_ALIGN_MASK.
52076 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52078         [BZ #5044]
52079         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52080         <rounding-mode.h>.
52081         (__printf_fphex): Determine rounding using get_rounding_mode and
52082         round_away.
52083         * stdio-common/tst-printf-round.c (struct hex_test): New
52084         structure.
52085         (hex_tests): New variable.
52086         (test_hex_in_one_mode): New function.
52087         (do_test): Also run tests for hex float output.
52089 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52091         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52092         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52093         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52094         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52095         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52096         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52097         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52098         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52100 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52102         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52103         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52104         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52105         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52107 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52109         [BZ #14579]
52110         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52111         mode only.
52112         * elf/tst-rtld-load-self.sh: New test.
52113         * elf/Makefile: Run it.
52115 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52117         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52118         (tst-writev-ENV): Remove.
52119         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52121 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52123         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52125 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52127         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52128         unconditional.
52129         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52130         Likewise.
52131         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52132         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52133         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52134         Likewise.
52136 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52138         [BZ #14587]
52139         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52140         * config.make.in (have-cpp-asm-debuginfo): Removed.
52141         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52142         * configure: Regenerated.
52144 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52146         [BZ #5044]
52147         * stdio-common/printf_fp.c: Include <stdbool.h> and
52148         <rounding-mode.h>.
52149         (___printf_fp): Determine rounding using get_rounding_mode and
52150         round_away.
52151         * stdio-common/tst-printf-round.c: New file.
52152         * stdio-common/Makefile (tests): Add tst-printf-round.
52153         (link-libm): New variable.
52154         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52156 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52158         [BZ #14576]
52159         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52160         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52161         Likewise.
52162         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52163         Likewise.
52165 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52167         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52168         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52169         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52172 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52174         [BZ #14518]
52175         * include/rounding-mode.h: New file.
52176         * sysdeps/generic/get-rounding-mode.h: Likewise.
52177         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52178         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52179         (MAX_VALUE): New macro.
52180         (MIN_VALUE): Likewise.
52181         (overflow_value): New function.
52182         (underflow_value): Likewise.
52183         (round_and_return): Use overflow_value and underflow_value to
52184         determine return values in overflow and underflow cases.  Use
52185         round_away to determine rounding depending on rounding mode.
52186         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52187         determine return values in overflow and underflow cases.
52188         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52189         (struct test_results): New structure.
52190         (struct test): Use struct test_results to store expected results
52191         for all rounding modes.
52192         (TEST): Include expected results for all rounding modes.
52193         (test_in_one_mode): New function.
52194         (do_test): Use test_in_one_mode to compute and check results.
52195         Check results for all rounding modes.
52196         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52197         $(link-libm).
52199 2012-12-09  Allan McRae  <allan@archlinux.org>
52201         * sysdeps/i386/fpu/libm-test-ulps: Update
52203 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52205         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52206         (_G_int32_t): Likewise.
52207         (_G_uint16_t): Likewise.
52208         (_G_uint32_t): Likewise.
52209         (_G_HAVE_BOOL): Likewise.
52210         (_G_HAVE_ATEXIT): Likewise.
52211         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52212         (_G_HAVE_IO_FILE_OPEN): Likewise.
52213         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52214         (_G_int32_t): Likewise.
52215         (_G_uint16_t): Likewise.
52216         (_G_uint32_t): Likewise.
52217         (_G_HAVE_BOOL): Likewise.
52218         (_G_HAVE_ATEXIT): Likewise.
52219         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52220         (_G_HAVE_IO_FILE_OPEN): Likewise.
52221         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52222         (_G_int32_t): Likewise.
52223         (_G_uint16_t): Likewise.
52224         (_G_uint32_t): Likewise.
52225         (_G_HAVE_BOOL): Likewise.
52226         (_G_HAVE_ATEXIT): Likewise.
52227         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52228         (_G_HAVE_IO_FILE_OPEN): Likewise.
52230 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52232         * csu/libc-tls.c: Update copyright years.
52234 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52236         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52237         [!_G_USING_THUNKS]: Remove conditional code.
52238         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52239         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52241         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52242         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52243         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52244         (_G_VTABLE_LABEL_PREFIX): Likewise.
52245         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52246         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52247         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52248         (_G_VTABLE_LABEL_PREFIX): Likewise.
52249         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52250         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52251         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52252         (_G_VTABLE_LABEL_PREFIX): Likewise.
52253         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52255 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52257         * libio/Makefile: Include ../Makeconfig before tests.
52258         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52259         only if $(build-shared) is yes.
52261         * iconv/gconv_db.c: Update copyright years.
52263 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52265         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52266         unwind info if defined PIC. Fix special cases description.
52267         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52269         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52270         DP_HI_MASK entry.
52271         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52273 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52275         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52277         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52278         is NULL.
52280         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52281         (LDLIBS-tst-chk4): This.
52282         (LDFLAGS-tst-chk5): Renamed to ...
52283         (LDLIBS-tst-chk5): This.
52284         (LDFLAGS-tst-chk6): Renamed to ...
52285         (LDLIBS-tst-chk6): This.
52286         (LDFLAGS-tst-lfschk4): Renamed to ...
52287         (LDLIBS-tst-lfschk4): This.
52288         (LDFLAGS-tst-lfschk5): Renamed to ...
52289         (LDLIBS-tst-lfschk5): This.
52290         (LDFLAGS-tst-lfschk6): Renamed to ...
52291         (LDLIBS-tst-lfschk6): This.
52293         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52294         on $(common-objpfx)soversions.mk.
52296 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52298         [BZ #10014]
52299         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52300         example host name.
52302 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52304         * malloc/arena.c (arena_get_retry): New function that gets
52305         another arena for the caller to try its request on.
52306         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52307         current arena cannot fulfill the request.
52308         (__libc_memalign): Likewise.
52309         (__libc_memalign): Likewise.
52310         (__libc_pvalloc): Likewise.
52311         (__libc_calloc): Likewise.
52313 2012-09-05  John Tobey  <john.tobey@gmail.com>
52315         [BZ #13542]
52316         * manual/arith.texi (Operations on Complex): Fix description
52317         of carg branch cut.
52319 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52321         [BZ #10014]
52322         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52323         host name.
52325         [BZ #10038]
52326         * manual/memory.texi (Memory): Make order of menu items match
52327         order of sections.
52329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52331         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52332         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52333         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52335 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52337         * csu/libc-tls.c (static_dtv): Renamed to ...
52338         (_dl_static_dtv): This.  Make it global.
52339         (_dl_initial_dtv): Removed.
52340         (__libc_setup_tls): Updated.
52341         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52342         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52343         DL_INITIAL_DTV.
52345 2012-09-06  Petr Machata  <pmachata@redhat.com>
52347         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52348         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52349         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52350         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52354         [BZ #14545]
52355         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52356         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52357         freeing dtv[-1].
52359 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52361         [BZ #14544]
52362         * Makeconfig (link-static-before-libc): Replace $(+prector)
52363         with $(+prectorT).
52364         (link-static-after-libc): Replace $(+postctor) with
52365         $(+postctorT).
52366         (link-bounded): Replace $(+prector)/$(+postctor) with
52367         $(+prectorT)/$(+postctorT).
52368         (+prectorT): New macro.
52369         (+postctorT): Likewise.
52371 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52373         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52374         (round_str): Handle values above the maximum for IBM long double
52375         as inexact.
52376         * stdlib/tst-strtod-round.c (tests): Regenerated.
52378 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52380         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52381         assembler flag.
52382         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52383         zarch_nohighgprs around the zarch optimized routines.
52384         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52385         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52386         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52387         for zarch.
52389 2012-09-05  David S. Miller  <davem@davemloft.net>
52391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52393         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52394         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52395         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52396         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52397         entries.
52399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52401         * malloc/arena.c: Fold copyright years.
52402         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52404 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52406         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52408 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52410         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52412 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52414         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52415         change internal state upon failure.
52417 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52419         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52420         * malloc/memusage.c (mmap): Likewise.
52421         (mmap64, mremap): Likewise.  Adjust name in comment.
52423 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52425         * libio/fileops.c: Fix typos in comments.
52426         * libio/oldfileops.c: Likewise.
52427         * libio/wfileops.c: Likewise.
52429 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52431         [BZ #1349]
52432         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52433         (tst-malloc-usable-ENV): Set environment for test case.
52434         * malloc/hooks.c (malloc_check_get_size): New function to get
52435         requested size.
52436         * malloc/malloc.c (musable): Use malloc_check_get_size.
52437         * malloc/tst-malloc-usable.c: New test case.
52439 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52441         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52443 2012-09-05  Allan McRae  <allan@archlinux.org>
52445         [BZ #13966]
52446         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52447         determine header location.
52448         * configure: Regenerated.
52450 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52452         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52453         float format.
52454         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52455         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52456         format.
52457         (test): Regenerate.
52459 2012-09-04  David S. Miller  <davem@davemloft.net>
52461         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52462         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52463         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52465 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52467         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52468         failures.
52470         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52472 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52474         [BZ #9914]
52475         * libio/iogetdelim.c: Include <limits.h>.
52476         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52477         + len + 1 would overflow.
52479 2012-09-03  Andreas Jaeger  <aj@suse.de>
52481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52482         * sysdeps/i386/fpu/libm-test-ulps: Update.
52484 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52486         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52487         Add s_sinf-sse2, s_conf-sse2.
52489         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52490         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52491         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52492         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52494         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52495         for using routine as __sinf_ia32.
52496         Use macro for function declaration and weak_alias.
52497         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52498         for using routine as __cosf_ia32.
52499         Use macro for function declaration and weak_alias.
52501         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52502         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52504         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52505         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52508         * math/libm-test.inc (cos_test): Add more test cases.
52509         (sin_test): Likewise.
52510         (sincos_test): Likewise.
52512 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52515         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52516         hidden.
52517         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52519 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52521         [BZ #14538]
52522         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52523         first element of the GOT.
52524         (elf_machine_load_address): Return the difference between
52525         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52527 2012-09-01  Allan McRae  <allan@archlinux.org>
52529         [BZ #13412]
52530         * configure.in (AWK): Require gawk version 3.0 or later.
52531         * configure: Regenerated.
52533 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52535         * sysdeps/unix/sysv/linux/kernel-features.h
52536         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52537         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52538         [__NR_clock_getres]: Make code unconditional.
52539         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52540         (clock_getcpuclockid): Remove code left unreachable by removal of
52541         conditionals.
52542         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52543         code unconditional.
52544         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52545         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52546         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52547         Make code unconditional.
52548         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52549         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52550         * sysdeps/unix/sysv/linux/clock_settime.c
52551         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52552         conditional code.
52553         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52554         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52556 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52558         [BZ #14476]
52559         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52560         scripts/test-installation.pl.
52562         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52563         and $ld_so_version if it is set.
52565 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52567         [BZ #14516]
52568         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52569         failure if reading from procfs failed.
52570         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52572 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52574         * sysdeps/unix/sysv/linux/kernel-features.h
52575         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52576         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52577         Remove conditional code.
52578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52579         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52580         Remove conditional code.
52581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52582         * sysdeps/unix/sysv/linux/i386/fxstat.c
52583         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52585         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52586         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52588         * sysdeps/unix/sysv/linux/i386/lxstat.c
52589         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52591         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52592         Remove conditional code.
52593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52594         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52595         Remove conditional code.
52596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52597         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52598         <kernel-features.h>.
52599         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52600         Remove.
52601         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52602         Remove conditional code.
52603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52604         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52605         Remove conditional.
52607 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52609         [BZ #5400]
52610         * NEWS: Add fixed bug number.
52612 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52614         [BZ #14519]
52615         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52616         underflowing exponent in case of negative sign.
52617         * stdlib/tst-strtod-round-data: Add more tests.
52618         * stdlib/tst-strtod-round.c (tests): Regenerated.
52620         [BZ #3479]
52621         * stdlib/strtod_l.c (NDIG): Remove.
52622         (HEXNDIG): Likewise.
52623         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52624         smallest representable value.
52625         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52626         lie within an exact representation of 1/2 ulp of the result.
52627         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52628         unconditionally.
52629         (TENS_P9_IDX): Define unconditionally.
52630         (TENS_P9_SIZE): Likewise.
52631         (TENS_P10_IDX): Likewise.
52632         (TENS_P10_SIZE): Likewise.
52633         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52634         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52635         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52636         entries for 10^2^13 and 10^2^14.
52637         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52638         (TENS_P13_IDX): Define.
52639         (TENS_P13_SIZE): Likewise.
52640         (TENS_P14_IDX): Likewise.
52641         (TENS_P14_SIZE): Likewise.
52642         (_fpioconst_pow10): Change array size to
52643         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52644         unconditional.
52645         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52646         1024]: Add entries for 10^2^13 and 10^2^14.
52647         [LAST_POW10 > _LAST_POW10]: Remove #error.
52648         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52649         (_fpioconst_pow10): Change array size to
52650         FPIOCONST_POW10_ARRAY_SIZE.
52651         * stdlib/gen-fpioconst.c: New file.
52652         * stdlib/gen-tst-strtod-round.c: Likewise.
52653         * stdlib/tst-strtod-round-data: Likewise.
52654         * stdlib/tst-strtod-round.c: Likewise.
52655         * stdlib/Makefile (tests): Add tst-strtod-round.
52657         [BZ #14459]
52658         * stdlib/strtod_l.c: Include <stdint.h>.
52659         (NDEBUG): Do not define.
52660         (round_and_return): Change EXPONENT parameter to type intmax_t.
52661         Rearrange calculations to avoid internal overflow possibilities.
52662         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52663         Rearrange calculations to avoid internal overflow possibilities.
52664         Assert that number fits inside MPNSIZE limbs.
52665         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52666         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52667         calculations and add assertions to avoid internal overflow
52668         possibilities.  Add casts to avoid signed/unsigned operations.
52669         * stdlib/tst-strtod-overflow.c: New file.
52670         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52672 2012-08-25  Marek Polacek  <polacek@redhat.com>
52674         * time/time.h: Fix some typos in comments.
52676 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52678         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52679         * posix/tst-rfc3484-2.c: Likewise.
52680         * posix/tst-rfc3484-3.c: Likewise.
52682 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52684         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52685         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52687 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52689         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52690         #include of fxstatat64.c.
52692 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52694         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52695         * shadow/getspent_r.c: Likewise.
52696         * shadow/getspnam.c: Likewise.
52697         * shadow/getspnam_r.c: Likewise.
52698         * gshadow/getsgent.c: Likewise.
52699         * gshadow/getsgent_r.c: Likewise.
52700         * gshadow/getsgnam.c: Likewise.
52701         * gshadow/getsgnam_r.c: Likewise.
52702         * inet/getnetbyad.c: Likewise.
52703         * inet/getnetbyad_r.c: Likewise.
52704         * inet/getnetbynm.c: Likewise.
52705         * inet/getnetbynm_r.c: Likewise.
52706         * inet/getnetent.c: Likewise.
52707         * inet/getnetent_r.c: Likewise.
52708         * inet/getproto.c: Likewise.
52709         * inet/getproto_r.c: Likewise.
52710         * inet/getprtent.c: Likewise.
52711         * inet/getprtent_r.c: Likewise.
52712         * inet/getprtname.c: Likewise.
52713         * inet/getprtname_r.c: Likewise.
52714         * inet/getrpcbyname.c: Likewise.
52715         * inet/getrpcbyname_r.c: Likewise.
52716         * inet/getrpcbynumber.c: Likewise.
52717         * inet/getrpcbynumber_r.c: Likewise.
52718         * inet/getrpcent.c: Likewise.
52719         * inet/getrpcent_r.c: Likewise.
52720         * inet/getaliasent.c: Likewise.
52721         * inet/getaliasent_r.c: Likewise.
52722         * inet/getaliasname.c: Likewise.
52723         * inet/getaliasname_r.c: Likewise.
52724         * nscd/getgrgid_r.c: Likewise.
52725         * nscd/getgrnam_r.c: Likewise.
52726         * nscd/gethstbyad_r.c: Likewise.
52727         * nscd/gethstbynm3_r.c: Likewise.
52728         * nscd/getpwnam_r.c: Likewise.
52729         * nscd/getpwuid_r.c: Likewise.
52730         * nscd/getsrvbynm_r.c: Likewise.
52731         * nscd/getsrvbypt_r.c: Likewise.
52732         * nscd/gai.c: Likewise.
52734         * configure.in (build_nscd): New substituted variable, set
52735         by --disable-build-nscd and defaults to $use_nscd.
52736         * configure: Regenerated.
52737         * config.make.in (build-nscd): New substituted variable.
52738         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52739         Change conditional to require [$(build-nscd) = yes] as well.
52740         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52742         [BZ# 13696]
52743         * configure.in (use_nscd): New substituted variable, set by
52744         --disable-nscd.  If enabled, define USE_NSCD.
52745         * configure: Regenerated.
52746         * config.h.in: Add USE_NSCD.
52747         * config.make.in (use-nscd): New substituted variable.
52748         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52749         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52750         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52751         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52752         (CFLAGS-getgrnam_r.c): Likewise.
52753         (CFLAGS-initgroups.c): Likewise.
52754         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52755         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52756         Variables removed.
52757         * inet/getnetgrent_r.c
52758         (nscd_setnetgrent): New function, broken out of ...
52759         (setnetgrent): ... here.  Call it.
52760         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52761         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52762         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52763         * nscd/Makefile (routines, aux): Move definitions after include of
52764         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52765         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52766         Conditionalize on [USE_NSCD].
52767         (is_nscd, nscd_init_cb): Likewise.
52768         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52769         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52770         * nss/nss_db/db-init.c: Likewise.
52771         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52772         [USE_NSCD].
52773         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52774         (make_request): Use it.
52775         (cache_valid_p): New function.
52776         (__check_pf): Use it.
52777         * NEWS: Add item for --disable-nscd.
52779 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52781         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52782         to support sed >= 4.2.1-20-ga9bf076.
52783         * configure: Regenerated.
52785 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52787         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52788         Conditionalize whole body on [IREL].
52790 2012-08-22  Jeff Law <law@redhat.com>
52792         [BZ #14505]
52793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52794         if the family is PF_UNSPEC.
52796 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52798         * Makerules (lib-version): Rename from V.
52799         (install-lib-nosubdir): Change V to lib-version.
52801 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52803         [BZ #14252]
52804         * powerpc32/power6/wcschr.c: New file.
52805         * powerpc32/power6/wcscpy.c: New file.
52806         * powerpc32/power6/wcsrchr.c: New file.
52807         * powerpc64/power6/wcschr.c: New file.
52808         * powerpc64/power6/wcscpy.c: New file.
52809         * powerpc64/power6/wcsrchr.c: New file.
52811 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52813         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52814         (two_way_short_needle): Use it.
52815         * string/strstr.c (AVAILABLE1_USES_J): Define.
52816         * string/strcasestr.c: Likewise.
52818         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52819         array references.
52820         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52822         [BZ #11607]
52823         * NEWS: Add an entry.
52824         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52825         define their defaults.
52826         (two_way_short_needle): Detect end-of-string on-the-fly.
52827         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52828         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52829         * string/bug-strcasestr1.c: New test.
52830         * string/Makefile: Run it.
52832 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52834         [BZ #11607]
52835         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52836         the first character.
52838 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52840         * csu/elf-init.c (__libc_csu_irel): Function removed.
52841         * csu/libc-start.c (apply_irel): New function.
52842         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52844 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52846         * sysdeps/unix/sysv/linux/kernel-features.h
52847         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52848         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52849         <kernel-features.h>.
52850         [__NR_fadvise64_64]: Make code unconditional.
52851         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52852         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52853         !__NR_fadvise64_64)]: Likewise.
52854         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52855         !__NR_fadvise64_64))]: Likewise.
52856         [__NR_fadvise64]: Make code unconditional.
52857         [!__NR_fadvise64]: Remove conditional code.
52858         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52859         <kernel-features.h>.
52860         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52861         unconditional.
52862         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52863         conditional code.
52864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52865         not include <kernel-features.h>.
52866         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52867         unconditional.
52868         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52869         conditional code.
52870         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52871         include <kernel-features.h>.
52872         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52873         unconditional.
52874         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52875         conditional code.
52877 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52880         slight instruction rearrangements per scrollpipe analysis.
52881         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52883 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52885         * manual/syslog.texi (syslog; vsyslog, closelog):
52886         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52887         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52889         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52890         DSOCAPS to match condition on defining it.
52892 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52894         * sysdeps/unix/sysv/linux/kernel-features.h
52895         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52897         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52898         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52900         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52901         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52903         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52904         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52906         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52907         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52909         * sysdeps/unix/sysv/linux/kernel-features.h
52910         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52911         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52912         unconditional.
52913         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52914         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52915         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52916         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52917         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52918         Make code unconditional.
52919         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52920         (__mmap64) [!__NR_mmap2]: Likewise.
52921         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52922         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52923         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52924         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52925         [__NR_mmap2]: Make code unconditional.
52926         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52927         (__mmap64) [!__NR_mmap2]: Likewise.
52929 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52931         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52933 2012-08-18  Andreas Jaeger  <aj@suse.de>
52935         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52937 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52939         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52940         * include/unistd.h (__have_sock_cloexec): Likewise.
52941         (__have_pipe2): Likewise.
52942         (__have_dup3): Likewise.
52944 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52946         [BZ #9685]
52947         * include/unistd.h (__have_pipe2): Change define into an extern int.
52948         (__have_dup3): Likewise.
52949         * socket/have_sock_cloexec.c: Include fcntl.h.
52950         (__have_pipe2): New variable.
52951         (__have_dup3): Likewise.
52953 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52955         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52957 2012-08-17  Marek Polacek  <polacek@redhat.com>
52959         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52960         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52962 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52964         * configure.in: Add AC_SUBST for sysheaders.
52965         * configure: Regenerated.
52966         * config.make.in (sysheaders): New substituted variable.
52968         * sysdeps/unix/mkfifo.c: Moved ...
52969         * sysdeps/posix/mkfifo.c: ... here.
52970         * sysdeps/unix/mkfifoat.c: Moved ...
52971         * sysdeps/posix/mkfifoat.c: ... here.
52973         * sysdeps/unix/utime.c: Moved ...
52974         * sysdeps/posix/utime.c: ... here.
52976         * sysdeps/unix/time.c: Moved ...
52977         * sysdeps/posix/time.c: ... here.
52978         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52979         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52981         * sysdeps/unix/nice.c: Moved ...
52982         * sysdeps/posix/nice.c: ... here.
52984         * sysdeps/unix/alarm.c: Moved ...
52985         * sysdeps/posix/alarm.c: ... here.
52987         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52989 2012-08-17  Jeff Law <law@redhat.com>
52991         * intl/Makefile (codeset_mo): New variable.
52992         ($(codeset_mo)): New target.
52993         (tst-codeset.out): Depend on that.  Remove explicit rule.
52994         (tst-gettext3.out, tst-gettext5.out): Likewise.
52995         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52996         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52997         * intl/tst-codeset.sh: Remove.
52998         * intl/tst-gettext3.sh: Likewise.
52999         * intl/tst-gettext5.sh: Likewise.
53001 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53003         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53004         * sysdeps/unix/syscalls.list: ... here.
53006         * sysdeps/posix/getaddrinfo.c
53007         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53008         (gaiconf_init, gaiconf_reload): Use them.
53009         [!_STATBUF_ST_NSEC]
53010         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53011         Define using time_t rather than struct timespec.
53013         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53014         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53015         Macros removed.
53016         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53017         [!NO_THREADS].
53018         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53019         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53020         Likewise.
53022         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53023         __libc_cleanup_push argument.
53025         * bits/param.h: New file.
53026         * misc/sys/param.h: New file.
53027         * include/sys/param.h: New file.
53028         * misc/Makefile (headers): Add bits/param.h.
53029         * sysdeps/generic/sys/param.h: File removed.
53030         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53031         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53032         * sysdeps/mach/hurd/bits/param.h: New file.
53033         * sysdeps/mach/hurd/sys/param.h: File removed.
53035         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53036         last change.
53038         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53039         [_IO_MTSAFE_IO].
53040         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53041         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53042         New macros.
53044         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53045         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53046         rather than -D_IO_MTSAFE_IO conditionally.
53047         * stdio-common/Makefile (CPPFLAGS): Likewise.
53048         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53049         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53050         Use $(libio-mtsafe).
53051         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53052         of -D_IO_MTSAFE_IO.
53053         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53054         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53055         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53056         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53057         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53058         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53059         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53060         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53061         (CFLAGS-fread_u_chk.c): Likewise.
53062         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53063         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53064         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53065         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53066         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53067         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53068         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53069         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53070         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53072         * libio/Makefile: Test [$(libc-reentrant) = yes]
53073         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53075         * Makeconfig
53076         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53077         * sysdeps/pthread/configure: File removed.
53078         * sysdeps/pthread/Makeconfig: New file.
53079         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53080         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53082 2012-08-16  Gary Benson  <gbenson@redhat.com>
53084         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53085         unmapping the first object in a namespace.
53087 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53089         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53090         (__internal_setnetgrent): ... this.  Add internal_function to
53091         definition.  Add libc_hidden_def.
53092         (setnetgrent): Update caller.
53093         (internal_endnetgrent): Renamed to ...
53094         (__internal_endnetgrent): ... this.  Add internal_function to
53095         definition.  Add libc_hidden_def.
53096         (endnetgrent): Update caller.
53097         (internal_getnetgrent_r): Renamed to ...
53098         (__internal_getnetgrent_r): ... this.  Add internal_function to
53099         definition.  Add libc_hidden_def.
53100         (__getnetgrent_r): Update caller.
53101         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53103 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53105         * stdlib/longlong.h: Update from GCC.
53107 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53109         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53110         on _QL, which is set by umul_ppmm but never used.
53111         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53112         variables, which are set by GMP macros but never used.
53113         * stdio-common/_itowa.c (_itowa): Likewise.
53114         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53115         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53117 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53119         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53120         struct La_sh_regs is not constant.
53121         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53122         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53123         and struct La_sparc64_regs are not constant.
53125 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53127         * sysdeps/unix/sysv/linux/kernel-features.h
53128         (__ASSUME_POSIX_TIMERS): Remove.
53129         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53130         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53131         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53132         Make code unconditional.
53133         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53134         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53135         Make code unconditional.
53136         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53137         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53138         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53139         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53140         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53141         Make code unconditional.
53142         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53143         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53144         (__libc_missing_posix_timers): Remove.
53146 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53148         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53149         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53151         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53153         * elf/dl-sym.c: Include <stdlib.h>.
53155         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53156         constants, which avoids warnings in 32-bit builds.
53158         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53159         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53161         * misc/lseek.c: File moved to ...
53162         * io/lseek.c: ... here.
53164         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53166         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53167         shifting LEN more than 31 bits at once.
53169 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53171         [BZ #14195]
53172         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53173         segmentation fault for a case of two empty input strings.
53174         * string/test-strncasecmp.c (check1): Renamed to...
53175         (bz12205): ...this.
53176         (bz14195): Add new testcase for two empty input strings and N > 0.
53177         (test_main): Call new testcase, adapt for renamed function.
53179 2012-08-15  Andreas Jaeger  <aj@suse.de>
53181         [BZ #14090]
53182         * crypt/md5test2.c: New test, based on test supplied by Serge
53183         Belyshev <belyshev@depni.sinp.msu.ru>.
53184         * crypt/Makefile (xtests): Add md5test-giant..
53185         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53187 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53189         [BZ #14090]
53190         * crypt/md5.c (md5_process_block): Don't assume the buffer
53191         length is less than 2**32.
53192         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53193         length is less than 2**64.
53195 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53197         * string/str-two-way.h: Include <sys/param.h>.
53198         (MAX): Macro removed.
53200         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53201         Move #define and #undef of memmove to just before and after
53202         including <string.h>.
53204         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53205         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53206         and after including <string.h>.  Move declarations of
53207         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53208         to before #include "string/memmove.c".
53210         * include/dirent.h: Declare __getdirentries.
53212         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53213         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53215 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53217         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53218         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53219         * sysdeps/i386/configure: Regenerated.
53220         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53221         STABS_CURRENT_FILE, and STABS_FUN.
53222         (END): Remove call to STABS_FUN_END.
53223         (STABS_CURRENT_FILE1): Delete.
53224         (STABS_CURRENT_FILE): Likewise.
53225         (STABS_FUN): Likewise.
53226         (STABS_FUN_END): Likewise.
53227         (STABS_FUN2): Likewise.
53228         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53229         * sysdeps/x86_64/configure: Regenerated.
53231 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53233         * elf/dl-open.c: Include <atomic.h>.
53234         * elf/dl-lookup.c: Likewise.
53236 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53238         * sysdeps/unix/sysv/linux/kernel-features.h
53239         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53240         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53241         unconditionally.
53242         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53243         unconditionally.
53244         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53245         condition on __ASSUME_CLONE_THREAD_FLAGS.
53247 2012-08-14  Andreas Jaeger  <aj@suse.de>
53249         * sysdeps/i386/fpu/libm-test-ulps: Update.
53251 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53253         * include/atomic.h (atomic_exchange_and_add): Split into ...
53254         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53255         New atomic macros.
53257 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53261 2012-08-13  Jeff Law <law@redhat.com>
53263         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53264         null byte in the output string.
53266 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53268         * sysdeps/unix/sysv/linux/kernel-features.h
53269         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53270         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53271         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53272         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53273         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53274         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53275         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53277 2012-08-09  Jeff Law <law@redhat.com>
53279         [BZ #13939]
53280         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53281         When avoid_arena is set, don't retry in the that arena.  Pick the
53282         next one, whatever it might be.
53283         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53284         (arena_lock): Pass in new parameter to arena_get2.
53285         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53286         arena_get2.
53287         (__libc_malloc): Unify retrying after main arena failure with
53288         __libc_memalign version.
53289         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53291 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53293         [BZ #14166]
53294         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53295         to __redirect_strstr.
53296         (__strstr_sse42): Use typeof __redirect_strstr.
53297         (__strstr_ia32): Likewise.
53298         (__libc_strstr): New prototype.
53299         (strstr): Renamed to ...
53300         (__libc_strstr): This.
53301         (strstr): New strong alias of __libc_strstr.
53302         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53303         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53304         __redirect_time.
53305         Include <time.h>.
53306         (__libc_time): New prototype.
53307         (time_ifunc): Replace time with __libc_time.
53308         (time): New strong alias and hidden definition of __libc_time.
53309         (__GI_time): Remove strong alias.
53310         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53311         Include <stddef.h>.
53312         (memmove): Redefined to __redirect_memmove.
53313         (__memmove_sse2): Use typeof __redirect_memmove.
53314         (__memmove_ssse3): Likewise.
53315         (__memmove_ssse3_back): Likewise.
53316         (__libc_memmove): New prototype.
53317         (memmove): Renamed to ...
53318         (__libc_memmove): This.
53319         (memmove): New strong alias of __libc_memmove.
53321 2012-08-08  Mark Salter  <msalter@redhat.com>
53323         * elf/elf.h
53324         (R_MN10300_TLS_GD): Define.
53325         (R_MN10300_TLS_LD): Likewise.
53326         (R_MN10300_TLS_LDO): Likewise.
53327         (R_MN10300_TLS_GOTIE): Likewise.
53328         (R_MN10300_TLS_IE): Likewise.
53329         (R_MN10300_TLS_LE): Likewise.
53330         (R_MN10300_TLS_DTPMOD): Likewise.
53331         (R_MN10300_TLS_DTPOFF): Likewise.
53332         (R_MN10300_TLS_TPOFF): Likewise.
53333         (R_MN10300_SYM_DIFF): Likewise.
53334         (R_MN10300_ALIGN): Likewise.
53335         (R_MN10300_NUM): Update.
53337 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53339         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53340         Remove.
53342 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53344         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53346         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53347         sysdeps/unix -> sysdeps/posix move.
53348         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53350 2012-08-07      Allan McRae     <allan@archlinux.org>
53352         [BZ #14303]
53353         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53354         (SUNOS_CPP): Likewise.
53355         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53356         not found.
53357         (open_input): Call CPP using execvp.
53359 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53361         * sysdeps/unix/sysv/linux/kernel-features.h
53362         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53363         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53364         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53365         (__ASSUME_WAITID_SYSCALL): Likewise.
53366         * sysdeps/unix/sysv/linux/dl-execstack.c
53367         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53368         code unconditional.
53369         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53370         conditional code.
53371         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53372         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53373         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53374         code.
53375         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53376         unconditional.
53377         [__ASSUME_WAITID_SYSCALL]: Likewise.
53378         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53380 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53382         * sysdeps/unix/closedir.c: Renamed to ...
53383         * sysdeps/posix/closedir.c: ... here.
53384         * sysdeps/unix/dirfd.c: Renamed to ...
53385         * sysdeps/posix/dirfd.c: ... here.
53386         * sysdeps/unix/dirstream.h: Renamed to ...
53387         * sysdeps/posix/dirstream.h: ... here.
53388         * sysdeps/unix/fdopendir.c: Renamed to ...
53389         * sysdeps/posix/fdopendir.c: ... here.
53390         * sysdeps/unix/opendir.c: Renamed to ...
53391         * sysdeps/posix/opendir.c: ... here.
53392         * sysdeps/unix/readdir.c: Renamed to ...
53393         * sysdeps/posix/readdir.c: ... here.
53394         * sysdeps/unix/readdir_r.c: Renamed to ...
53395         * sysdeps/posix/readdir_r.c: ... here.
53396         * sysdeps/unix/rewinddir.c: Renamed to ...
53397         * sysdeps/posix/rewinddir.c: ... here.
53398         * sysdeps/unix/seekdir.c: Renamed to ...
53399         * sysdeps/posix/seekdir.c: ... here.
53400         * sysdeps/unix/telldir.c: Renamed to ...
53401         * sysdeps/posix/telldir.c: ... here.
53402         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53403         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53404         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53405         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53407         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53408         * bits/fcntl.h: ... here.
53410         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53411         not 0.
53412         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53413         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53414         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53415         (struct flock): Move l_start, l_len to the beginning.
53416         Use __pid_t for l_pid.
53417         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53418         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53419         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53420         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53421         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53422         [__USE_LARGEFILE64] (struct flock64): New type.
53423         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53425         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53426         * bits/dirent.h: ... here.
53428         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53429         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53431 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53433         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53434         Change from 2.6.0 to 2.6.16.
53435         * sysdeps/unix/sysv/linux/configure: Regenerated.
53436         * sysdeps/unix/sysv/linux/kernel-features.h
53437         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53438         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53439         version.
53440         (__ASSUME_UTIMES): Likewise.
53441         (__ASSUME_CLONE_STOPPED): Remove.
53442         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53443         architectures, not kernel version.
53444         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53445         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53446         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53447         (__ASSUME_WAITID_SYSCALL): Likewise.
53448         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53449         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53450         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53451         refer to older versions.
53453 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53455         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53456         Define alphasort64 as an alias.
53457         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53458         Define versionsort64 as an alias.
53459         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53460         Define scandir64 as an alias.
53461         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53462         Define scandirat64 as an alias.
53463         * dirent/alphasort64.c (alphasort64):
53464         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53465         * dirent/versionsort64.c: Likewise.
53466         * dirent/scandir64.c: Likewise.
53467         * dirent/scandirat64.c: Likewise.
53468         * sysdeps/wordsize-64/alphasort.c: File removed.
53469         * sysdeps/wordsize-64/alphasort64.c: File removed.
53470         * sysdeps/wordsize-64/scandir.c: File removed.
53471         * sysdeps/wordsize-64/scandir64.c: File removed.
53472         * sysdeps/wordsize-64/scandirat.c: File removed.
53473         * sysdeps/wordsize-64/scandirat64.c: File removed.
53474         * sysdeps/wordsize-64/versionsort.c: File removed.
53475         * sysdeps/wordsize-64/versionsort64.c: File removed.
53476         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53477         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53478         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53479         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53480         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53481         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53482         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53483         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53485         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53486         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53487         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53488         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53489         [defined __arch64__ || defined __sparcv9]
53490         (__INO_T_MATCHES_INO64_T): New macro.
53491         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53492         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53493         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53494         * sysdeps/unix/sysv/linux/bits/dirent.h
53495         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53496         (_DIRENT_MATCHES_DIRENT64): New macro.
53498         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53499         Define lockf64 as an alias.
53500         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53501         Define fseeko64 as an alias.
53502         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53503         Define ftello64 as an alias.
53504         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53505         Define _IO_fgetpos64 and fgetpos64 as aliases.
53506         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53507         Define _IO_fsetpos64 and fsetpos64 as aliases.
53508         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53509         Conditionalize body on this.
53510         * libio/fseeko64.c: Likewise.
53511         * libio/ftello64.c: Likewise.
53512         * libio/iofgetpos64.c: Likewise.
53513         * libio/iofsetpos64.c: Likewise.
53514         * sysdeps/wordsize-64/lockf.c: File removed.
53515         * sysdeps/wordsize-64/lockf64.c: File removed.
53516         * sysdeps/wordsize-64/fseeko.c: File removed.
53517         * sysdeps/wordsize-64/fseeko64.c: File removed.
53518         * sysdeps/wordsize-64/ftello.c: File removed.
53519         * sysdeps/wordsize-64/ftello64.c: File removed.
53520         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53521         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53522         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53523         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53524         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53525         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53526         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53527         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53528         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53529         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53530         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53531         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53532         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53533         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53535         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53536         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53537         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53538         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53539         [defined __arch64__ || defined __sparcv9]
53540         (__OFF_T_MATCHES_OFF64_T): New macro.
53541         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53542         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53544         (__OFF_T_MATCHES_OFF64_T): New macro.
53546 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53548         * stdlib/secure-getenv.c (__secure_getenv): Replace
53549         GLIBC_2_16 with GLIBC_2_17.
53551 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53553         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53556 2012-08-03  David S. Miller  <davem@davemloft.net>
53558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53560 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53562         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53563         Remove.
53564         (__ASSUME_CORRECT_SI_PID): Likewise.
53565         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53566         (__ASSUME_TMPFS_NAME): Likewise.
53567         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53568         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53569         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53570         (HAVE_AUX_SECURE): Make definition unconditional.
53571         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53572         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53574 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53576         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53577         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53578         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53579         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53580         __eloop_threshold instead of SYMLOOP_MAX.
53582         * sysdeps/generic/eloop-threshold.h: New file.
53583         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53584         of MAXSYMLINKS.
53585         * elf/chroot_canon.c (chroot_canon): Likewise.
53587 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53589         [BZ #13717]
53590         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53591         Change to 2.6.0 everywhere.
53592         * sysdeps/unix/sysv/linux/configure: Regenerated.
53593         * sysdeps/unix/sysv/linux/kernel-features.h
53594         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53595         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53596         kernel versions.
53597         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53598         (__ASSUME_FUTEX_REQUEUE): Remove.
53599         (__ASSUME_STATFS64): Define unconditionally.
53600         (__ASSUME_AT_SECURE): Likewise.
53601         (__ASSUME_CORRECT_SI_PID): Likewise.
53602         (__ASSUME_TGKILL): Define without depending on kernel version for
53603         i386.
53604         (__ASSUME_UTIMES): Likewise.
53605         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53606         kernel version.
53607         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53608         (__ASSUME_TMPFS_NAME): Likewise.
53609         * README: Update reference to Linux kernel versions.
53611 2012-08-02  Marek Polacek  <polacek@redhat.com>
53613         [BZ# 14150]
53614         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53615         libc_cv_asm_type_prefix with %.
53616         * configure: Regenerated.
53617         * include/libc-symbols.h: Remove comment about
53618         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53619         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53620         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53621         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53622         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53623         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53624         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53625         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53626         * elf/tst-unique2mod1.c: Likewise.
53627         * elf/tst-unique1mod2.c: Likewise.
53628         * elf/tst-unique1mod1.c: Likewise.
53629         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53630         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53631         Replace ASM_TYPE_DIRECTIVE with .type.
53632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53633         * sysdeps/i386/sysdep.h: Likewise.
53634         * sysdeps/x86_64/sysdep.h: Likewise.
53635         * sysdeps/sh/sysdep.h: Likewise.
53636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53637         Do not define ASM_TYPE_DIRECTIVE.
53638         * sysdeps/powerpc/sysdep.h: Likewise.
53639         * sysdeps/powerpc/powerpc32/sysdep.h:
53640         Replace ASM_TYPE_DIRECTIVE with .type.
53641         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53642         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53643         * sysdeps/i386/fpu/e_powf.S: Likewise.
53644         * sysdeps/i386/fpu/e_expl.S: Likewise.
53645         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53646         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53647         * sysdeps/i386/fpu/e_pow.S: Likewise.
53648         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53649         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53650         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53651         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53652         * sysdeps/i386/fpu/e_log2.S: Likewise.
53653         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53654         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53655         * sysdeps/i386/fpu/e_powl.S: Likewise.
53656         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53657         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53658         * sysdeps/i386/fpu/e_logl.S: Likewise.
53659         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53660         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53661         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53662         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53663         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53664         * sysdeps/i386/fpu/e_log.S: Likewise.
53665         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53666         * sysdeps/i386/fpu/e_logf.S: Likewise.
53667         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53668         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53669         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53670         * sysdeps/i386/fpu/e_log10.S: Likewise.
53671         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53672         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53673         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53674         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53675         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53676         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53677         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53678         * sysdeps/i386/i686/strtok.S: Likewise.
53679         * sysdeps/i386/i386-mcount.S: Likewise.
53680         * sysdeps/i386/strtok.S: Likewise.
53681         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53682         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53683         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53684         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53685         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53686         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53687         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53688         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53689         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53690         * sysdeps/x86_64/_mcount.S: Likewise.
53691         * sysdeps/x86_64/strtok.S: Likewise.
53692         * sysdeps/sh/_mcount.S: Likewise.
53694 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53696         * libio/iofopen.c: Include <fcntl.h>.
53697         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53698         (_IO_fopen64, fopen64): Define as aliases.
53699         * libio/iofopen64.c: Include <fcntl.h>.
53700         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53701         Conditionalize body on this.
53702         * sysdeps/wordsize-64/iofopen.c: File removed.
53703         * sysdeps/wordsize-64/iofopen64.c: File removed.
53705 2012-08-01  Marek Polacek  <polacek@redhat.com>
53707         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53708         Use dlfcn directly instead of a variable.
53709         (binfmt-subdir): Do not define.
53710         (dlfcn): Likewise.
53712 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53715         Remove all definitions.
53716         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53717         <kernel-features.h>.
53718         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53719         (miss_F_GETOWN_EX): Remove all definitions.
53720         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53721         macro definition.
53722         [!__ASSUME_FCNTL64]: Remove conditional code.
53723         [__ASSUME_FCNTL64]: Make code unconditional.
53724         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53725         <kernel-features.h>.
53726         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53727         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53728         (lockf64) [__NR_fcntl64]: Make code unconditional.
53729         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53731         * sysdeps/unix/sysv/linux/kernel-features.h
53732         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53733         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53734         Make code unconditional.
53735         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53736         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53738         [__NR_vfork]: Make code unconditional.
53739         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53740         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53742         [__NR_vfork]: Make code unconditional.
53743         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53744         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53746 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53748         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53749         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53751         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53752         Define mkstemp64 as an alias.
53753         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53754         Define mkstemps64 as an alias.
53755         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53756         Define mkostemp64 as an alias.
53757         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53758         Define mkostemps64 as an alias.
53759         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53760         Conditionalize body on this.
53761         * misc/mkostemp64.c: Likewise.
53762         * misc/mkostemps64.c: Likewise.
53763         * misc/mkstemps64.c: Likewise.
53764         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53765         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53766         * sysdeps/wordsize-64/mkostemp.c: File removed.
53767         * sysdeps/wordsize-64/mkstemp.c: File removed.
53768         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53769         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53770         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53771         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53773         [BZ #14138]
53774         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53775         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53776         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53777         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53779         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53780         compat_symbol macros from <shlib-compat.h> rather than the underlying
53781         default_symbol_version and symbol_version macros, so that DEFAULT
53782         lines in shlib-versions are respected.
53783         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53785 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53787         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53788         Declare with warn_unused_result.
53789         (setgid, setregid, setegid, setresgid): Likewise.
53790         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53791         Likewise.
53792         * WUR-REPORT: Remove set*id functions.
53794 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53796         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53798 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53800         [BZ #10191]
53801         * include/sys/socket.h (__libc_accept, __libc_accept4):
53802         Add attribute_hidden.
53803         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53805         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53806         use of PTR_MANGLE.
53807         * inet/getnetgrent_r.c (setup): Likewise.
53809         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53811 2012-07-31  David S. Miller  <davem@davemloft.net>
53813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53815 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53817         [BZ #13629]
53818         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53819         value between 1.0 and 2.0 and smaller part has absolute value less
53820         than 1.0.
53821         * math/s_clog10.c (__clog10): Likewise.
53822         * math/s_clog10f.c (__clog10f): Likewise.
53823         * math/s_clog10l.c (__clog10l): Likewise.
53824         * math/s_clogf.c (__clogf): Likewise.
53825         * math/s_clogl.c (__clogl): Likewise.
53826         * math/libm-test.inc (clog_test): Add more tests.
53827         (clog10_test): Likewise.
53828         * sysdeps/i386/fpu/libm-test-ulps: Update.
53829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53831 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53833         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53834         Exit with zero in case no suitable GID is found, and write a
53835         message to standard error.
53837 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53839         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53840         rather than to 1.
53841         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53842         (MAXPATHLEN): Removed.
53843         (NOGROUP, NODEV): New macros.
53844         (setbit, clrbit, isset, isclr): New macros.
53845         (howmany, roundup, powerof2): New macros.
53846         (DEV_BSIZE): New macro.
53848         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53849         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53851         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53852         definition on [!__NO_LONG_DOUBLE_MATH].
53854         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53855         PTR_MANGLE and PTR_DEMANGLE.
53857         * socket/accept4.c (accept4): Rename to __libc_accept4.
53858         Define accept4 as a weak alias.
53860         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53861         on [_DIRENT_HAVE_D_TYPE].
53862         * io/ftw.c (ftw_dir): Likewise.
53864         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53866         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53868         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53869         Use the BSD numbers rather than the arbitrary ones we had.
53870         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53871         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53872         (SIGXCPU, SIGXFSZ): New macros.
53873         (_NSIG): Now 32.
53875         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53876         initializer on [_LIBC_REENTRANT].
53878         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53879         definitions inside [_POSIX_MAPPED_FILES].
53881         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53883         * dirent/opendir.c: Include <fcntl.h>.
53885         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53886         (__libc_getspecific): Likewise.
53887         (__libc_key_create): Likewise.
53889         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53890         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53891         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53892         (tmpfile64): Define as alias.
53893         * sysdeps/wordsize-64/tmpfile.c: File removed.
53894         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53895         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53896         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53898         * stdio-common/vfscanf.c: Include <stdbool.h>.
53899         * nss/makedb.c: Likewise.
53900         * stdio-common/_i18n_number.h: Likewise.
53901         * argp/argp-help.c: Likewise.
53902         * posix/wordexp.c: Likewise.
53903         * sysdeps/posix/spawni.c: Likewise.
53904         * nss/nss_files/files-initgroups.c: Likewise.
53905         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53906         * nss/nss_files/files-initgroups.c: Likewise.
53907         * nss/nss_db/db-netgrp.c: Likewise.
53908         * nss/nss_db/db-initgroups.c: Likewise.
53909         * io/fchmodat.c: Include <sys/stat.h>.
53911         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53912         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53914         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53915         [HAVE_MMAP].
53917         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53918         Add multiple inclusion protection.
53920 2012-07-27  David S. Miller  <davem@davemloft.net>
53922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53924 2012-07-27  Gary Benson  <gbenson@redhat.com>
53926         [BZ #14298]
53927         * elf/rtld.c: Include <stap-probe.h>.
53928         (dl_main): Added static probes "init_start" and "init_complete".
53929         * elf/dl-load.c: Include <stap-probe.h>.
53930         (lose): Take new parameter "nsid".
53931         Added static probe "map_failed".
53932         (_dl_map_object_from_fd): Pass namespace id to lose.
53933         Added static probe "map_start".
53934         (open_verify): Pass namespace id to lose.
53935         * elf/dl-open.c: Include <stap-probe.h>.
53936         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53937         and "reloc_complete".
53938         * elf/dl-close.c: Include <stap-probe.h>.
53939         (_dl_close_worker): Added static probes "unmap_start" and
53940         "unmap_complete".
53941         * elf/rtld-debugger-interface.txt: New file documenting the above.
53943 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53945         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53946         rather than a string variable.
53947         * sunrpc/rpc_main.c (h_output): Likewise.
53948         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53950 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53952         * inet/check_native.c: New file.
53954 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53956         [BZ #13629]
53957         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53958         if larger part has absolute value 1.0.
53959         * math/s_clog10.c (__clog10): Likewise.
53960         * math/s_clog10f.c (__clog10f): Likewise.
53961         * math/s_clog10l.c (__clog10l): Likewise.
53962         * math/s_clogf.c (__clogf): Likewise.
53963         * math/s_clogl.c (__clogl): Likewise.
53964         * math/libm-test.inc (clog_test): Add more tests.
53965         (clog10_test): Likewise.
53966         * sysdeps/i386/fpu/libm-test-ulps: Update.
53967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53969         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53970         (pltexit): Likewise.
53971         (La_regs): Likewise.
53972         (La_retval): Likewise.
53973         (int_retval): Likewise.
53974         Update #error for removed macros to refer only to definitions in
53975         tst-audit.h.
53976         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53977         macro.
53978         (pltexit): Likewise.
53979         (La_regs): Likewise.
53980         (La_retval): Likewise.
53981         (int_retval): Likewise.
53982         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53983         macro.
53984         (pltexit): Likewise.
53985         (La_regs): Likewise.
53986         (La_retval): Likewise.
53987         (int_retval): Likewise.
53988         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53989         macro.
53990         (pltexit): Likewise.
53991         (La_regs): Likewise.
53992         (La_retval): Likewise.
53993         (int_retval): Likewise.
53994         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53995         macro.
53996         (pltexit): Likewise.
53997         (La_regs): Likewise.
53998         (La_retval): Likewise.
53999         (int_retval): Likewise.
54000         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54001         macro.
54002         (pltexit): Likewise.
54003         (La_regs): Likewise.
54004         (La_retval): Likewise.
54005         (int_retval): Likewise.
54006         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54007         macro.
54008         (pltexit): Likewise.
54009         (La_regs): Likewise.
54010         (La_retval): Likewise.
54011         (int_retval): Likewise.
54012         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54013         macro definitions in tst-audit.h.
54014         * sysdeps/i386/tst-audit.h: New file.
54015         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54016         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54017         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54018         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54019         * sysdeps/sh/tst-audit.h: Likewise.
54020         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54021         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54022         * sysdeps/x86_64/tst-audit.h: Likewise.
54024 2012-07-26  Andreas Jaeger  <aj@suse.de>
54026         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54027         ptrace.
54029         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54030         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54031         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54032         PTRACE_O_MASK.
54033         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54034         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54035         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54037         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54038         value.
54040         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54041         _sigsys.
54042         (si_call_addr, si_syscall, si_arch): Define new macro.
54043         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54044         _sigsys.
54045         (si_call_addr, si_syscall, si_arch): Define new marcro.
54046         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54047         _sigsys.
54048         (si_call_addr, si_syscall, si_arch): Define new macro.
54049         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54050         _sigsys.
54051         (si_call_addr, si_syscall, si_arch): Define new macro.
54053 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54055         [BZ #13717]
54056         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54057         Change to 2.4.21 where previously 2.4.1.
54058         * sysdeps/unix/sysv/linux/configure: Regenerated.
54059         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54060         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54061         Linux kernel version.
54062         (__ASSUME_STD_AUXV): Remove.
54063         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54064         kernel version.
54065         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54066         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54067         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54068         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54069         (__ASSUME_NETLINK_SUPPORT): Likewise.
54070         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54071         (__no_netlink_support): Remove conditional definition.
54072         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54073         Remove.
54074         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54075         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54076         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54077         (if_nameindex_ioctl): Remove.
54078         (if_nameindex_netlink): Do not handle __no_netlink_support.
54079         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54080         code.
54081         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54082         Remove conditional code.
54083         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54084         code.
54085         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54086         unconditional.
54087         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54088         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54089         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54090         Remove.
54091         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54092         [!__ASSUME_STD_AUXV]: Remove conditional code.
54093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54094         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54095         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54097         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54098         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54099         code.
54100         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54102         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54103         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54104         conditional code.
54105         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54107         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54108         code.
54109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54110         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54111         conditional code.
54112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54113         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54114         code unconditional.
54115         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54116         conditional code.
54117         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54118         unconditional.
54119         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54120         conditional code.
54121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54122         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54123         unconditional.
54124         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54125         conditional code.
54126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54127         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54128         code unconditional.
54129         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54130         conditional code.
54131         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54132         unconditional.
54133         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54134         conditional code.
54135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54136         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54137         code unconditional.
54138         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54139         conditional code.
54140         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54141         unconditional.
54142         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54143         conditional code.
54145 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54147         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54148         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54149         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54150         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54151         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54152         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54153         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54154         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54155         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54156         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54157         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54158         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54159         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54160         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54161         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54162         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54163         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54164         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54165         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54167         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54168         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54169         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54171 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54173         * Versions.def: Add GLIBC_2.17.
54174         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54175         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54176         Introduce __libc_secure_getenv.
54177         * stdlib/Versions (2.17): Add secure_getenv
54178         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54179         * stdlib/secure-getenv.c: Rename __secure_getenv to
54180         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54181         symbol __secure_getenv for GLIBC_2.0.
54182         * stdlib/tst-secure-getenv.c: New.
54183         * stdlib/Makefile (tests): Add testcase.
54184         * manual/startup.texi (Environment Access): Document
54185         secure_getenv.
54186         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54187         __libc_secure_getenv.
54188         * inet/ruserpass.c (ruserpass): Likewise.
54189         * malloc/mtrace.c (mtrace): Likewise.
54190         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54191         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54192         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54193         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54194         HAVE_SECURE_GETENV.
54195         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54196         __secure_getenv to __libc_secure_getenv.
54197         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54199         Likewise.
54200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54201         Likewise.
54202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54204         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54210 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54212         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54213         (struct La_i86_retval): Likewise.
54214         (struct La_x86_64_regs): Likewise.
54215         (struct La_x86_64_retval): Likewise.
54216         (struct La_x32_regs): Likewise.
54217         (struct La_x32_retval): Likewise.
54218         (struct La_ppc32_regs): Likewise.
54219         (struct La_ppc32_retval): Likewise.
54220         (struct La_ppc64_regs): Likewise.
54221         (struct La_ppc64_retval): Likewise.
54222         (struct La_sh_regs): Likewise.
54223         (struct La_sh_retval): Likewise.
54224         (struct La_s390_32_regs): Likewise.
54225         (struct La_s390_32_retval): Likewise.
54226         (struct La_s390_64_regs): Likewise.
54227         (struct La_s390_64_retval): Likewise.
54228         (struct La_sparc32_regs): Likewise.
54229         (struct La_sparc32_retval): Likewise.
54230         (struct La_sparc64_regs): Likewise.
54231         (struct La_sparc64_retval): Likewise.
54232         (struct audit_ifaces): Remove architecture-specific pltenter and
54233         pltexit members.
54234         * sysdeps/i386/ldsodefs.h: New file.
54235         * sysdeps/powerpc/ldsodefs.h: Likewise.
54236         * sysdeps/s390/ldsodefs.h: Likewise.
54237         * sysdeps/sh/ldsodefs.h: Likewise.
54238         * sysdeps/sparc/ldsodefs.h: Likewise.
54239         * sysdeps/x86_64/ldsodefs.h: Likewise.
54241 2012-07-25  Marek Polacek  <polacek@redhat.com>
54243         [BZ #6808]
54244         * math/libm-test.inc (yn_test): Add another test.
54245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54246         to ERANGE when the result is +-Inf.
54247         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54248         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54249         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54250         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54252 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54254         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54255         equal to 0.
54256         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54257         clock_t.
54258         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54260 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54262         * configure.in <sysdeps resolving>: Correct printing
54263         Implies_before.
54264         * configure: Regenerate.
54266 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54268         * math/w_ilogb.c: Include <limits.h>.
54269         * math/w_ilogbl.c: Likewise.
54271 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54273         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54274         va_copy.  Document allowing for unavailable va_copy only as
54275         pre-C99 compatibility.
54276         * manual/string.texi (Copying and Concatenation): Use va_copy
54277         instead of __va_copy in concat example.
54279 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54281         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54282         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54283         it if not null.
54285         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54286         with O_NOLINK passed to __file_name_lookup.
54288         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54289         with O_NOLINK passed to __file_name_lookup.
54291         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54292         negative N or less than NGIDS.
54294         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54295         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54296         enough.  Use memcpy instead of strncpy.
54298 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54300         * elf/Makefile (check-data): Remove.
54301         (localplt.data): New vpath directive.
54302         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54303         instead of $(check-data).
54304         * scripts/data/localplt-generic.data: Move to ...
54305         * sysdeps/generic/localplt.data: ... here.
54306         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54307         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54308         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54310         ... here.
54311         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54313         ... here.
54314         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54316         ... here.
54317         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54319         ... here.
54320         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54322         ... here.
54323         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54325         ... here.
54327 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54329         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54330         PPC32 and PPC64 files.
54331         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54332         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54334 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54336         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54337         __makecontext_ret to ...
54338         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54339         ... here and call exit if uc_link is NULL.  New file.
54340         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54341         __makecontext_ret.S.
54342         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54343         __makecontext_ret to ...
54344         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54345         ... here and call exit if uc_link is NULL.  New file.
54346         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54347         __makecontext_ret.S.
54349 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54351         * elf/elf.h (R_390_IRELATIVE): New definition.
54352         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54353         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54354         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54355         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54356         (elf_machine_lazy_rel): Likewise.
54357         * sysdeps/s390/dl-irel.h: New file.
54358         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54359         * sysdeps/s390/s390-64/memset.S: New asm code.
54360         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54361         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54362         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54363         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54364         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54365         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54367         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54368         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54369         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54370         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54371         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54372         * sysdeps/s390/s390-32/memset.S: New asm code.
54373         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54375 2012-07-17  Marek Polacek  <polacek@redhat.com>
54377         [BZ #14349]
54378         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54379         * sysdeps/s390/s390-64/configure.in: Likewise.
54380         * sysdeps/sparc/configure.in: Likewise.
54381         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54382         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54383         * sysdeps/i386/configure.in: Likewise.
54384         * sysdeps/x86_64/configure.in: Likewise.
54385         * sysdeps/sh/configure.in: Likewise.
54386         * sysdeps/s390/s390-32/configure: Regenerated.
54387         * sysdeps/s390/s390-64/configure: Likewise.
54388         * sysdeps/x86_64/configure: Likewise.
54389         * sysdeps/sh/configure: Likewise.
54390         * sysdeps/powerpc/powerpc64/configure: Likewise.
54391         * sysdeps/powerpc/powerpc32/configure: Likewise.
54392         * sysdeps/sparc/configure: Likwise.
54393         * sysdeps/i386/configure: Likewise.
54395         * elf/dl-open.c: Comment fixes.
54397 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54399         * Makefile [CXX] (check-data): Remove.
54400         [CXX] (c++-types.data): New vpath directive.
54401         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54402         vpath.  Do not allow for C++ type data being missing.
54403         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54404         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54405         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54406         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54407         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54408         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54409         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54411         ... here.
54412         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54414         ... here.
54415         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54417         ... here.
54418         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54420         ... here.
54421         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54423         ... here.
54424         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54426         ... here.
54427         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54429         ... here.
54430         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54433         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54434         definitions to architecture-specific files.
54435         (TLS_IE): Likewise.
54436         (TLS_LD): Likewise.
54437         (TLS_GD): Likewise.
54438         * sysdeps/i386/tls-macros.h: New file.
54439         * sysdeps/powerpc/tls-macros.h: Likewise.
54440         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54441         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54442         * sysdeps/sh/tls-macros.h: Likewise.
54443         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54444         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54445         * sysdeps/x86_64/tls-macros.h: Likewise.
54447 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54450         zero value for regular exit case.
54452         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54453         (__start_context): Preserve zero value for regular exit case.
54455 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54456             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54458         * manual/setjmp.texi (setcontext): Clarify normal process
54459         termination when uc_link is the null pointer.
54460         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54461         exit call.
54463 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54465         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54466         preprocessor.  Test for each exception mask separately.
54468 2012-07-16  Andreas Jaeger  <aj@suse.de>
54470         * po/ru.po: Update from translation team.
54472 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54474         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54475         equal to 0.
54476         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54477         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54478         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54479         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54480         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54482 2012-07-13  Andreas Jaeger  <aj@suse.de>
54484         * po/fr.po: Update from translation team.
54486 2012-07-12  Marek Polacek  <polacek@redhat.com>
54488         [BZ #14173]
54489         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54491         loop condition.
54493 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54495         [BZ #13717]
54496         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54497         Change to 2.4.1 where previously 2.4.0.
54498         * sysdeps/unix/sysv/linux/configure: Regenerated.
54499         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54500         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54501         version.
54502         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54503         (__ASSUME_AT_CLKTCK): Remove.
54504         (__ASSUME_AT_PAGESIZE): Likewise.
54505         (__ASSUME_AT_XID): Likewise.
54506         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54507         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54508         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54509         unconditionally.
54510         (HAVE_AUX_PAGESIZE): Likewise.
54511         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54512         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54513         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54515 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54517         [BZ #14307]
54518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54519         the temporary buffer used to invoke __gethostbyname2_r,
54520         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54521         host_data / struct gaih_addrtuple.
54522         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54523         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54524         header file nss/nsswitch.h.
54525         * nss/nsswitch.h (global scope): Add definition of implementation
54526         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54527         resolv/nss_dns/dns-host.c).
54529 2012-07-11  Andreas Jaeger  <aj@suse.de>
54531         * po/fr.po: Update from translation team.
54533         * po/sv.po: Update from translation team
54534         * po/fr.po: Another update from translation team.
54536 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54538         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54539         for subnormals or multiply small sinh result by itself.
54540         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54543 2012-07-11  David S. Miller  <davem@davemloft.net>
54545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54547 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54549         [BZ #14347]
54550         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54551         (INTERNAL_MARK): Shift it here.
54553 2012-07-10  Marek Polacek  <polacek@redhat.com>
54555         [BZ #14151]
54556         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54557         libc_cv_asm_global_directive with .globl.
54558         * configure: Regenerated.
54559         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54560         with .globl.
54561         * sysdeps/i386/configure: Regenerated.
54562         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54563         with .globl.
54564         * sysdeps/x86_64/configure: Regenerated.
54565         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54566         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54567         * elf/tst-unique2mod2.c: Likewise.
54568         * elf/tst-unique2mod1.c: Likewise.
54569         * elf/tst-unique1mod2.c: Likewise.
54570         * elf/tst-unique1mod1.c: Likewise.
54571         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54572         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54573         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54574         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54575         * sysdeps/mach/sysdep.h: Likewise.
54576         * sysdeps/i386/sysdep.h: Likewise.
54577         * sysdeps/i386/i386-mcount.S: Likewise.
54578         * sysdeps/x86_64/_mcount.S: Likewise.
54579         * sysdeps/x86_64/sysdep.h: Likewise.
54580         * sysdeps/sh/_mcount.S: Likewise.
54581         * sysdeps/sh/sysdep.h: Likewise.
54582         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54583         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54584         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54585         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54586         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54587         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54588         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54589         * locale/localeinfo.h: Likewise.
54590         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54591         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54593 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54595         [BZ #14336]
54596         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54597         system".
54598         * manual/message.texi (The Uniforum approach): Likewise.
54599         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54600         (glibc iconv Implementation): Likewise.
54602 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54604         [BZ #14337]
54605         * math/s_clog.c (__clog): Avoid scaling a value down where that
54606         could result in underflow.
54607         * math/s_clog10.c (__clog10): Likewise.
54608         * math/s_clog10f.c (__clog10f): Likewise.
54609         * math/s_clog10l.c (__clog10l): Likewise.
54610         * math/s_clogf.c (__clogf): Likewise.
54611         * math/s_clogl.c (__clogl): Likewise.
54612         * math/libm-test.inc (clog_test): Add more tests.
54613         (clog10_test): Likewise.
54614         * sysdeps/i386/fpu/libm-test-ulps: Update.
54615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54617 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54619         [BZ #14283]
54620         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54621         by 7 not 8 to examine high bit of fractional part.
54623         [BZ #14042]
54624         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54625         for call to __mcount_internal.
54626         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54627         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54628         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54630 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54632         [BZ #14154]
54633         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54634         approximation for values within 0x1p-13f of an odd multiple of
54635         pi/4.
54636         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54637         exception.  Add more tests.
54638         * sysdeps/i386/fpu/libm-test-ulps: Update.
54640         [BZ #6778]
54641         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54642         inputs and return -1 for them.  Do not check for +Inf in case not
54643         reachable for +Inf.
54644         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54645         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54646         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54647         and return -1 for them.  Do not check for +Inf in case not
54648         reachable for +Inf.
54649         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54650         define.
54651         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54652         and return -1 for them.  Do not check for +Inf in case not
54653         reachable for +Inf.
54654         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54655         spurious underflow.
54656         * sysdeps/i386/fpu/libm-test-ulps: Update.
54657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54659 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54661         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54663 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54665         [BZ #14157]
54666         [BZ #14331]
54667         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54668         could result in spurious underflow.  Scale down values above
54669         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54670         * math/s_csqrtf.c (__csqrtf): Likewise.
54671         * math/s_csqrtl.c (__csqrtl): Likewise.
54672         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54673         spurious underflow.
54674         * sysdeps/i386/fpu/libm-test-ulps: Update.
54675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54677 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54679         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54680         xopen-msg.sed.
54681         * catgets/xopen-msg.awk: New file.
54682         * catgets/xopen-msg.sed: Removed.
54684         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54685         po2text.sed.
54686         * intl/po2test.awk: New file.
54687         * intl/po2test.sed: Removed.
54689 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54691         [BZ #14328]
54692         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54693         or multiply small sinh result by itself.
54694         * math/s_ctanf.c (__ctanf): Likewise.
54695         * math/s_ctanh.c (__ctanh): Likewise.
54696         * math/s_ctanhf.c (__ctanhf): Likewise.
54697         * math/s_ctanhl.c (__ctanhl): Likewise.
54698         * math/s_ctanl.c (__ctanl): Likewise.
54699         * math/libm-test.inc (ctan_test_tonearest): New function.
54700         (ctan_test_towardzero): Likewise.
54701         (ctan_test_downward): Likewise.
54702         (ctan_test_upward): Likewise.
54703         (ctanh_test_tonearest): Likewise.
54704         (ctanh_test_towardzero): Likewise.
54705         (ctanh_test_downward): Likewise.
54706         (ctanh_test_upward): Likewise.
54707         (main): Call these new functions.
54708         * sysdeps/i386/fpu/libm-test-ulps: Update.
54709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54711 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54713         * .gitignore: Delete /ports entry.
54715 2012-07-03  Andreas Jaeger  <aj@suse.de>
54717         * po/bg.po: Update from translation team.
54718         * po/cs.po: Likewise.
54719         * po/de.po: Likewise.
54720         * po/hr.po: Likewise.
54721         * po/nl.pl: Likewise.
54722         * po/pl.po: Likewise.
54723         * po/vi.po: Likewise.
54725 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54727         * Makeconfig [!+link] (+link-before-libc): New variable.
54728         [!+link] (+link-after-libc): Likewise.
54729         [!+link] (+link-tests): Likewise.
54730         [!+link] (+link): Define in terms of $(+link-before-libc) and
54731         $(+link-after-libc).
54732         [!+link-static] (+link-static-before-libc): New variable.
54733         [!+link-static] (+link-static-after-libc): Likewise.
54734         [!+link-static] (+link-static-tests): Likewise.
54735         [!+link-static] (+link-static): Define in terms of
54736         $(+link-static-before-libc) and $(+link-static-after-libc).
54737         [build-shared] (link-libc-before-gnulib): New variable.
54738         [build-shared] (link-libc-tests): Likewise.
54739         [build-shared] (link-libc): Define in terms of
54740         $(link-libc-before-gnulib).
54741         [!build-shared] (link-libc-tests): New variable.
54742         (link-libc-static-tests): New variable.
54743         [!gnulib] (gnulib-arch): New variable.
54744         [!gnulib] (gnulib-tests): Likewise.
54745         [!gnulib] (static-gnulib-arch): Likewise.
54746         [!gnulib] (static-gnulib-tests): Likewise.
54747         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54748         Define with "=" instead of ":=".
54749         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54750         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54751         * Rules (binaries-all-notests): New variable.
54752         (binaries-all-tests): Likewise.
54753         (binaries-static-notests): Likewise.
54754         (binaries-static-tests): Likewise.
54755         (binaries-all): Define using $(binaries-all-notests) and
54756         $(binaries-all-tests).
54757         (binaries-static): Define using $(binaries-static-notests) and
54758         $(binaries-static-tests).
54759         (binaries-shared-tests): New variable.
54760         (binaries-shared-notests): Likewise.
54761         (binaries-shared): Remove variable.
54762         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54763         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54764         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54765         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54766         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54767         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54768         * elf/Makefile (sln-modules): New variable.
54769         (extra-objs): Add $(sln-modules:=.o).
54770         (ldconfig-modules): Add static-stubs.
54771         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54772         * elf/static-stubs.c: New file.
54774         [BZ #14283]
54775         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54776         by 7 not 8 to examine high bit of fractional part.  Use volatile
54777         variables when splitting into final array of floats if
54778         __FLT_EVAL_METHOD__ != 0.
54779         * math/libm-test.inc (cos_test): Add another test.
54780         (sin_test): Likewise.
54781         * sysdeps/i386/fpu/libm-test-ulps: Update.
54783         [BZ #14273]
54784         * math/libm-test.inc (cosh_test): Add more tests.
54786         * version.h (RELEASE): Set to "development".
54787         (VERSION): Set to "2.16.90".
54789 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54791         * NEWS: Update copyright. Remove last-updated date.
54792         Mention math library bug fixes and timezone data changes.
54793         * README: Mention GNU/Hurd, x32, and HPPA support status.
54795 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54797         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54799 2012-06-27  Andreas Jaeger  <aj@suse.de>
54801         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54803 2012-06-25  Andreas Jaeger  <aj@suse.de>
54805         * sysdeps/s390/fpu/libm-test-ulps: Update.
54807 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54808             Thomas Schwinge  <thomas@codesourcery.com>
54810         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54811         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54813         fanotify_mark.
54815 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54817         * sysdeps/mach/start.c: Remove file.
54818         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54819         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54820         * sysdeps/sh/init-first.c: Likewise.
54822         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54823         registers for frame unwinding purposes, add CFI directives.
54824         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54825         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54826         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54827         Likewise.
54829         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54830         __fortify_fail returning.
54831         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54833         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54834         sysdeps/sh/____longjmp_chk.S.
54835         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54836         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54837         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54838         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54840         * sysdeps/sh/abort-instr.h: New file.
54841         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54842         process in case exit returns.
54844         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54845         initialize the GOT register before use.
54847         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54848         calculation of ARGC > 4.
54850         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54851         meaningful names to some local labels.
54853 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54854             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54856         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54857         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54858         (__arch_compare_and_exchange_val_16_acq): Likewise.
54859         (__arch_compare_and_exchange_val_32_acq): Likewise.
54860         (atomic_exchange_and_add): Fix gUSA sequence.
54861         (atomic_add): Likewise.
54862         (atomic_add_negative): Likewise.
54863         (atomic_add_zero): Likewise.
54864         (atomic_bit_test_set): Likewise.
54866 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54868         [BZ #13579]
54869         * include/link.h (struct link_map): Add l_free_initfini.
54870         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54871         l_initfini.
54872         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54873         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54874         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54875         set.
54877 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54879         * configure.in: Use AC_LANG_SOURCE.
54880         * configure: Regenerate.
54882 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54884         * configure.in (libc_cv_localstatedir): New substituted variable.
54885         * configure: Regenerated.
54886         * config.make.in (localstatedir): New variable, substituted from
54887         libc_cv_localstatedir.
54888         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54889         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54890         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54891         * sysdeps/gnu/configure: Regenerated.
54893 2012-06-21  Jeff Law  <law@redhat.com>
54895         [BZ #14277]
54896         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54897         free.  Simplify list management for _LIBC case.
54899 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54901         [BZ #14273]
54902         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54903         Clear sign bit of 64-bit integer value before comparing against
54904         overflow value.
54906         * sysdeps/mach/configure: Regenerated.
54908 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54910         [BZ #14278]
54911         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54913 2012-06-21  Jeff Law  <law@redhat.com>
54915         [BZ #13882]
54916         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54917         uint16_t for elements in the "seen" array to avoid char overflows.
54918         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54919         * elf/dl-open.c (dl_open_worker): Likewise.
54921 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54923         * scripts/list-sources.sh: Scan PORTS for translations.
54924         * po/libc.pot: Regenerated.
54926 2012-06-21  Andreas Jaeger  <aj@suse.de>
54928         [BZ #12194]
54929         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54930         warning.
54931         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54932         * bits/byteswap-16.h (__bswap_16): Likewise.
54933         * bits/byteswap.h (__bswap_constant_16): Likewise.
54935 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54937         [BZ #14117]
54938         * sysdeps/i386/fpu_control.h: Removed.
54939         * sysdeps/x86_64/fpu_control.h: Moved to ...
54940         * sysdeps/x86/fpu_control.h: Here.
54942         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54943         (_FPU_SETCW): Likewise.
54945 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54947         [BZ #14117]
54948         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54949         * sysdeps/x86/fpu/bits/mathinline.h: This.
54950         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54952         [BZ #14050]
54953         [BZ #14117]
54954         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54955         functions if __x86_64__ is defined.
54957 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54959         * string/endian.h: Add !__ASSEMBLER__ condition for including
54960         conversion interfaces.
54962 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54964         [BZ #14241]
54965         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54966         of ABS(x) in calculating zero to negative powers other than odd
54967         integers.
54968         * math/libm-test.inc (pow_test): Add more tests.
54970 2012-06-15  Andreas Jaeger  <aj@suse.de>
54972         * manual/contrib.texi (Contributors): Update entry of Liubov
54973         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54974         Machado Filho.
54976 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54978         * string/string.h: Add __wur to GNU version of strerror_r.
54980 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54982         [BZ #14229]
54983         * string/Makefile (tests): Add tst-strtok_r.
54984         * string/tst-strtok_r.c: New file.
54985         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54986         RAX_LP/RDX_LP on SAVE_PTR.
54988 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54990         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54992 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54994         * libm_test.inc (csqrt_test): Allow more spurious underflow
54995         exceptions.
54996         (j0_test): Likewise.
54997         (j1_test): Likewise.
54998         (y0_test): Likewise.
54999         (y1_test): Likewise.
55001 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55003         * po/Makefile (libc.pot): Use UTF-8 charset.
55005 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55007         [BZ #14210]
55008         Suppress sign-conversion warning from FD_SET.
55009         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55010         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55011         not unsigned long int.
55012         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55014 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55016         [BZ #14050]
55017         [BZ #14117]
55018         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55019         __extern_always_inline instead of __extern_inline.
55020         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55021         (__signbit): Likewise.
55022         (__signbitl): Support C++ namespace.
55023         (lrintf): New inline function.
55024         (lrint): Likewise.
55025         (llrintf): Likewise.
55026         (llrint): Likewise.
55027         (fmaxf): Likewise.
55028         (fmax): Likewise.
55029         (fminf): Likewise.
55030         (fmin): Likewise.
55031         (rint): Likewise.
55032         (rintf): Likewise.
55033         (ceil): Likewise.
55034         (ceilf): Likewise.
55035         (floor): Likewise.
55036         (floorf): Likewise.
55037         (nearbyint): Likewise.
55038         (nearbyintf): Likewise.
55040 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55043         non-default versions.
55045 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55047         [BZ #14218]
55048         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55050 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55052         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55053         (FE_UPWARD, FE_DOWNWARD): Don't define.
55054         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55055         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55057         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55058         reading it.
55059         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55060         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55062 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55064         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55066         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55067         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55069 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55071         [BZ #14117]
55072         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55073         * sysdeps/i386/fpu/Implies: New file.
55074         * sysdeps/x86_64/fpu/Implies: Likewise.
55075         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55076         * sysdeps/x86/fpu/bits/fenv.h: This.
55078         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55079         __SSE_MATH__.
55081 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55083         [BZ #14134]
55084         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55085         character 0xffff that matches the last element of the
55086         conversion table.
55088 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55091         fmodl commit.
55093 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55095         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55096         values higher than 25.6283.
55098 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55101         subnormal exponent extraction and add some __builtin_expect.
55102         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55103         Fix for subnormal mantissa calculation.
55105 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55107         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55108         cpu2 is -1 and errno is not ENOSYS.
55110 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55112         [BZ #14117]
55113         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55114         * sysdeps/x86/bits/string.h: This.
55115         * sysdeps/x86_64/bits/string.h: Removed.
55117         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55118         if not compiling for x86-64, but compiling for >= i486.
55120         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55121         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55123         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55124         New macro from Linux kernel 3.4.0.
55125         (FP_XSTATE_MAGIC2): Likewise.
55126         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55127         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55128         (struct _fpx_sw_bytes): New struct.
55129         (struct _xsave_hdr): Likewise.
55130         (struct _ymmh_state): Likewise.
55131         (struct _xstate): Likewise.
55133         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55134         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55135         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55136         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55137         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55138         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55140         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55141         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55142         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55143         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55144         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55145         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55147 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55149         [BZ #13743]
55150         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55151         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55152         (sysdep_headers): Include sys/platform/ppc.h.
55153         * sysdeps/powerpc/test-gettimebase.c: Test for
55154         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55155         * manual/Makefile (appendices): Include platform.texi.
55156         * manual/contrib.texi (Contributors): Update @node pointers.
55157         * manual/maint.texi (Maintenance): Likewise.
55158         (Platform): New node.
55159         * manual/platform.texi: New file.  Document the new features.
55161 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55162             Jakub Jelinek  <jakub@redhat.com>
55164         [BZ #14188]
55165         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55166         where __builtin_expect is unavailable.
55168 2012-06-03  David S. Miller  <davem@davemloft.net>
55170         * stdlib/longlong.h: Updated from GCC.
55172 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55174         [BZ #14042]
55175         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55176         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55177         __mcount_internal.
55178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55179         (GLIBC_2.16): Likewise.
55181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55183         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55185 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55188         (default-abi): New variable.
55189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55190         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55191         variable.
55192         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55193         Likewise.
55194         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55195         Likewise.
55196         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55197         Likewise.
55199         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55200         definition.  Document in comment.
55202 2012-06-01  David S. Miller  <davem@davemloft.net>
55204         * stdlib/longlong.h: Updated from GCC.
55206 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55208         [BZ #14117]
55209         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55210         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55211         sys/debugreg.h sys/io.h here.
55212         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55213         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55214         sys/io.h.
55215         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55216         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55217         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55218         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55219         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55220         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55222         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55223         Define only if __x86_64__ is defined.
55225 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55227         [BZ #14048]
55228         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55229         Use int64_t for variable i.
55230         * math/libm-test.inc (fmod_test): Add more tests.
55232         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55233         z computation is not scheduled after fetestexcept.
55234         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55235         Use math_force_eval instead of asm to ensure calculation scheduled
55236         before exception test.
55237         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55238         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55240 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55242         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55243         computation is not scheduled after fetestexcept.
55245 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55247         [BZ #14117]
55248         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55249         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55251 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55253         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55254         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55256 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55258         [BZ #14117]
55259         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55260         <bits/wordsize.h>.
55261         (__WCHAR_MIN): Support __WORDSIZE == 64.
55262         (__WCHAR_MAX): Likewise.
55264         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55265         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55267         [BZ #14183]
55268         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55269         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55271         [BZ #14117]
55272         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55273         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55275         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55276         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55278         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55279         Defined to 1 if __x86_64__ isn't defined.
55280         (_STAT_VER_LINUX_OLD): New.
55281         (st_atime): Remove duplicate.
55282         (st_mtime): Likewise.
55283         (st_ctime): Likewise.
55285 2012-05-31  David S. Miller  <davem@davemloft.net>
55287         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55288         entries.
55290 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55292         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55293         gen-libm-test.pl.
55295         [BZ #14132]
55296         * elf/dl-reloc.c: Include <_itoa.h>.
55297         (_dl_reloc_bad_type): Remove use of INTUSE.
55298         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55299         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55300         * stdio-common/psiginfo.c (psiginfo): Likewise.
55301         * stdio-common/psignal.c (psignal): Likewise.
55302         * string/strsignal.c (strsignal): Likewise.
55303         * include/signal.h (_sys_siglist): Declare hidden proto.
55304         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55305         INTVARDEF with libc_hidden_data_def.
55306         * stdio-common/itoa-udigits.c: Likewise.
55307         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55308         (_itoa_lower_digits_internal): Remove declaration.
55309         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55310         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55311         (_sys_sigabbrev_internal): Remove aliases.
55312         (_sys_siglist): Define hidden alias.
55314 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55317         bits/sysctl.h.
55319 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55321         [BZ #14117]
55322         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55323         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55325         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55326         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55327         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55328         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55330         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55332         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55333         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55334         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55336         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55337         with __addr.
55338         (insw): Likewise.
55339         (insl): Likewise.
55340         (outsb): Likewise.
55341         (outsw): Likewise.
55342         (outsl): Likewise.
55344         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55345         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55346         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55348         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55349         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55350         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55351         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55352         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55353         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55355         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55356         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55358         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55359         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55361         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55362         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55363         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55365         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55366         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55367         to ...
55368         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55370         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55371         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55372         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55374         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55375         for x86-64.
55376         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55378 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55380         * math/math.h (M_El): Use two more decimal places.
55381         (M_LOG2El): Likewise.
55382         (M_LOG10El): Likewise.
55383         (M_LN2l): Likewise.
55384         (M_LN10l): Likewise.
55385         (M_PIl): Likewise.
55386         (M_PI_2l): Likewise.
55387         (M_PI_4l): Likewise.
55388         (M_1_PIl): Likewise.
55389         (M_2_PIl): Likewise.
55390         (M_2_SQRTPIl): Likewise.
55391         (M_SQRT2l): Likewise.
55392         (M_SQRT1_2l): Likewise.
55394 2012-05-31  David S. Miller  <davem@davemloft.net>
55396         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55397         values between float registers.
55398         * sysdeps/sparc/sparc64/memset.S: Likewise.
55399         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55401 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55403         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55404         -D_FORTIFY_SOURCE=1.
55405         (CPPFLAGS-tst-longjmp_chk.c): Define.
55406         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55407         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55408         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55409         CFLAGS-tst-wchar-h.c.
55411 2012-05-31  Marek Polacek  <polacek@redhat.com>
55413         [BZ #14132]
55414         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55415         __endmntent_internal): Remove declaration.
55416         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55417         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55418         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55420 2012-05-30  David S. Miller  <davem@davemloft.net>
55422         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55423         (___Q_simulate_exceptions): Use real FP ops rather than writing
55424         into the %fsr.
55425         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55426         Likewise.
55428 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55430         [BZ #14117]
55431         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55432         * sysdeps/x86/bits/xtitypes.h: This.
55434         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55435         * sysdeps/x86/bits/wordsize.h: This.
55437         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55438         * sysdeps/x86/bits/huge_vall.h: This.
55440         * sysdeps/i386/bits/select.h: Removed.
55441         * sysdeps/x86_64/bits/select.h: Renamed to ...
55442         * sysdeps/x86/bits/select.h: This.
55444         * sysdeps/i386/bits/setjmp.h: Removed.
55445         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55446         * sysdeps/x86/bits/setjmp.h: This.
55448         * sysdeps/i386/bits/mathdef.h: Removed.
55449         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55450         * sysdeps/x86/bits/mathdef.h: This.
55452 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55454         [BZ #14132]
55455         * include/sys/socket.h (__connect_internal)
55456         (__libc_sa_len_internal): Remove declaration.
55457         (__connect, __libc_sa_len): Declare hidden_proto.
55458         (SA_LEN): Remove use of INTUSE.
55459         * socket/connect.c: Add libc_hidden_def.
55460         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55461         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55462         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55463         alias.
55464         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55465         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55466         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55467         of adding _internal alias.
55469 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55471         [BZ #14117]
55472         * sysdeps/i386/bits/link.h: Removed.
55473         * sysdeps/i386/bits/linkmap.h: Likewise.
55474         * sysdeps/x86_64/bits/link.h: Renamed to ...
55475         * sysdeps/x86/bits/link.h: This.
55476         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55477         * sysdeps/x86/bits/linkmap.h: This.
55479         * sysdeps/i386/bits/endian.h: Removed.
55480         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55481         * sysdeps/x86/bits/endian.h: This.
55483         * sysdeps/i386/bits/byteswap.h: Removed.
55484         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55485         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55486         * sysdeps/x86/bits/byteswap.h: This.
55487         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55488         * sysdeps/x86/bits/byteswap-16.h: This.
55489         * sysdeps/i386/Implies: Add x86.
55490         * sysdeps/x86_64/Implies: Likewise.
55492 2012-05-30  David S. Miller  <davem@davemloft.net>
55494         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55495         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55496         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55497         (FP_TRAPPING_EXCEPTIONS): Define.
55498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55499         (FP_TRAPPING_EXCEPTIONS): Define.
55500         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55501         subnormals only when inexact has been signalled or underflow
55502         exceptions are enabled.
55503         (_FP_PACK_CANONICAL): Likewise.
55505 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55507         [BZ #14183]
55508         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55509         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55511 2012-05-30  Richard Henderson  <rth@twiddle.net>
55513         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55514         with #ifndef NOT_IN_libc.
55516         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55517         marked to avoid plt entry.
55519 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55521         [BZ #14112]
55522         * Makeconfig (default-abi): New macro.
55523         (abi-includes): Likewise.
55524         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55525         $(abi-$(default-abi)-lib-soname) for soname if defined.
55526         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55527         abi-variants.
55528         * Makefile (installed-stubs): Likewise.
55529         * include/stubs-biarch.h: Removed.
55530         * scripts/lib-names.awk: Only handle one library at a time.
55531         * scripts/soversions.awk: Remove WORDSIZE support.
55532         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55533         entries.
55534         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55535         Removed.
55536         (syscall-list-default-condition): Likewise.
55537         (syscall-list-default-condition): Likewise.
55538         (syscall-list-includes): Likewise.
55539         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55540         syscall-list-* with abi-*.  Handle undefined abi-variants.
55541         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55542         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55543         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55544         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55545         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55546         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55547         Removed.
55548         (syscall-list-32-options): Likewise.
55549         (syscall-list-32-condition): Likewise.
55550         (syscall-list-64-options): Likewise.
55551         (syscall-list-64-condition): Likewise.
55552         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55553         macro.
55554         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55555         Renamed to ...
55556         (abi-*): This.
55557         (abi-64-ld-soname): New macro.
55558         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55559         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55560         Renamed to ...
55561         (abi-*): This.
55562         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55563         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55565 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55567         * sysdeps/unix/sysv/linux/kernel-features.h
55568         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55569         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55570         include <kernel-features.h>.
55571         [!__NR_ftruncate64]: Remove conditional code.
55572         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55573         [__NR_ftruncate64]: Make code unconditional.
55574         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55575         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55576         include <kernel-features.h>.
55577         [!__NR_ftruncate64]: Remove conditional code.
55578         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55579         [__NR_ftruncate64]: Make code unconditional.
55580         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55582         include <kernel-features.h>.
55583         [!__NR_ftruncate64]: Remove conditional code.
55584         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55585         [__NR_ftruncate64]: Make code unconditional.
55586         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55588         include <kernel-features.h>.
55589         [!__NR_ftruncate64]: Remove conditional code.
55590         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55591         [__NR_ftruncate64]: Make code unconditional.
55592         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55594         * configure.in (libc_cv_fpie): Weaken to a compile test using
55595         LIBC_TRY_CC_OPTION.
55596         * configure: Regenerated.
55598 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55604         Refreshed.
55605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55611         Refreshed.
55613 2012-05-27  David S. Miller  <davem@davemloft.net>
55615         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55616         (___Q_zero): New.
55617         (__Q_simulate_exceptions): Return void.  Change to simulate
55618         exceptions by writing into the %fsr.
55619         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55620         (__Qp_handle_exceptions): Likewise.
55621         (numbers): Delete.
55622         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55623         __Qp_handle_exceptions.
55624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55625         __Qp_handle_exceptions.
55626         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55627         as unused and give dummy FP_RND_NEAREST initializer.
55628         (FP_INHIBIT_RESULTS): Define.
55629         (___Q_simulate_exceptions): Update declaration.
55630         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55631         formatting.
55632         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55633         as unused and give dummy FP_RND_NEAREST initializer.
55634         (__Qp_handle_exceptions): Update declaration.
55635         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55636         formatting.
55638 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55640         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55641         the temporary FPU control word.
55642         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55643         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55644         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55645         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55646         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55647         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55648         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55649         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55650         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55651         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55652         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55654 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55656         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55657         fields.
55659 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55661         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55662         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55663         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55664         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55665         Likewise.
55666         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55667         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55668         Likewise.
55670 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55672         * po/h.po: Update from translation team.
55674 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55676         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55678         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55679         handling of denormals.
55680         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55681         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55682         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55683         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55684         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55687         Likewise.
55689 2012-05-26  Marek Polacek  <polacek@redhat.com>
55691         [BZ #14152]
55692         * math/libm-test.inc (fma_test): Don't always expect underflow
55693         exception.
55695 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55697         [BZ #12416]
55698         * elf/tst-execstack.c: Include stackinfo.h.
55699         (do_test): Adjust test case to ensure that pthread_getattr_np
55700         behaviour remains the same after marking stack executable.
55702 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55704         * sysdeps/unix/sysv/linux/kernel-features.h
55705         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55706         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55707         kernel-features.h.
55708         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55709         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55710         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55711         kernel-features.h.
55712         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55713         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55715 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55717         * configure.in: Define the default includes to being none.
55718         * configure: Regenerated.
55720 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55722         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55723         * sysdeps/x86_64/setjmp.S: Likewise.
55724         * sysdeps/i386/bsd-setjmp.S: Likewise.
55725         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55726         * sysdeps/i386/setjmp.S: Likewise.
55727         * sysdeps/i386/__longjmp.S: Likewise.
55728         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55729         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55731         * include/stap-probe.h: New file.
55732         * configure.in: Handle --enable-systemtap.
55733         * configure: Regenerated.
55734         * config.h.in (USE_STAP_PROBE): New #undef.
55735         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55736         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55737         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55739 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55741         [BZ #13717]
55742         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55743         to 2.4.0 where earlier.
55744         * sysdeps/unix/sysv/linux/configure: Regenerated.
55745         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55746         <kernel-features.h>.
55747         [__ASSUME_32BITUIDS]: Make code unconditional.
55748         [!__ASSUME_32BITUIDS]: Remove conditional code.
55749         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55750         <kernel-features.h>.
55751         [__ASSUME_32BITUIDS]: Make code unconditional.
55752         [!__ASSUME_32BITUIDS]: Remove conditional code.
55753         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55754         [__ASSUME_32BITUIDS]: Make code unconditional.
55755         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55756         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55757         <kernel-features.h>.
55758         [__ASSUME_32BITUIDS]: Make code unconditional.
55759         [!__ASSUME_32BITUIDS]: Remove conditional code.
55760         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55761         <kernel-features.h>.
55762         [__ASSUME_32BITUIDS]: Make code unconditional.
55763         [!__ASSUME_32BITUIDS]: Remove conditional code.
55764         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55765         <kernel-features.h>.
55766         [__ASSUME_32BITUIDS]: Make code unconditional.
55767         [!__ASSUME_32BITUIDS]: Remove conditional code.
55768         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55769         <kernel-features.h>.
55770         [__ASSUME_32BITUIDS]: Make code unconditional.
55771         [!__ASSUME_32BITUIDS]: Remove conditional code.
55772         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55773         <kernel-features.h>.
55774         [__ASSUME_32BITUIDS]: Make code unconditional.
55775         [!__ASSUME_32BITUIDS]: Remove conditional code.
55776         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55777         <kernel-features.h>.
55778         [__ASSUME_32BITUIDS]: Make code unconditional.
55779         [!__ASSUME_32BITUIDS]: Remove conditional code.
55780         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55781         <kernel-features.h>.
55782         [__ASSUME_32BITUIDS]: Make code unconditional.
55783         [!__ASSUME_32BITUIDS]: Remove conditional code.
55784         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55785         <kernel-features.h>.
55786         [__ASSUME_32BITUIDS]: Make code unconditional.
55787         [!__ASSUME_32BITUIDS]: Remove conditional code.
55788         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55789         <kernel-features.h>.
55790         [__ASSUME_32BITUIDS]: Make code unconditional.
55791         [!__ASSUME_32BITUIDS]: Remove conditional code.
55792         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55793         <kernel-features.h>.
55794         [__ASSUME_32BITUIDS]: Make code unconditional.
55795         [!__ASSUME_32BITUIDS]: Remove conditional code.
55796         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55797         <kernel-features.h>.
55798         [__NR_setresgid] (__setresgid): Do not declare.
55799         [__ASSUME_32BITUIDS]: Make code unconditional.
55800         [!__ASSUME_32BITUIDS]: Remove conditional code.
55801         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55802         <kernel-features.h>.
55803         [__NR_setresuid] (__setresuid): Do not declare.
55804         [__ASSUME_32BITUIDS]: Make code unconditional.
55805         [!__ASSUME_32BITUIDS]: Remove conditional code.
55806         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55807         <kernel-features.h>.
55808         [__ASSUME_32BITUIDS]: Make code unconditional.
55809         [!__ASSUME_32BITUIDS]: Remove conditional code.
55810         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55811         <kernel-features.h>.
55812         [__ASSUME_32BITUIDS]: Make code unconditional.
55813         [!__ASSUME_32BITUIDS]: Remove conditional code.
55814         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55815         <kernel-features.h>.
55816         [__ASSUME_32BITUIDS]: Make code unconditional.
55817         [!__ASSUME_32BITUIDS]: Remove conditional code.
55818         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55819         <kernel-features.h>.
55820         [__ASSUME_32BITUIDS]: Make code unconditional.
55821         [!__ASSUME_32BITUIDS]: Remove conditional code.
55822         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55823         <kernel-features.h>.
55824         [__ASSUME_32BITUIDS]: Make code unconditional.
55825         [!__ASSUME_32BITUIDS]: Remove conditional code.
55826         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55827         <kernel-features.h>.
55828         [__ASSUME_32BITUIDS]: Make code unconditional.
55829         [!__ASSUME_32BITUIDS]: Remove conditional code.
55830         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55831         <kernel-features.h>.
55832         [__ASSUME_32BITUIDS]: Make code unconditional.
55833         [!__ASSUME_32BITUIDS]: Remove conditional code.
55834         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55835         <kernel-features.h>.
55836         [__ASSUME_32BITUIDS]: Make code unconditional.
55837         [!__ASSUME_32BITUIDS]: Remove conditional code.
55838         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55839         <kernel-features.h>.
55840         [__ASSUME_32BITUIDS]: Make code unconditional.
55841         [!__ASSUME_32BITUIDS]: Remove conditional code.
55842         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55843         <kernel-features.h>.
55844         [__ASSUME_32BITUIDS]: Make code unconditional.
55845         [!__ASSUME_32BITUIDS]: Remove conditional code.
55846         * sysdeps/unix/sysv/linux/kernel-features.h
55847         (__ASSUME_SETRESUID_SYSCALL): Remove.
55848         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55849         (__ASSUME_32BITUIDS): Likewise.
55850         (__ASSUME_LDT_WORKS): Likewise.
55851         (__ASSUME_O_DIRECTORY): Likewise.
55852         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55853         architecture but not kernel version.
55854         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55855         (__ASSUME_MMAP2_SYSCALL): Likewise.
55856         (__ASSUME_STAT64_SYSCALL): Likewise.
55857         (__ASSUME_IPC64): Likewise.
55858         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55859         <kernel-features.h>.
55860         [__ASSUME_32BITUIDS]: Make code unconditional.
55861         [!__ASSUME_32BITUIDS]: Remove conditional code.
55862         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55863         <kernel-features.h>.
55864         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55865         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55866         132096]: Remove conditional code.
55867         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55868         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55869         <kernel-features.h>.
55870         [__ASSUME_32BITUIDS]: Make code unconditional.
55871         [!__ASSUME_32BITUIDS]: Remove conditional code.
55872         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55873         <kernel-features.h>.
55874         [__ASSUME_32BITUIDS]: Make code unconditional.
55875         [!__ASSUME_32BITUIDS]: Remove conditional code.
55876         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55877         <kernel-features.h>.
55878         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55879         unconditional.
55880         (__setresgid): Do not declare.
55881         [__ASSUME_32BITUIDS]: Make code unconditional.
55882         [!__ASSUME_32BITUIDS]: Remove conditional code.
55883         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55884         <kernel-features.h>.
55885         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55886         unconditional.
55887         (__setresuid): Do not declare.
55888         [__ASSUME_32BITUIDS]: Make code unconditional.
55889         [!__ASSUME_32BITUIDS]: Remove conditional code.
55890         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55891         <kernel-features.h>.
55892         [__ASSUME_32BITUIDS]: Make code unconditional.
55893         [!__ASSUME_32BITUIDS]: Remove conditional code.
55894         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55895         <kernel-features.h>.
55896         [__ASSUME_32BITUIDS]: Make code unconditional.
55897         [!__ASSUME_32BITUIDS]: Remove conditional code.
55899 2012-05-25  Richard Henderson  <rth@twiddle.net>
55901         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55902         dl_hwcap to ifunc resolver.
55903         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55904         elf_ifunc_invoke.
55905         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55906         dl_hwcap to ifunc resolver.
55907         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55909 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55911         [BZ #14153]
55912         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55913         for |x| <= 2**-26, not 2**-57.
55914         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55915         exception.
55917 2012-05-24  Jeff Law  <law@redhat.com>
55919         * stdio-common/Makefile (tests): Add bug25.
55920         * stdio-common/bug25.c: New test.
55922 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55924         [BZ #13576]
55925         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55926         multiple of MALLOC_ALIGNMENT in size.
55927         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55929 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55931         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55932         Require >= 256.
55933         (FILENAME_MAX): Use macro-int-constant.
55934         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55935         (_IOFBF): Use macro-int-constant.
55936         (_IOLBF): Likewise.
55937         (_IONBF): Likewise.
55938         (SEEK_CUR): Likewise.
55939         (SEEK_END): Likewise.
55940         (SEEK_SET): Likewise.
55941         (TMP_MAX): Likewise.
55942         (EOF): Use macro-int-constant.  Require < 0.
55943         (NULL): Use macro-constant.  Require == 0.
55944         (stdin): Require type to be FILE *.
55945         (stdout): Likewise.
55946         (stderr): Likewise.
55947         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55948         macro-int-constant.
55949         (EXIT_SUCCESS): Likewise.
55950         (NULL): Use macro-constant.  Require == 0.
55951         (RAND_MAX): Use macro-int-constant.
55952         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55953         [C99-based standards] (strtof): Require function.
55954         [C99-based standards] (strtold): Likewise.
55955         [C99-based standards] (strtoll): Likewise.
55956         [C99-based standards] (strtoull): Likewise.
55957         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55958         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55959         [ISO || ISO99 || ISO11] (math.h): Likewise.
55960         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55961         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55962         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55964 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55966         [BZ #14132]
55967         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55968         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55969         * intl/dgettext.c (DCGETTEXT): Likewise.
55970         * intl/gettext.c (DCGETTEXT): Likewise.
55971         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55972         * posix/regex_internal.h (gettext): Likewise.
55973         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55974         Remove declaration.
55975         * include/argz.h (__argz_count_internal)
55976         (__argz_stringify_internal): Remove declaration.
55977         (__argz_count, __argz_stringify): Declare hidden proto.
55978         * intl/dcgettext.c: Remove use of INTDEF.
55979         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55980         * string/argz-stringify.c: Likewise.
55981         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55982         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55983         Declare hidden proto.
55984         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55985         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55986         Declare hidden proto.
55987         * include/stdio.h (__asprintf_internal): Don't declare.
55988         (__asprintf): Don't define as macro.  Declare hidden proto.
55989         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55990         (__fsetlocking): Declare hidden proto.
55991         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55992         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55993         hidden proto.
55994         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55995         (_IO_setlinebuf): Remove use of INTUSE.
55996         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55997         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55998         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55999         Remove declaration.
56000         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56001         (_IO_do_flush): Remove use of INTUSE.
56002         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56003         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56004         (_IO_adjust_column, _IO_least_wmarker)
56005         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56006         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56007         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56008         (_IO_default_doallocate, _IO_wdefault_doallocate)
56009         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56010         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56011         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56012         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56013         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56014         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56015         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56016         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56017         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56018         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56019         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56020         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56021         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56022         proto.
56023         (_IO_flush_all_internal, _IO_adjust_column_internal)
56024         (_IO_default_uflow_internal, _IO_default_finish_internal)
56025         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56026         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56027         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56028         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56029         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56030         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56031         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56032         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56033         (_IO_file_close_internal, _IO_file_close_it_internal)
56034         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56035         (_IO_file_init_internal, _IO_file_attach_internal)
56036         (_IO_file_fopen_internal, _IO_file_read_internal)
56037         (_IO_file_sync_internal, _IO_file_seek_internal)
56038         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56039         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56040         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56041         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56042         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56043         (_IO_list_all_internal, _IO_link_in_internal)
56044         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56045         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56046         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56047         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56048         (_IO_do_write_internal, _IO_padn_internal)
56049         (_IO_getline_info_internal, _IO_getline_internal)
56050         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56051         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56052         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56053         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56054         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56055         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56056         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56057         with libc_hidden_ver, remove use of INTUSE.
56058         * libio/genops.c: Likewise.
56059         * libio/freopen.c: Likewise.
56060         * libio/freopen64.c: Likewise.
56061         * libio/iofclose.c: Likewise.
56062         * libio/iofdopen.c: Likewise.
56063         * libio/iofflush.c: Likewise.
56064         * libio/iofflush_u.c: Likewise.
56065         * libio/iofgets.c: Likewise.
56066         * libio/iofgets_u.c: Likewise.
56067         * libio/iofopen.c: Likewise.
56068         * libio/iofopncook.c: Likewise.
56069         * libio/iofread.c: Likewise.
56070         * libio/iofread_u.c: Likewise.
56071         * libio/ioftell.c: Likewise.
56072         * libio/iofwrite.c: Likewise.
56073         * libio/iogetline.c: Likewise.
56074         * libio/iogets.c: Likewise.
56075         * libio/iogetwline.c: Likewise.
56076         * libio/iopadn.c: Likewise.
56077         * libio/iopopen.c: Likewise.
56078         * libio/ioseekoff.c: Likewise.
56079         * libio/ioseekpos.c: Likewise.
56080         * libio/iosetbuffer.c: Likewise.
56081         * libio/iosetvbuf.c: Likewise.
56082         * libio/ioungetc.c: Likewise.
56083         * libio/ioungetwc.c: Likewise.
56084         * libio/iovdprintf.c: Likewise.
56085         * libio/iovsprintf.c: Likewise.
56086         * libio/iovsscanf.c: Likewise.
56087         * libio/memstream.c: Likewise.
56088         * libio/obprintf.c: Likewise.
56089         * libio/oldfileops.c: Likewise.
56090         * libio/oldiofclose.c: Likewise.
56091         * libio/oldiofdopen.c: Likewise.
56092         * libio/oldiofopen.c: Likewise.
56093         * libio/oldiopopen.c: Likewise.
56094         * libio/oldstdfiles.c: Likewise.
56095         * libio/putc.c: Likewise.
56096         * libio/setbuf.c: Likewise.
56097         * libio/setlinebuf.c: Likewise.
56098         * libio/stdfiles.c: Likewise.
56099         * libio/strops.c: Likewise.
56100         * libio/vasprintf.c: Likewise.
56101         * libio/vscanf.c: Likewise.
56102         * libio/vsnprintf.c: Likewise.
56103         * libio/vswprintf.c: Likewise.
56104         * libio/wfiledoalloc.c: Likewise.
56105         * libio/wfileops.c: Likewise.
56106         * libio/wgenops.c: Likewise.
56107         * libio/wmemstream.c: Likewise.
56108         * libio/wstrops.c: Likewise.
56109         * libio/__fpurge.c: Likewise.
56110         * libio/__fsetlocking.c: Likewise.
56111         * assert/assert.c: Likewise.
56112         * debug/fgets_chk.c: Likewise.
56113         * debug/fgets_u_chk.c: Likewise.
56114         * debug/fread_chk.c: Likewise.
56115         * debug/fread_u_chk.c: Likewise.
56116         * debug/gets_chk.c: Likewise.
56117         * debug/obprintf_chk.c: Likewise.
56118         * debug/vasprintf_chk.c: Likewise.
56119         * debug/vdprintf_chk.c: Likewise.
56120         * debug/vsnprintf_chk.c: Likewise.
56121         * debug/vsprintf_chk.c: Likewise.
56122         * malloc/mtrace.c: Likewise.
56123         * misc/error.c: Likewise.
56124         * misc/syslog.c: Likewise.
56125         * stdio-common/asprintf.c: Likewise.
56126         * stdio-common/fxprintf.c: Likewise.
56127         * stdio-common/getw.c: Likewise.
56128         * stdio-common/isoc99_fscanf.c: Likewise.
56129         * stdio-common/isoc99_scanf.c: Likewise.
56130         * stdio-common/isoc99_vfscanf.c: Likewise.
56131         * stdio-common/isoc99_vscanf.c: Likewise.
56132         * stdio-common/isoc99_vsscanf.c: Likewise.
56133         * stdio-common/printf-prs.c: Likewise.
56134         * stdio-common/printf_fp.c: Likewise.
56135         * stdio-common/printf_fphex.c: Likewise.
56136         * stdio-common/printf_size.c: Likewise.
56137         * stdio-common/putw.c: Likewise.
56138         * stdio-common/scanf.c: Likewise.
56139         * stdio-common/sprintf.c: Likewise.
56140         * stdio-common/tmpfile.c: Likewise.
56141         * stdio-common/vfprintf.c: Likewise.
56142         * stdio-common/vfscanf.c: Likewise.
56143         * stdlib/strfmon_l.c: Likewise.
56144         * sunrpc/openchild.c: Likewise.
56145         * sunrpc/xdr_stdio.c: Likewise.
56146         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56147         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56149 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56151         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56153         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56154         in the third column, to generate for the shared library an IFUNC
56155         that uses _dl_vdso_vsym.
56156         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56157         * Makeconfig (object-suffixes-noshared): New variable.
56159         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56160         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56161         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56162         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56164         [BZ #14132]
56165         * include/sys/time.h (__gettimeofday): Remove macro.
56166         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56167         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56168         Remove INTDEF.
56169         (__gettimeofday): Add libc_hidden_def.
56170         (gettimeofday): Add libc_hidden_weak.
56171         * sysdeps/mach/gettimeofday.c: Likewise.
56172         * sysdeps/posix/gettimeofday.c: Likewise.
56173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56174         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56175         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56176         (__gettimeofday_internal): Remove strong_alias.
56177         (__gettimeofday): Add libc_hidden_def.
56178         (gettimeofday): Add libc_hidden_weak.
56179         * sysdeps/unix/syscalls.list (gettimeofday):
56180         Remove __gettimeofday_internal alias.
56182 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56183             H.J. Lu  <hongjiu.lu@intel.com>
56185         [BZ #12495]
56186         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56187         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56188         (largebin_index_32_big): New.
56189         (largebin_index): Use it for 16-byte alignment.
56190         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56191         correction with front_misalign.
56193 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56197         Likewise.
56198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56199         Likewise.
56200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56201         Likewise.
56202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56203         Likewise.
56204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56205         Likewise.
56206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56207         Likewise.
56208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56209         Likewise.
56210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56211         Likewise.
56212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56213         Likewise.
56214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56215         Likewise.
56216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56217         Likewise.
56218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56219         Likewise.
56221         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56222         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56224 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56226         [BZ #10846]
56227         [BZ #14036]
56228         * math/libm-test.inc (exp_test): Add test from bug 14036.
56229         (pow_test): Add test from bug 10846.
56231         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56232         and other flags.
56233         (special_function): Do not include flags in test name.
56234         (parse_args): Likewise.
56235         * sysdeps/i386/fpu/libm-test-ulps: Update.
56236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56238         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56241         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56242         exceptions.
56243         * math/libm-test.inc ("Philosophy"): Update comment about
56244         exception testing.
56245         (UNDERFLOW_EXCEPTION): New macro.
56246         (UNDERFLOW_EXCEPTION_OK): Likewise.
56247         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56248         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56249         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56250         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56251         (INVALID_EXCEPTION_OK): Update value.
56252         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56253         (OVERFLOW_EXCEPTION_OK): Likewise.
56254         (IGNORE_ZERO_INF_SIGN): Likewise.
56255         (test_exceptions): Handle underflow exceptions.
56256         (acos_test): Update for underflow exception expectations.
56257         (cexp_test): Likewise.
56258         (clog_test): Likewise.
56259         (clog10_test): Likewise.
56260         (csqrt_test): Likewise.
56261         (ctan_test): Likewise.
56262         (ctanh_test): Likewise.
56263         (exp_test): Likewise.
56264         (exp10_test): Likewise.
56265         (exp2_test): Likewise.
56266         (expm1_test): Likewise.
56267         (fma_test): Likewise.
56268         (j0_test): Likewise.
56269         (jn_test): Likewise.
56270         (nexttoward_test): Likewise.
56271         (pow_test): Likewise.
56272         (scalbn_test): Likewise.
56273         (scalbln_test): Likewise.
56274         (tan_test): Likewise.
56275         (y1_test): Likewise.
56276         * sysdeps/i386/fpu/libm-test-ulps: Update.
56277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56279 2012-05-23  David S. Miller  <davem@davemloft.net>
56281         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56282         (__libc_sigaction): Remove unused local variables.
56284 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56286         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56288 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56290         mktime: avoid signed integer overflow
56291         * time/mktime.c (__mktime_internal): Do not mishandle the case
56292         where diff == INT_MIN.
56294         mktime: simplify computation of average
56295         * time/mktime.c (ranged_convert): Use new time_t_avg function
56296         instead of rolling our own (probably-slower) code.
56298         mktime: do not assume signed right shift propagates sign bit
56299         * time/mktime.c (isdst_differ): New static function.
56300         (__mktime_internal): No need to normalize tm_isdst now.
56301         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56302         tm_isdst values.
56304         mktime: merge another wrapv change from gnulib
56305         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56306         from some compilers.
56308         mktime: remove incorrect attempt at unusual arithmetics
56309         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56310         The code didn't really work on such machines anyway.
56311         (TYPE_MINIMUM): Assume two's complement.
56312         (twos_complement_arithmetic): Verify that long_int and time_t
56313         are two's complement (or unsigned, in the latter case).
56315         mktime: check signed shifts on long_int and time_t, too
56316         * time/mktime.c (SHR): Check that shifts work as desired
56317         on the types long_int and time_t too, as SHR is used on
56318         such types.
56320         mktime: do not assume 'long' is wide enough
56321         * time/mktime.c (verify): Move decl up.
56322         (long_int): New type.
56323         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56324         to remove assumption in the code that 'long' is wide enough to
56325         store year values.  This assumption is not true on x32 and on
56326         some non-glibc platforms.
56328         mktime: merge wrapv change from gnulib
56329         * time/mktime.c (WRAPV): New macro.
56330         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56331         (guess_time_tm, __mktime_internal): Do not assume that signed
56332         integer overflow wraps around; modern compilers generate code
56333         where this assumption is no longer valid.
56335 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56337         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56338         Replace "jmp L(pseudo_end)" with "ret".
56339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56340         Likewise.
56342 2012-05-23  Andreas Jaeger  <aj@suse.de>
56344         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56345         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56347 2012-05-23  Andreas Jaeger  <aj@suse.de>
56348             Maximilian Attems  <max@stro.at>
56350         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56351         New macros.
56353 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56355         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56356         code so that pseudo_end is just ret and the stack pointer is
56357         correct also for static library in error case.
56359 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56361         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56362         move to syscalls.list.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56368         * manual/install.texi (Running make install): Do not mention Linux
56369         kernel version for which pt_chown is not needed.
56370         (Linux): Do not mention problems with nscd with 2.0 kernels.
56371         * INSTALL: Regenerated.
56373 2012-05-23  Andreas Jaeger  <aj@suse.de>
56375         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56376         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56377         macro.
56378         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56380         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56381         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56382         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56383         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56384         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56385         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56386         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56387         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56388         * sysdeps/unix/sysv/linux/bits/in.h
56389         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56391 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56393         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56394         (PREPARE_VERSION): Just use assert instead, it will be elided
56395         under [NDEBUG] anyway.
56397 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56399         * sysdeps/unix/sysv/linux/Makefile: Include
56400         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56401         (sysdep_routines): Remove sysctl.
56402         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56403         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56404         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56405         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56406         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56408 2012-05-22  Andreas Jaeger  <aj@suse.de>
56410         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56411         that pseudo_end is just ret and the stack pointer is correct also
56412         for static library in error case.
56414 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56416         [BZ #14122]
56417         * nss/nsswitch.c (defconfig_entries): New variable.
56418         (__nss_database_lookup): Don't leak defconfig entries.
56419         (nss_parse_service_list): Don't leak on error paths.
56420         (free_database_entries): New function.
56421         (free_defconfig): New function.
56422         (free_mem): Move common code to free_database_entries.
56424 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56426         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56427         Add arch_prctl.
56428         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56431         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56433         New macro.
56434         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56435         (INTERNAL_SYSCALL_TYPES): Likewise.
56436         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56437         (LOAD_REGS_TYPES_[1-6]): Likewise.
56438         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56439         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56441 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56443         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56444         copysignl for GLIBC_2_0.
56445         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56446         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56448         logbl for GLIBC_2_0.
56449         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56450         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56452 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56455         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56457         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56458         Use "neg %eax".
56460         * time/mktime.c: Update copyright years.
56462 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56464         mktime: merge comment-quoting-style change from gnulib
56465         * time/mktime.c: Quote 'like this' in comments.
56466         The GNU coding standards suggest that we no longer quote `like this',
56467         as "`" and "'" are typically rendered asymmetrically nowadays.
56468         The typical gnulib style is to quote 'like this' when quoting
56469         code, and "like this" when quoting English.
56471         * time/mktime.c (compile-command): Add "-I.".
56473         mktime: merge mktime-internal.h change from gnulib
56474         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56476         mktime: merge time_r change from gnulib
56477         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56479         mktime: merge DEBUG change from gnulib
56480         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56481         case system <time.h> has a #define.
56483         mktime: merge <sys/types.h> change from gnulib
56484         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56485         since <time.t> is now guaranteed to define time_t.
56487         mktime: merge HAVE_CONFIG_H change from gnulib
56488         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56490 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56493         Use "neg %eax".
56495         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56496         __rlim_t cast.
56497         (struct rusage): Use anonymous union to pad each field to
56498         __syscall_slong_t.
56500 2012-05-21  David S. Miller  <davem@davemloft.net>
56502         * Makefules (o-iterator): Remove .s cases.
56503         (compile-command.s): Delete.
56504         (COMPILE.s): Delete.
56505         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56507 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56509         * configure.in (libc_cv_predef_stack_protector): Only consider
56510         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56511         * configure: Regenerated.
56513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56516         New macro.  Use R*LP on int and pointer.
56517         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56518         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56519         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56520         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56522         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56523         [__WORDSIZE_TIME64_COMPAT32] instead of
56524         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56525         (struct utmp): Likewise.
56526         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56527         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56528         Renamed to ...
56529         (__WORDSIZE_TIME64_COMPAT32): This.
56530         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56531         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56532         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56533         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56534         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56535         (__WORDSIZE_TIME64_COMPAT32): New macro.
56537 2012-05-21  Andreas Jaeger  <aj@suse.de>
56539         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56540         only if [SHARED]. Add prototype for __wcschr_ia32.
56542 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56544         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56545         of %rbp unmolested in the jmp_buf while mangling the low bits.
56546         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56547         unmolested high bits of %rbp while demangling the low bits.
56548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56550 2012-05-21  Andreas Jaeger  <aj@suse.de>
56552         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56553         * sunrpc/svc_simple.c: Use it for registerrpc.
56554         * sunrpc/xcrypt.c: Use it for passwd2des.
56556         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56558 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56560         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56561         Don't define if [__SYSCALL_WORDSIZE != 32].
56562         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56563         New macro.
56565 2012-05-21  Bruno Haible  <bruno@clisp.org>
56566             Andreas Jaeger  <aj@suse.de>
56568         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56569         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56570         inptr and inend for must_buffer_ch.
56571         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56572         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56573         * stdio-common/Makefile (tests): Remove bug15.
56574         (bug15-ENV): Remove macro.
56575         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56576         anymore.
56578 2012-05-19  Andreas Jaeger  <aj@suse.de>
56579             Roland McGrath  <roland@hack.frob.com>
56581         * manual/contrib.texi: Completely rewritten. It contains now an
56582         alphabetical list of contributors and their contributions.
56584 2012-05-21  Richard Henderson  <rth@twiddle.net>
56586         * misc/getauxval.c (__getauxval): Use unsigned long int.
56587         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56588         (getauxval): Use unsigned long int.
56590 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56592         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56594 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56596         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56597         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56598         __alignof__ (long double).
56600 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56604 2012-05-20  Richard Henderson  <rth@twiddle.net>
56606         * misc/getauxval.c: New file.
56607         * misc/sys/auxv.h: New file.
56608         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56609         (routines): Add getauxval.
56610         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56611         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56612         * elf/dl-sysdep.c (_dl_auxv): Remove.
56613         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56614         * elf/dl-support.c (_dl_auxv): New variable.
56615         (_dl_aux_init): Initialize it.
56616         * manual/startup.texi (Auxiliary Vector): New node.
56617         * sysdeps/generic/bits/hwcap.h: New file.
56618         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56619         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56620         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56621         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56622         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56623         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56625         Update.
56626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56635 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56639 2012-05-19  David S. Miller  <davem@davemloft.net>
56641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56643 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56645         [BZ #14123]
56646         * math/s_ccosh.c: Include <float.h>
56647         (__ccosh): Avoid internal overflow calculating sinh and cosh
56648         values before multiplying by sin and cos values.
56649         * math/s_ccoshf.c: Likewise.
56650         * math/s_ccoshl.c: Likewise.
56651         * math/s_csin.c: Likewise.
56652         * math/s_csinf.c: Likewise.
56653         * math/s_csinl.c: Likewise.
56654         * math/s_csinh.c: Likewise.
56655         * math/s_csinhf.c: Likewise.
56656         * math/s_csinhl.c: Likewise.
56657         * math/libm-test.inc (ccos_test): Add more tests.
56658         (ccosh_test): Likewise.
56659         (csin_test): Likewise.
56660         (csinh_test): Likewise.
56661         * sysdeps/i386/fpu/libm-test-ulps: Update.
56662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56664 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56666         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56667         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56669         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56671 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56673         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56674         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56675         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56676         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56677         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56678         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56679         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56680         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56681         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56682         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56683         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56684         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56685         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56686         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56687         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56688         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56689         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56690         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56691         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56692         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56693         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56694         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56695         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56696         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56697         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56698         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56699         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56700         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56701         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56702         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56703         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56705 2012-05-18  Andreas Jaeger  <aj@suse.de>
56707         * csu/.gitignore: Delete.
56709 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56711         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56712         (timex): Use __syscall_slong_t.
56714 2012-05-18  Andreas Jaeger  <aj@suse.de>
56715             Carlos O'Donell  <carlos_odonell@mentor.com>
56717         * manual/install.texi (Configuring and compiling): Update
56718         description about files modified in the source directory.
56719         * INSTALL: Regenerated.
56721 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56723         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56724         value.  Use "or" to set return value to -1.
56725         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56726         negate return value.
56728 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56730         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56731         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56732         failure if the compiler has Graphite support disabled.
56733         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56734         Likewise.
56735         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56736         (CFLAGS-memmove.c): Likewise.
56737         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56738         Likewise.
56740 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56742         * sysdeps/x86_64/x32/_itoa.h: New file.
56744         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56745         getdents system call only if kernel and user dirents have the
56746         same d_ino and d_off.
56748         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56749         LLONG_MAX != LONG_MAX.
56750         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56751         (_fitoa_word): Likewise.
56753         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56754         years.
56755         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56756         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56757         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56759         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56760         include <bits/wordsize.h>.  Check __x86_64__ instead of
56761         __WORDSIZE.
56762         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56763         if __x86_64__ is defined.  Use anonymous union on fpstate.
56765         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56766         anonymous union.
56768 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56770         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56771         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56772         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56773         Refer to _rtld_local_ro instead of _rtld_global_ro.
56774         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56775         Likewise.
56776         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56777         Likewise.
56778         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56779         Likewise.
56780         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56781         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56782         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56784         [BZ #10882]
56785         * sysdeps/powerpc/powerpc32/dl-machine.c
56786         (__elf_machine_runtime_setup) [PROF]: Don't reference
56787         _dl_prof_resolve.
56789 2012-05-18  Andreas Jaeger  <aj@suse.de>
56791         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56792         function only available for GCCs before 3.4 since GCC 3.4
56793         introduced a builtin.
56794         (lrint): Likewise.
56795         (llrintf): Likewise.
56796         (llrint): Likewise.
56797         (fmaxf): Likewise.
56798         (fmax): Likewise.
56799         (fminf): Likewise.
56800         (fmin): Likewise.
56801         (rint): Likewise.
56802         (rintf): Likewise.
56803         (nearbyint): Likewise.
56804         (nearbyintf): Likewise.
56805         (ceil): Likewise.
56806         (ceilf): Likewise.
56807         (floor): Likewise.
56808         (floorf): Likewise.
56810 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56812         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56813         on both fields and cast pointer to __syscall_ulong_t.
56815         * bits/types.h (__fsword_t): New type.
56816         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56817         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56819         (__FSWORD_T_TYPE): Likewise.
56820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56821         (__FSWORD_T_TYPE): Likewise.
56822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56823         (__FSWORD_T_TYPE): Likewise.
56824         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56825         (__FSWORD_T_TYPE): Likewise.
56826         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56827         __SWORD_TYPE with __fsword_t.
56828         (statfs64): Likewise.
56830 2012-05-17  David S. Miller  <davem@davemloft.net>
56832         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56834 2012-05-17  Andreas Jaeger  <aj@suse.de>
56836         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56837         warning.
56839 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56841         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56843 2012-05-17  Andreas Jaeger  <aj@suse.de>
56845         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56846         when it is used.
56848 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56850         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56852 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56854         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56855         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56857 2012-05-17  Andreas Jaeger  <aj@suse.de>
56858             Carlos O'Donell  <carlos_odonell@mentor.com>
56860         [BZ #14059]
56861         * sysdeps/x86_64/multiarch/init-arch.h
56862         (bit_YMM_Usable): Rename to...
56863         (bit_AVX_Usable): ... this.
56864         (bit_FMA4_Usable): New macro.
56865         (bit_XMM_state): New macro.
56866         (bit_YMM_state): New macro.
56867         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56868         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56869         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56870         (CPUID_OSXSAVE): New macro.
56871         (CPUID_AVX): New macro.
56872         (CPUID_FMA4): New macro.
56873         (index_YMM_Usable): Rename to...
56874         (index_AVX_Usable): ... this.
56875         (HAS_AVX): Use HAS_ARCH_FEATURE.
56876         (HAS_FMA4): Likewise.
56877         (HAS_YMM_USABLE): Remove.
56878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56879         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56880         are present.
56881         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56882         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56883         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56884         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56885         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56887 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56889         * math/libm-test.c: Support platforms without multiple rounding modes.
56890         * math/bug-nextafter.c: Support platforms without FP exceptions.
56891         * math/bug-nexttoward.c: Likewise.
56892         * math/test-fenv.c: Likewise.
56893         * math/test-misc.c: Likewise.
56894         * stdlib/bug-getcontext.c: Likewise.
56896 2012-05-17  Andreas Jaeger  <aj@suse.de>
56898         * manual/examples/search.c (critter_cmp): Change signature to
56899         avoid warnings.
56900         * manual/string.texi (Collation Functions): Likewise.
56902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56904         * bits/types.h: Fold copyright years.
56905         * bits/typesizes.h: Likewise.
56906         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56907         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56910         * time/time.h: Likewise.
56912 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56914         [BZ #208]
56915         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56916         in instead of returning them.  Return void.
56917         (__libc_mallinfo): Accumulate over all arenas.
56918         (__malloc_stats): Adjust for change in int_mallinfo interface.
56920 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56922         [BZ #10375]
56923         * configure.in (NM): Add AC_CHECK_TOOL for it.
56924         (libc_extra_cflags): New substituted variable.
56925         Check for -fstack-protector being used implicitly.
56926         * configure: Regenerated.
56927         * config.make.in (config-extra-cflags): New variable,
56928         gets @libc_extra_cflags@.
56929         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56931         [BZ #10375]
56932         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56933         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56934         * configure: Regenerated.
56935         * config.make.in (CPPUNDEFS): New substituted variable.
56936         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56937         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56938         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56942         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56943         (mq_attr): Use __syscall_slong_t.
56945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56947         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56948         Check __x86_64__ instead of __WORDSIZE.
56949         (_STAT_VER_LINUX): Likewise.
56950         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56951         __syscall_ulong_t and __syscall_slong_t.
56952         (stat64): Likewise.
56954 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56960         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56964         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56965         __syscall_ulong_t.
56967         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56968         include <bits/wordsize.h>.  Check __x86_64__ instead of
56969         __WORDSIZE.
56970         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56971         defined.
56972         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56974         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56975         include <bits/wordsize.h>.  Check __x86_64__ instead of
56976         __WORDSIZE.
56977         (user_regs_struct): Use "__extension__ unsigned long long"
56978         instead of "unsigned long" if __x86_64__ is defined.
56979         (user): Likewise.  Pad after pointer field if __ILP32__ is
56980         defined.
56982 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56984         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56985         versions 5 to 9.
56986         * configure: Regenerated.
56987         * manual/install.texi (texinfo): Increase version requirement to
56988         4.5 or later.
56989         * INSTALL: Regenerated.
56991         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56995         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56997         * sysdeps/x86_64/x32/ffs.c: New file.
56999         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57000         __syscall_ulong_t.
57001         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57002         defined.  Use __syscall_ulong_t.
57003         (shminfo): Use __syscall_ulong_t.
57004         (shm_info): Likewise.
57006         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57007         __syscall_ulong_t.
57009         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57010         <bits/wordsize.h>.
57011         (msgqnum_t): Use __syscall_ulong_t.
57012         (msglen_t): Likewise.
57013         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57014         __syscall_ulong_t.
57016         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57017         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57019         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57021         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57022         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57024         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57025         __syscall_slong_t.
57027         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57028         include <bits/wordsize.h>.  Check __x86_64__ instead of
57029         __WORDSIZE.
57031         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57032         "unsigned long long int" if __x86_64__ is defined.
57033         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57035         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57036         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57037         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57039         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57040         <stdint.h>.
57041         (GET_PC): Cast to uintptr_t first.
57042         (GET_FRAME): Likewise.
57043         (GET_STACK): Likewise.
57045         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57046         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57047         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57048         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57049         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57050         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57051         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57052         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57053         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57054         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57055         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57056         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57057         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57058         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57059         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57060         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57061         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57062         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57063         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57064         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57065         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57066         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57067         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57068         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57069         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57070         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57071         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57072         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57073         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57075 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57077         * Makerules (+depfiles): Also collect depfiles from .oS in
57078         $(extra-objs).
57079         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57080         .oS, $(libnldbl-routines)).
57082         * Makerules (native-compile-mkdep-flags): Define.
57083         * sunrpc/Makefile (extra-objs): Add $(addprefix
57084         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57085         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57086         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57087         calling $(make-target-directory).
57089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57091         * bits/types.h (__snseconds_t): Removed.
57092         * time/time.h (struct timespec): Replace __snseconds_t with
57093         __syscall_slong_t.
57094         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57095         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57096         Likewise.
57097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57098         (__SNSECONDS_T_TYPE): Likewise.
57099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57100         (__SNSECONDS_T_TYPE): Likewise.
57101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57102         (__SNSECONDS_T_TYPE): Likewise.
57104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57106         * sysdeps/mach/hurd/bits/typesizes.h
57107         (__SYSCALL_SLONG_TYPE): New macro.
57108         (__SYSCALL_ULONG_TYPE): Likewise.
57110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57112         * bits/types.h (__syscall_slong_t): New type.
57113         (__syscall_ulong_t): Likewise.
57115         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57116         (__SYSCALL_ULONG_TYPE): Likewise.
57117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57118         (__SYSCALL_SLONG_TYPE): Likewise.
57119         (__SYSCALL_ULONG_TYPE): Likewise.
57120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57121         (__SYSCALL_SLONG_TYPE): Likewise.
57122         (__SYSCALL_ULONG_TYPE): Likewise.
57123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57124         (__SYSCALL_SLONG_TYPE): Likewise.
57125         (__SYSCALL_ULONG_TYPE): Likewise.
57127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57129         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57130         Add sigaltstack-offsets.sym.
57131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57132         <sigaltstack-offsets.h>.
57133         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57134         longjmp_msg pointer.
57135         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57136         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57137         signal stack.
57138         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57140 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57142         * elf/stackguard-macros.h: Remove file.
57143         * sysdeps/generic/stackguard-macros.h: New file.
57144         * sysdeps/i386/stackguard-macros.h: Likewise.
57145         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57146         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57147         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57148         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57149         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57150         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57151         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57152         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57153         <elf/stackguard-macros.h>.
57155         [BZ #14109]
57156         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57157         __aligned__ in attribute.
57158         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57159         (gregset_t): Likewise.
57161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57163         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57164         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57165         * sysdeps/x86_64/x32/Implies-after: New file.
57167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57169         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57170         and access return value for _dl_profile_fixup.  Use R10_LP to
57171         load frame size.
57173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57175         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57179         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57180         * sysdeps/x86_64/x32/sysdep.h: New file.
57182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57184         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57185         * sysdeps/x86_64/setjmp.S: Likewise.
57187 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57189         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57190         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57191         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57193         remove unused global constant.
57195 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57197         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57198         include of <not-cancel.h>.
57200 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57202         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57204 2012-05-15  Jeff Law  <law@redhat.com>
57205             Andreas Jaeger  <aj@suse.de>
57207         [BZ #13594]
57208         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57209         out from...
57210         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57211         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57212         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57213         code changing __hst_map_handle.map.
57215 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57217         * configure.in (sysnames): Look for Implies-before and Implies-after
57218         files.
57219         * configure: Regenerated.
57221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57223         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57224         8-byte data alignment with LP_SIZE alignment.
57226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57228         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57229         into R10_LP.
57231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57233         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57237         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57238         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57240         Likewise.
57241         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57245         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57246         (stackinfo_sub_sp): Likewise.
57248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57250         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57251         RAX_LP.
57253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57256         into R*_LP.
57258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57261         sizes into R*_LP.
57263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57265         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57269         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57270         into R11_LP and load __x86_64_shared_cache_size_half into
57271         R8_LP.
57273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57275         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57276         R8_LP.
57278 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57280         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57281         logb for POWER7.
57282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57283         logbf for POWER7.
57284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57285         logbl for POWER7.
57286         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57287         powerpc32/power7/fpu/s_logb.c via #include.
57288         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57289         powerpc32/power7/fpu/s_logbf.c via #include.
57290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57291         powerpc32/power7/fpu/s_logbl.c via #include.
57293 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57295         * README.libm: Remove file.
57297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57299         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57300         count for x32.  Use R*_LP and omit operand-size suffix.
57302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57304         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57305         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57306         * sysdeps/x86_64/x32/shlib-versions: New file.
57308 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57310         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57311         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57312         Use _dl_fatal_printf instead.
57314 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57316         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57317         set if not set by the user.  Do not allow for being unset.
57318         * sysdeps/unix/sysv/linux/configure: Regenerated.
57320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57322         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57323         the `q' suffix from lea and replace .quad with ASM_ADDR.
57325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57328         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57329         instead of $17.
57330         (PTR_DEMANGLE): Likewise.
57332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57334         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57335         (LP_OP): Likewise.
57336         (ASM_ADDR): Likewise.
57337         (RAX_LP): Likewise.
57338         (RBP_LP): Likewise.
57339         (RBX_LP): Likewise.
57340         (RCX_LP): Likewise.
57341         (RDI_LP): Likewise.
57342         (RSI_LP): Likewise.
57343         (RSP_LP): Likewise.
57344         (R8_LP): Likewise.
57345         (R9_LP): Likewise.
57346         (R10_LP): Likewise.
57347         (R10_LP): Likewise.
57348         (R11_LP): Likewise.
57349         (R12_LP): Likewise.
57350         (R13_LP): Likewise.
57351         (R14_LP): Likewise.
57352         (R15_LP): Likewise.
57354 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57356         * sysdeps/x86_64/x32/dl-machine.h: New file.
57358 2012-05-14  Andreas Jaeger  <aj@suse.de>
57360         * manual/Makefile (subdir): Remove export of subdir.
57361         (all): Remove target.
57362         (.PHONY): Remove all from list.
57363         (mkinstalldirs): Remove.
57364         (.PHONY): Remove installdirs from list.
57365         ($(inst_infodir)/libc.info): Use make-target-directory.
57366         (installdirs): Remove.
57367         (subdir_%): Remove.
57368         (glibc-targets): Remove.
57369         (lib): Remove.
57370         (stubs): Remove.
57371         ($(objpfx)stubs ../po/manual.pot): Remove.
57372         ($(objpfx)stamp%): Remove.
57373         (make-target-directory): Remove.
57374         (subdir_install): Remove.
57375         (routines): Remove.
57376         (aux): Remove.
57377         (sources): Remove.
57378         (objects): Remove.
57379         (headers): Remove.
57381         [BZ #13750]
57382         * manual/.gitignore: Remove, it's not needed anymore.
57383         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57384         all files in it.
57385         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57386         directory.
57387         (texis): Renamed to $(objpfx)texis.
57388         (texis-path): New, contains path to generated files.
57389         (chapters.%): Use texis-path for complete path, add extra argument
57390         libc-texinfo.sh.
57391         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57392         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57393         (summary,texi, stamp-summary): Use complete path of
57394         files. Generate files in build dir.
57395         (dir-add.texi): Build in build dir.
57396         (libm-err.texi,stamp-libm-err): Likewise.
57397         (version.texi, stamp-version): Likewise.
57398         (.%c.texi): Likewise.
57399         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57400         (mostlyclean): Remove target.
57401         (realclean): Remove target.
57402         (generated): Add new variable with contents from mostlyclean and
57403         realclean, remove entries duplicated in common-mostlyclean, add
57404         stamp-libm-err and stamp-version.
57405         (generated-dirs): Add libc directory.
57406         ($(inst_infodir)/libc.info): Install files from build dir.
57408         * manual/install.texi (Configuring and compiling): Adjust since
57409         the info files are not part of the tar ball anymore.
57411 2012-05-14  Andreas Jaeger  <aj@suse.de>
57413         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57414         variable.
57416 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57418         [BZ #13717]
57419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57420         to 2.2.0 where earlier.
57421         * sysdeps/unix/sysv/linux/configure: Regenerated.
57422         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57423         Remove conditional code.
57424         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57425         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57426         Remove conditional code.
57427         [!__NR_lchown]: Likewise.
57428         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57429         [__NR_lchown]: Likewise.
57430         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57431         comment referencing __ASSUME_LCHOWN_SYSCALL.
57432         * sysdeps/unix/sysv/linux/i386/sigaction.c
57433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57435         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57436         Remove conditional code.
57437         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57438         (__protocol_available): Remove #if 0 code.
57439         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57440         conditional code.
57441         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57442         * sysdeps/unix/sysv/linux/kernel-features.h
57443         (__ASSUME_GETCWD_SYSCALL): Don't define.
57444         (__ASSUME_REALTIME_SIGNALS): Likewise.
57445         (__ASSUME_PREAD_SYSCALL): Likewise.
57446         (__ASSUME_PWRITE_SYSCALL): Likewise.
57447         (__ASSUME_POLL_SYSCALL): Likewise.
57448         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57449         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57450         non-SPARC.
57451         (__ASSUME_SIOCGIFNAME): Don't define.
57452         (__ASSUME_MSG_NOSIGNAL): Likewise.
57453         (__ASSUME_SENDFILE): Define unconditionally.
57454         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57455         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57456         conditional code.
57457         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57458         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57459         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57460         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57461         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57462         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57463         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57465         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57477         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57480         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57483         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57488         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57489         Remove conditional code.
57490         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57491         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57492         Remove conditional code.
57493         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57494         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57495         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57496         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57497         Remove conditional code.
57498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57499         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57500         Remove conditional code.
57501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57502         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57503         Remove conditional code.
57504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57505         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57506         Remove conditional code.
57507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57508         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57509         Remove conditional code.
57510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57511         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57512         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57513         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57514         * sysdeps/unix/sysv/linux/sigaction.c
57515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57517         * sysdeps/unix/sysv/linux/sigpending.c
57518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57520         * sysdeps/unix/sysv/linux/sigprocmask.c
57521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57523         * sysdeps/unix/sysv/linux/sigsuspend.c
57524         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57525         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57526         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57527         (__libc_missing_rt_sigs): Remove.
57528         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57529         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57530         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57531         Remove conditional code.
57532         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57533         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57534         return 1.
57535         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57536         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57537         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57538         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57540 2012-05-14  Andreas Jaeger  <aj@suse.de>
57542         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57543         it's not used in glibc.
57544         (__coshm1): Likewise.
57545         (__acosh1p): Likewise.
57546         (__sgn): Likewise.
57548         * manual/string.texi (Copying and Concatenation): Add missing
57549         variable in concat example.
57550         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57554         [BZ #14103]
57555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57556         __builtin_clzl with __builtin_clzll.
57558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57560         [BZ #14104]
57561         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57562         libc_freeres_ptr.
57564 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57566         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57567         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57568         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57571 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57573         * NEWS: Update ia64 info.
57575 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57577         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57578         used as bcopy.
57580 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57582         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57583         * sysdeps/unix/syscalls.list (dup3): Likewise.
57584         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57585         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57587 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57589         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57590         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57592 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57594         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57595         thread pointer.
57596         (TLS_IE): Use mov/add instead of movq/addq to load thread
57597         pointer.
57598         (TLS_GD_PREFIX): New.
57599         (TLS_GD): Use it.
57601 2012-05-11  David S. Miller  <davem@davemloft.net>
57603         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57604         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57605         (_FPU_SETCW): Likewise.
57607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57609         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57610         is 32-byte aligned.
57612 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57614         [BZ #11837]
57615         * iconvdata/gb18030.c: Update tables.
57616         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57617         characters specially.
57618         (BODY for TO_LOOP): Add encoding of missing ranges.
57620 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57622         [BZ #13673]
57623         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57624         * sysdeps/mach/hurd/dup3.c: Likewise.
57625         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57626         * sysdeps/powerpc/memmove.c:: Likewise.
57628 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57630         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57631         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57633 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57635         * elf/elf.h (R_X86_64_RELATIVE64): New.
57636         (R_X86_64_NUM): Updated.
57637         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57638         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57639         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57640         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57641         tst-quad1pie tst-quad2pie
57642         (modules-names): Add tst-quadmod1 tst-quadmod2.
57643         ($(objpfx)tst-quad1): New dependency.
57644         ($(objpfx)tst-quad2): Likewise.
57645         ($(objpfx)tst-quad1pie): Likewise.
57646         ($(objpfx)tst-quad2pie): Likewise.
57647         * sysdeps/x86_64/tst-quad1.c: New file.
57648         * sysdeps/x86_64/tst-quad1pie.c: New file.
57649         * sysdeps/x86_64/tst-quad2.c: Likewise.
57650         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57651         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57652         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57653         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57654         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57658         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57659         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57660         * streams/stropts.h (t_scalar_t): Define type.
57662         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57663         (_PATH_PRESERVE): Set to "/var/lib".
57664         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57666         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57667         instead of int.
57669         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57670         if __dir_mkfile succeeded.
57672         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57673         checking for _hurd_dtablesize.  Unlock it right after having
57674         finished _hurd_dtable allocation.
57676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57678         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57679         * sysdeps/mach/hurd/configure: Regenerated.
57680         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57681         special-casing to...
57682         * sysdeps/gnu/configure.in: ... this new file.
57683         * sysdeps/unix/sysv/linux/configure: Regenerated.
57684         * sysdeps/gnu/configure: New generated file.
57686         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57687         for Linux: use nsec instead of usec, as well as:
57688         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57689         members of type struct timespec.
57690         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57691         New macros.
57692         (struct stat64): Likewise.
57693         (_STATBUF_ST_NSEC): New macro.
57694         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57696         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57697         __strtoul_internal rather than strtoul.
57699 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57701         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57702         and reject them.
57704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57706         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57707         which preserves existing values.
57708         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57710 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57712         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57713         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57714         greater than FD_SETSIZE.
57716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57718         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57719         allocated, call __vm_protect to finish enabling the existing space, and
57720         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57721         allocate the remainder.
57723 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57725         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57726         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57730         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57731         sysdeps/mach/hurd/readlink.c.
57733         * posix/tst-sysconf.c (posix_options): Only use
57734         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57735         _POSIX_SYNCHRONIZED_IO when they are defined
57736         * sysdeps/mach/hurd/bits/posix_opt.h:
57737         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57738         (_XOPEN_REALTIME): Undefine macro.
57739         (_XOPEN_REALTIME_THREADS): Undefine macro.
57740         (_XOPEN_SHM): Undefine macro.
57741         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57742         macro to -1.
57743         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57744         macro to -1.
57745         (_POSIX_ASYNC_IO): Undefine macro.
57746         (_POSIX_PRIORITIZED_IO): Undefine macro.
57747         (_POSIX_SPIN_LOCKS): Define macro to -1.
57749         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57750         SA_NODEFER, SA_RESETHAND.
57751         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57752         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57753         F_DUPFD_CLOEXEC.
57755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57757         * elf/Makefile (pldd-modules): Define unconditionally.
57759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57761         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57765         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57766         Return ENOENT when name is empty.
57767         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57771         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57773         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57775 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57777         Fix mlock in all cases except non-readable pages.
57778         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57779         instead of VM_PROT_ALL as parameter to __vm_wire function.
57781         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57782         (__mkdir): When path is `/', just fail with EEXIST.
57783         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57787         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57788         <sys/uio.h> (for writev).
57789         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57790         and <sys/param.h> (for MIN).
57792 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57794         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57795         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57796         if interrupted.
57798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57800         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57801         Depend on against $(link-rpcuserlibs).
57803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57805         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57806         (__libc_stack_end): Do not use attribute_relro.
57807         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57808         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57809         to libthread-provided value.
57810         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57811         attribute_relro.
57813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57815         [BZ #3748]
57816         * bits/libc-lock.h (__libc_once_get): New macro.
57817         * sysdeps/mach/bits/libc-lock.h: Likewise.
57818         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57820         instead of using implementation details.
57822         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57823         * libio/freopen.c: Likewise.
57824         * libio/freopen64.c: Likewise.
57825         * misc/syslog.c: Likewise.
57826         * nscd/connections.c: Likewise.
57827         * nscd/netgroupcache.c: Likewise.
57828         * sysdeps/posix/getcwd.c: Likewise.
57830 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57832         * math/w_ilogbf.c: Add #include <limits.h>.
57834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57836         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57837         path instead of returning without unlocking.
57839         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57840         immediate-write ioctls.
57841         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57845         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57846         __builtin_frame_address instead of making assumptions about the
57847         location of the return address relative to DATA.  Force early load of
57848         the return address.
57849         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57850         __builtin_frame_address.
57852         dup3 for GNU Hurd.
57853         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57854         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57855         implement dup3 and do some further code clean-ups.
57856         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57857         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57861         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57863         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57864         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57865         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57866         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57867         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57868         d->port.lock.
57870         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57871         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57872         when handler == SIG_ERR, not when handler != SIG_ERR.
57874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57876         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57877         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57878         definitions.
57880         accept4 for GNU Hurd.
57881         * include/sys/socket.h (__libc_accept4): New prototype.
57882         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57883         to implement __libc_accept4.
57884         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57885         __libc_accept4.
57886         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57888         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57889         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57890         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57891         signal-defines.sym.
57893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57895         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57899         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57900         assertion on O_CLOEXEC flag.
57901         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57902         * hurd/intern-fd.c: Likewise.
57903         * hurd/port2fd.c: Likewise.
57905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57907         [BZ #3906]
57908         * bits/in.h (IPV6_PKTINFO): Define new macro.
57909         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57911 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57913         [BZ #13954]
57914         [BZ #13955]
57915         [BZ #13956]
57916         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57918         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57919         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57921         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57922         * math/libm-test.inc (logb_test) : Additional logb tests.
57924 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57925             Andreas Jaeger  <aj@suse.de>
57927         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57928         * configure: Regenerated.
57929         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57930         * config.make.in (link-obsolete-rpc): New substituted variable.
57931         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57932         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57933         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57934         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57935         so that libc.a contains the symbols.
57936         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57937         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57938         * sunrpc/auth_none.c: Likewise.
57939         * sunrpc/auth_unix.c: Likewise.
57940         * sunrpc/authdes_prot.c: Likewise.
57941         * sunrpc/authuxprot.c: Likewise.
57942         * sunrpc/clnt_gen.c: Likewise.
57943         * sunrpc/clnt_perr.c: Likewise.
57944         * sunrpc/clnt_raw.c: Likewise.
57945         * sunrpc/clnt_simp.c: Likewise.
57946         * sunrpc/clnt_tcp.c: Likewise.
57947         * sunrpc/clnt_udp.c: Likewise.
57948         * sunrpc/clnt_unix.c: Likewise.
57949         * sunrpc/des_crypt.c: Likewise.
57950         * sunrpc/des_soft.c: Likewise.
57951         * sunrpc/get_myaddr.c: Likewise.
57952         * sunrpc/key_call.c: Likewise.
57953         * sunrpc/key_prot.c: Likewise.
57954         * sunrpc/netname.c: Likewise.
57955         * sunrpc/pm_getmaps.c: Likewise.
57956         * sunrpc/pm_getport.c: Likewise.
57957         * sunrpc/pmap_clnt.c: Likewise.
57958         * sunrpc/pmap_prot.c: Likewise.
57959         * sunrpc/pmap_prot2.c: Likewise.
57960         * sunrpc/pmap_rmt.c: Likewise.
57961         * sunrpc/publickey.c: Likewise.
57962         * sunrpc/rpc_cmsg.c: Likewise.
57963         * sunrpc/rpc_common.c: Likewise.
57964         * sunrpc/rpc_dtable.c: Likewise.
57965         * sunrpc/rpc_prot.c: Likewise.
57966         * sunrpc/rpc_thread.c: Likewise.
57967         * sunrpc/rtime.c: Likewise.
57968         * sunrpc/svc.c: Likewise.
57969         * sunrpc/svc_auth.c: Likewise.
57970         * sunrpc/svc_raw.c: Likewise.
57971         * sunrpc/svc_run.c: Likewise.
57972         * sunrpc/svc_tcp.c: Likewise.
57973         * sunrpc/svc_udp.c: Likewise.
57974         * sunrpc/svc_unix.c: Likewise.
57975         * sunrpc/svcauth_des.c: Likewise.
57976         * sunrpc/xcrypt.c: Likewise.
57977         * sunrpc/xdr.c: Likewise.
57978         * sunrpc/xdr_array.c: Likewise.
57979         * sunrpc/xdr_float.c: Likewise.
57980         * sunrpc/xdr_intXX_t.c: Likewise.
57981         * sunrpc/xdr_mem.c: Likewise.
57982         * sunrpc/xdr_rec.c: Likewise.
57983         * sunrpc/xdr_ref.c: Likewise.
57984         * sunrpc/xdr_sizeof.c: Likewise.
57985         * sunrpc/xdr_stdio.c: Likewise.
57987 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57990         change.  Update copyright years.
57992 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57994         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57996 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57997             Joseph Myers  <joseph@codesourcery.com>
57998             Paul Pluzhnikov  <ppluzhnikov@google.com>
58000         [BZ #14012]
58001         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58002         requiring rpcgen.
58003         [cross-compiling] (extra-libs): Likewise.
58004         [cross-compiling] (extra-libs-others): Likewise.
58005         [cross-compiling] (librpcsvc-routines): Likewise.
58006         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58007         [cross-compiling] (omit-deps): Likewise.
58008         (sunrpc-CPPFLAGS): New variable.
58009         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58010         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58011         (cross-rpcgen-objs): New variable.
58012         (extra-objs): Append $(cross-rpcgen-objs).
58013         ($(cross-rpcgen-objs)): New rule.
58014         ($(objpfx)cross-rpcgen): Likewise.
58015         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58016         comment.
58017         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58018         ($(objpfx)x%.stmp): Likewise.
58019         * sunrpc/proto.h [IS_IN_build] (_): Define.
58020         [IS_IN_build] (_libc_intl_domainname): Likewise.
58022 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58025         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58026         and R_X86_64_TPOFF64.
58028 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58030         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58031         sysdeps/unix/sysv/syscalls.list.
58032         (stime): Likewise.
58033         (utime): Likewise.
58034         * sysdeps/unix/sysv/syscalls.list: Remove file.
58036 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58038         [BZ #3440]
58039         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58040         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58041         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58042         (__LC_IDENTIFICATION): Make these macros useful in #if
58043         expressions, as required by C99.
58045 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58047         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58048         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58049         after this.
58051 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58053         * stdlib/longlong.h: Updated from GCC.
58055 2012-05-09  Andreas Jaeger  <aj@suse.de>
58057         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58058         default is first entry.
58059         (run_mode): Set type.
58060         (main): Remove informal message about syslog.
58061         (options): Fix typo.
58063         [BZ #14053]
58064         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58065         to asm.
58066         (lrint): Likewise.
58067         (llrintf): Likewise.
58068         (llrint): Likewise.
58069         (rint): Likewise.
58070         (rintf): Likewise.
58071         (nearbyint): Likewise.
58072         (nearbyintf): Likewise.
58074 2012-05-09  Andreas Jaeger  <aj@suse.de>
58075             Pedro Alves  <palves@redhat.com>
58077         * nscd/nscd.c (run_mode): Use enum.
58078         (main): Cleanup coding style issue.
58080 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58081             Andreas Jaeger  <aj@suse.de>
58083         * nscd/nscd.c (go_background): Replaced with...
58084         (run_mode): ... this.
58085         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58086         (options): Add -F --foreground.
58087         (main): Implement it.
58088         (parse_opt): Parse it.
58090 2012-05-09  Andreas Jaeger  <aj@suse.de>
58092         [BZ #14083]
58093         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58094         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58095         -Wconversion warning.
58096         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58097         Likewise.
58099 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58101         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58102         == 0.
58103         (LC_ALL): Use macro-int-constant.
58104         (LC_COLLATE): Likewise.
58105         (LC_CTYPE): Likewise.
58106         (LC_MESSAGES): Likewise.
58107         (LC_MONETARY): Likewise.
58108         (LC_NUMERIC): Likewise.
58109         (LC_TIME): Likewise.
58110         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58111         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58113         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58114         Specify type.
58115         [C99-based standards] (float_t): Expect type.
58116         [C99-based standards] (double_t): Expect type.
58117         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58118         type.
58119         [C99-based standards] (HUGE_VALL): Likewise.
58120         [C99-based standards] (INFINITY): Likewise.
58121         [C99-based standards] (NAN): Likewise.
58122         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58123         [C99-based standards] (FP_NAN): Likewise.
58124         [C99-based standards] (FP_NORMAL): Likewise.
58125         [C99-based standards] (FP_SUBNORMAL): Likewise.
58126         [C99-based standards] (FP_ZERO): Likewise.
58127         [C99-based standards] (FP_FAST_FMA): Use
58128         optional-macro-int-constant.  Specify type.  Require == 1.
58129         [C99-based standards] (FP_FAST_FMAF): Likewise.
58130         [C99-based standards] (FP_FAST_FMAL): Likewise.
58131         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58132         [C99-based standards] (FP_ILOGBNAN): Likewise.
58133         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58134         Specify type.
58135         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58136         [C99-based standards] (math_errhandling): Specify type.
58137         [ISO99 || ISO11] (signgam): Do not allow.
58138         [non-C99-based standards] (copysignf): Do not allow.
58139         [non-C99-based standards] (exp2f): Likewise.
58140         [non-C99-based standards] (log2f): Likewise.
58141         [non-C99-based standards] (modff): Allow.
58142         [non-C99-based standards] (erff): Do not allow.
58143         [non-C99-based standards] (erfcf): Likewise.
58144         [non-C99-based standards] (gammaf): Likewise.
58145         [non-C99-based standards] (hypotf): Likewise.
58146         [non-C99-based standards] (j0f): Likewise.
58147         [non-C99-based standards] (j1f): Likewise.
58148         [non-C99-based standards] (jnf): Likewise.
58149         [non-C99-based standards] (lgammaf): Likewise.
58150         [non-C99-based standards] (tgammaf): Likewise.
58151         [non-C99-based standards] (y0f): Likewise.
58152         [non-C99-based standards] (y1f): Likewise.
58153         [non-C99-based standards] (ynf): Likewise.
58154         [non-C99-based standards] (isnanf): Likewise.
58155         [non-C99-based standards] (acoshf): Likewise.
58156         [non-C99-based standards] (asinhf): Likewise.
58157         [non-C99-based standards] (atanhf): Likewise.
58158         [non-C99-based standards] (cbrtf): Likewise.
58159         [non-C99-based standards] (expm1f): Likewise.
58160         [non-C99-based standards] (ilogbf): Likewise.
58161         [non-C99-based standards] (log1pf): Likewise.
58162         [non-C99-based standards] (logbf): Likewise.
58163         [non-C99-based standards] (nextafterf): Likewise.
58164         [non-C99-based standards] (remainderf): Likewise.
58165         [non-C99-based standards] (rintf): Likewise.
58166         [non-C99-based standards] (scalbf): Likewise.
58167         [non-C99-based standards] (copysignl): Likewise.
58168         [non-C99-based standards] (exp2l): Likewise.
58169         [non-C99-based standards] (log2l): Likewise.
58170         [non-C99-based standards] (modfl): Allow.
58171         [non-C99-based standards] (erfl): Do not allow.
58172         [non-C99-based standards] (erfcl): Likewise.
58173         [non-C99-based standards] (gammal): Likewise.
58174         [non-C99-based standards] (hypotl): Likewise.
58175         [non-C99-based standards] (j0l): Likewise.
58176         [non-C99-based standards] (j1l): Likewise.
58177         [non-C99-based standards] (jnl): Likewise.
58178         [non-C99-based standards] (lgammal): Likewise.
58179         [non-C99-based standards] (tgammal): Likewise.
58180         [non-C99-based standards] (y0l): Likewise.
58181         [non-C99-based standards] (y1l): Likewise.
58182         [non-C99-based standards] (ynl): Likewise.
58183         [non-C99-based standards] (isnanl): Likewise.
58184         [non-C99-based standards] (acoshl): Likewise.
58185         [non-C99-based standards] (asinhl): Likewise.
58186         [non-C99-based standards] (atanhl): Likewise.
58187         [non-C99-based standards] (cbrtl): Likewise.
58188         [non-C99-based standards] (expm1l): Likewise.
58189         [non-C99-based standards] (ilogbl): Likewise.
58190         [non-C99-based standards] (log1pl): Likewise.
58191         [non-C99-based standards] (logbl): Likewise.
58192         [non-C99-based standards] (nextafterl): Likewise.
58193         [non-C99-based standards] (remainderl): Likewise.
58194         [non-C99-based standards] (rintl): Likewise.
58195         [non-C99-based standards] (scalbl): Likewise.
58196         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58197         [non-C99-based standards] (FP_*): Do not allow.
58198         [C99-based standards] (FP_*): Change to
58199         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58200         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58201         allow.
58202         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58203         (SIG_ERR): Likewise.
58204         [X/Open-based standards] (SIG_HOLD): Likewise.
58205         (SIG_IGN): Likewise.
58206         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58207         positive value.
58208         (SIGFPE): Likewise.
58209         (SIGILL): Likewise.
58210         (SIGINT): Likewise.
58211         (SIGSEGV): Likewise.
58212         (SIGTER): Likewise.
58213         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58214         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58215         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58216         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58217         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58218         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58219         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58220         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58221         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58222         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58223         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58224         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58225         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58226         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58227         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58228         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58229         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58230         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58231         [X/Open-based standards] (SIGTRAP): Likewise.
58232         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58233         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58234         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58235         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58236         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58237         allow.
58239 2012-05-08  Ian Wienand  <ianw@vmware.com>
58241         [BZ #14080]
58242         * time/tzset.c (__tzset_parse_tz): Update default rules for
58243         daylight time changes in the Energy Policy Act of 2005.
58245 2012-05-09  Andreas Jaeger  <aj@suse.de>
58247         [BZ #13983]
58248         * elf/ldconfig.c (parse_conf): Change string to make clear that
58249         ldconfig only issued a warning if ld.so.conf does not exist.
58251 2012-05-08  David S. Miller  <davem@davemloft.net>
58253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58254         movxtod instead of popping the value on the stack.
58256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58258 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58260         * config.h.in: Add HAVE_ARM_PCS_VFP.
58262 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58264         [BZ #13979]
58265         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58266         checking but the checks are disabled for any reason.
58268 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58270         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58271         and ELF64_R_TYPE with ELFW(R_TYPE).
58273 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58275         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58276         (ulimit): Likewise.
58278         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58279         (settimeofday): Likewise.
58281 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58283         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58284         a struct th_u2 inside the union, and move tu_block/tu_code into
58285         a new th_u3 union of tu_block/tu_code inside of that.  Move
58286         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58287         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58288         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58289         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58290         (th_stuff): Change to th_u1.tu_stuff.
58291         (th_data): Define.
58292         (th_msg): Change to th_u1.th_u2.tu_data.
58294 2012-05-07  David S. Miller  <davem@davemloft.net>
58296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58298         [BZ #14074]
58299         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58300         (SETUP_PIC_REG): Use it.
58301         (SETUP_PIC_REG_LEAF): Use it.
58303 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58305         [BZ #13885]
58306         [BZ #13923]
58307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58308         USE_AS_EXPM1L.
58309         (EXPL_FINITE): Likewise.
58310         (FLDLOG): Likewise.
58311         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58312         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58313         e_expl.S.
58314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58315         USE_AS_EXPM1L.
58316         (EXPL_FINITE): Likewise.
58317         (FLDLOG): Likewise.
58318         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58319         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58320         e_expl.S.
58321         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58322         test of -max_value argument for long double.
58323         * sysdeps/i386/fpu/libm-test-ulps: Update.
58324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58326 2012-05-06  David S. Miller  <davem@davemloft.net>
58328         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58329         quad soft-float symbols whose references which are compiler
58330         generated.
58331         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58333 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58335         [BZ #13884]
58336         [BZ #13914]
58337         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58338         USE_AS_EXP10L.
58339         (EXPL_FINITE): Likewise.
58340         (FLDLOG): Likewise.
58341         (c0): Likewise.
58342         (c1): Likewise.
58343         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58344         Adjust comments for base varying.
58345         (__expl_finite): Change alias to EXPL_FINITE.
58346         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58347         e_expl.S.
58348         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58349         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58350         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58351         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58353         USE_AS_EXP10L.
58354         (EXPL_FINITE): Likewise.
58355         (FLDLOG): Likewise.
58356         (c0): Likewise.
58357         (c1): Likewise.
58358         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58359         Adjust comments for base varying.
58360         (__expl_finite): Change alias to EXPL_FINITE.
58361         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58362         tests for bugs.
58363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58365         [BZ #14064]
58366         * math/libm-test.inc (check_float_internal): Correct ulp
58367         calculation for subnormal expected results.
58369 2012-05-06  Andreas Jaeger  <aj@suse.de>
58371         * Makeconfig (+math-flags): New, set to -frounding-math.
58372         (+cflags): Add +math-flags so that all of glibc gets compiled with
58373         it.
58375         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58377 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58379         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58380         Disable one test.
58382         [BZ #13787]
58383         [BZ #13922]
58384         [BZ #14036]
58385         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58386         (__ieee754_expl): Allow for and saturate large arguments.
58387         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58388         (u_threshold): Likewise.
58389         (__exp): Call __ieee754_exp before checking for overflow and
58390         underflow.
58391         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58392         (u_threshold): Likewise.
58393         (__expf): Call __ieee754_expf before checking for overflow and
58394         underflow.
58395         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58396         (u_threshold): Likewise.
58397         (__expl): Call __ieee754_expl before checking for overflow and
58398         underflow.
58399         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58400         (__ieee754_expl): Allow for and saturate large arguments.
58401         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58402         missing overflow exception on overflow.
58403         (expm1_test): Do not allow missing overflow exception on overflow.
58405         * sysdeps/i386/fpu/e_expl.c: Move to ...
58406         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58407         rather than using inline asm.
58408         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58409         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58410         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58412         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58413         (nice): Likewise.
58414         (poll): Likewise.
58415         (signal): Likewise.
58416         (time): Likewise.
58417         (times): Likewise.
58419 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58421         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58422         sysdeps/unix/common/syscalls.list.
58423         (fchmod): Likewise.
58424         (fchown): Likewise.
58425         (ftruncate): Likewise.
58426         (getrusage): Likewise.
58427         (gettimeofday): Likewise.
58428         (setpgid): Likewise.
58429         (setregid): Likewise.
58430         (setreuid): Likewise.
58431         (sigaction): Likewise.
58432         (truncate): Likewise.
58433         (vhangup): Likewise.
58434         * sysdeps/unix/common/syscalls.list: Remove file.
58435         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58436         * sysdeps/unix/sysv/linux/Implies: Likewise.
58438 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58440         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58442         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58443         Moved to ...
58444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58445         Here.
58446         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58447         to ...
58448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58449         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58450         to ...
58451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58452         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58453         to ...
58454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58455         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58456         to ...
58457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58458         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58459         to ...
58460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58461         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58462         to ...
58463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58464         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58465         to ...
58466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58467         Here.
58468         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58469         to ...
58470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58471         Here.
58472         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58473         to ...
58474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58475         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58476         Moved to ...
58477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58478         Here.
58479         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58480         to ...
58481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58483 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58485         * sysdeps/unix/common/bits/dirent.h: Remove file.
58486         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58488         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58489         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58490         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58491         * sysdeps/unix/bsd/isatty.c: Likewise.
58492         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58493         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58494         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58496 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58498         [BZ #13563]
58499         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58500         long double comparison inaccuracies.
58501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58504 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58506         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58509 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58511         [BZ #14049]
58512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58513         nonzero digits before rounding a hex value.
58514         * stdlib/tst-strtod.c (tests): Add another test.
58516 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58518         * sysdeps/s390/fpu/libm-test-ulps: Update.
58520 2012-05-03  Andreas Jaeger  <aj@suse.de>
58522         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58523         does not get optimized out.
58524         (malloc_opt_barrier): New.
58526 2012-05-03  Andreas Jaeger  <aj@suse.de>
58527             Roland McGrath  <roland@hack.frob.com>
58529         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58530         intermediate file deletion.
58531         (generated): Add .symlist files.
58533 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58535         [BZ #13775]
58536         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58537         Redirect under this condition.
58538         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58539         [__USE_GNU] (__dprintf_chk): Not under this condition.
58540         [__USE_GNU] (__vdprintf_chk): Likewise.
58541         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58542         under this condition.
58543         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58544         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58545         [__USE_XOPEN2K8] (vdprintf): Likewise.
58546         [__USE_GNU] (__dprintf_chk): Not under this condition.
58547         [__USE_GNU] (__vdprintf_chk): Likewise.
58548         [__USE_GNU] (dprintf): Likewise.
58549         [__USE_GNU] (vdprintf): Likewise.
58551 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58553         * elf/Makefile (common-generated): Set this instead of generated for
58554         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58555         $(all-built-dso)-derived lists.
58557 2012-05-03  Andreas Jaeger  <aj@suse.de>
58559         * sysdeps/i386/fpu/libm-test-ulps: Update.
58561         * FAQ: Removed.
58562         * FAQ.in: Likewise.
58563         * scripts/gen-FAQ.pl: Likewise.
58564         * manual/install.texi (Installation): Point to online location of
58565         FAQ.
58566         * Makefile (files-for-dist): Remove FAQ.
58567         (FAQ): Remove.
58569 2012-05-02  Allan McRae  <allan@archlinux.org>
58571         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58572         (LDFLAGS-reldepmod5.so): Likewise.
58573         (LDFLAGS-reldep6mod1.so): Likewise.
58574         (LDFLAGS-reldep6mod4.so): Likewise.
58575         (LDFLAGS-reldep8mod3.so): Likewise.
58576         (LDFLAGS-unload4mod1.so): Likewise.
58577         (LDFLAGS-unload4mod2.so): Likewise.
58578         (LDFLAGS-tst-initorder): Likewise.
58579         (LDFLAGS-tst-initordera2.so): Likewise.
58580         (LDFLAGS-tst-initordera3.so): Likewise.
58581         (LDFLAGS-tst-initordera4.so): Likewise.
58582         (LDFLAGS-tst-initorderb2.so): Likewise.
58583         (LDFLAGS-noload): Likewise.
58584         (LDFLAGS-next): Likewise.
58585         (LDFLAGS-order2mod1.so): Likewise.
58586         (LDFLAGS-order2mod2.so): Likewise.
58587         (LDFLAGS-tst-initorder2): Likewise.
58588         (LDFLAGS-tst-initorder2a.so): Likewise.
58589         (LDFLAGS-tst-initorder2b.so): Likewise.
58590         (LDFLAGS-tst-initorder2c.so): Likewise.
58591         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58593 2012-05-02  David S. Miller  <davem@davemloft.net>
58595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58597 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58599         [BZ #14055]
58600         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58602 2012-05-02  Andreas Jaeger  <aj@suse.de>
58604         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58605         since we manipulate rounding mode.
58606         (CPPFLAGS-test-idouble.c): Likewise.
58607         (CPPFLAGS-test-ifloat.c): Likewise.
58608         (CFLAGS-test-ldouble.c): Likewise.
58609         (CFLAGS-test-double.c): Likewise.
58610         (CFLAGS-test-float.c): Likewise.
58611         (CFLAGS-test-misc.c): Likewise.
58612         (CFLAGS-test-test-fenv.c): Likewise.
58614 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58616         [BZ #2550]
58617         [BZ #2570]
58618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58619         comparisons to determine direction to adjust input.
58621 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58623         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58624         output to the target.
58626         * scripts/localplt.awk: New file.
58627         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58628         (check-localplt-CFLAGS): Variable removed.
58629         ($(all-built-dso:=.jmprel)): New static pattern rule.
58630         (generated): Add those targets.
58631         (localplt-built-dso): New variable.
58632         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58634         * elf/check-localplt.c: File removed.
58636         * scripts/check-execstack.awk: New file.
58637         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58638         (check-execstack-CFLAGS): Variable removed.
58639         ($(objpfx)check-execstack.h): Target removed.
58640         ($(objpfx)execstack-default): New target.
58641         (generated): Add that instead of check-execstack.h.
58642         ($(all-built-dso:=.phdr)): New static pattern rule.
58643         (generated): Add those targets.
58644         * elf/check-execstack.c: File removed.
58646         * scripts/check-textrel.awk: New file.
58647         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58648         (check-textrel-CFLAGS): Variable removed.
58649         (all-built-dso): Use := to define.o
58650         ($(all-built-dso:=.dyn)): New static pattern rule.
58651         (generated): Add those targets.
58652         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58653         * config.make.in (READELF): New substituted variable.
58654         * elf/check-textrel.c: File removed.
58656 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58658         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58659         allow.
58660         * conform/data/ctype.h-data [C99-based standards] (isblank):
58661         Expect function.
58662         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58663         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58665         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58666         Specify type.  Require positive value.
58667         (EILSEQ): Likewise.
58668         (ERANGE): Likewise.
58669         [ISO || POSIX] (EILSEQ): Do not expect.
58670         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58671         Specify type.  Require positive value.
58672         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58673         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58674         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58675         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58676         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58677         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58678         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58679         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58680         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58681         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58682         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58683         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58684         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58685         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58686         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58687         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58688         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58689         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58690         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58691         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58692         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58693         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58694         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58695         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58696         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58697         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58698         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58699         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58700         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58701         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58702         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58703         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58704         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58705         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58706         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58707         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58708         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58709         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58710         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58711         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58712         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58713         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58714         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58715         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58716         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58717         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58718         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58719         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58720         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58721         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58722         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58723         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58724         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58725         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58726         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58727         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58728         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58729         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58730         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58731         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58732         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58733         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58734         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58735         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58736         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58737         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58738         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58739         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58740         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58741         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58742         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58743         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58744         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58745         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58746         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58747         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58748         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58749         Require >= 2.
58750         (FLT_ROUNDS): Expect as macro, not constant.
58751         (FLT_MANT_DIG): Use macro-int-constant.
58752         (DBL_MANT_DIG): Likewise.
58753         (LDBL_MANT_DIG): Likewise.
58754         (FLT_DIG): Likewise.
58755         (DBL_DIG): Likewise.
58756         (LDBL_DIG): Likewise.
58757         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58758         (DBL_MIN_EXP): Likewise.
58759         (LDBL_MIN_EXP): Likewise.
58760         (FLT_MAX_EXP): Use macro-int-constant.
58761         (DBL_MAX_EXP): Likewise.
58762         (LDBL_MAX_EXP): Likewise.
58763         (FLT_MAX_10_EXP): Likewise.
58764         (DBL_MAX_10_EXP): Likewise.
58765         (LDBL_MAX_10_EXP): Likewise.
58766         (FLT_MAX): Use macro-constant.
58767         (DBL_MAX): Likewise.
58768         (LDBL_MAX): Likewise.
58769         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58770         (DBL_EPSILON): Likewise.
58771         (LDBL_EPSILON): Likewise.
58772         (FLT_MIN): Likewise.
58773         (DBL_MIN): Likewise.
58774         (LDBL_MIN): Likewise.
58775         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58776         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58777         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58778         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58779         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58780         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58781         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58782         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58783         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58784         [ISO11] (FLT_TRUE_MIN): Likewise.
58785         [ISO11] (LDBL_TRUE_MIN): Likewise.
58786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58787         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58788         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58789         (SCHAR_MAX): Likewise.
58790         (UCHAR_MAX): Likewise.
58791         (CHAR_MIN): Likewise.
58792         (CHAR_MAX): Likewise.
58793         (MB_LEN_MAX): Use macro-int-constant.
58794         (SHRT_MIN): Use macro-int-constant.  Specify type.
58795         (SHRT_MAX): Likewise.
58796         (USHRT_MAX): Likewise.
58797         (INT_MAX): Likewise.
58798         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58799         bound negative.
58800         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58801         bound with "U".
58802         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58803         bound with "L".
58804         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58805         bound negative.  Suffix upper bound with "L".
58806         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58807         bound with "UL".
58808         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58809         Specify type.
58810         [C99-based standards] (LLONG_MAX): Likewise.
58811         [C99-based standards] (ULLONG_MAX): Likewise.
58812         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58813         == 0.
58814         [ISO11] (max_align_t): Require type.
58815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58817         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58818         from $CFLAGS, without defining away __attribute__ calls.
58819         (checknamespace): Use $CFLAGS_namespace.
58821         * conform/conformtest.pl (@keywords): Only include C99 keywords
58822         for standards based on C99 or C11.
58824         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58825         Disable tests.
58826         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58827         UNIX98]: Likewise.
58829         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58830         usability of symbols in #if.
58832         * conform/conformtest.pl: If macro or constant types start
58833         "promoted:", expect the symbol to be of the following type
58834         promoted by the integer promotions.
58836         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58837         in one place.  Also handle "macro-constant".
58839         * conform/conformtest.pl: Only accept expected macro values with
58840         "==".  Parse all "macro" lines in one place.
58841         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58843         * conform/conformtest.pl: Handle braced types on "constant" lines
58844         instead of handling "typed-constant".
58845         * conform/data/signal.h-data: Use "constant" instead of
58846         "typed-constant".
58848         * conform/conformtest.pl: Handle "optional-" at start of lines in
58849         one place rather than duplicating several cases.  Handle each
58850         format of "macro" line with initial "optional-".
58852         * conform/conformtest.pl: Only accept expected constant or
58853         optional-constant values with "==".  Parse all "constant" lines in
58854         one place.  Parse all "optional-constant" lines in one place.
58855         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58856         * conform/data/fmtmsg.h-data: Likewise.
58857         * conform/data/netinet/in.h-data: Likewise.
58858         * conform/data/tar.h-data: Likewise.
58859         * conform/data/limits.h-data: Use "==" form on "constant" and
58860         "optional-constant" lines.
58862         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58863         Use -std=c99 for XOPEN2K.
58864         (@knownproblems): Remove.
58865         (newtoken): Don't check %isknown.
58867         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58868         Do not expect macro.
58869         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58870         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58871         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58872         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58873         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58874         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58875         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58876         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58877         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58878         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58879         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58880         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58881         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58882         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58883         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58884         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58885         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58886         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58887         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58888         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58889         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58890         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58891         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58892         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58893         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58894         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58895         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58896         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58897         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58898         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58899         [XPG3] (acosh): Likewise.
58900         [XPG3] (asinh): Likewise.
58901         [XPG3] (atanh): Likewise.
58902         [XPG3] (cbrt): Likewise.
58903         [XPG3] (expm1): Likewise.
58904         [XPG3] (ilogb): Likewise.
58905         [XPG3] (log1p): Likewise.
58906         [XPG3] (logb): Likewise.
58907         [XPG3] (nextafter): Likewise.
58908         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58909         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58910         [XPG3] (remainder): Likewise.
58911         [XPG3] (rint): Likewise.
58912         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58913         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58914         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58915         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58916         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58917         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58918         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58919         [UNIX98 || XOPEN2K] (scalb): Expect.
58920         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58921         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58922         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58923         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58924         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58925         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58926         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58927         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58928         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58929         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58930         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58931         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58932         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58933         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58934         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58935         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58936         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58937         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58938         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58939         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58940         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58941         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58942         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58943         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58944         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58945         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58946         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58947         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58948         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58949         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58950         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58951         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58952         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58953         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58954         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58955         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58956         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58957         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58958         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58959         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58960         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58961         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58962         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58963         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58964         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58965         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58966         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58967         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58968         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58969         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58970         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58971         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58972         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58973         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58974         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58975         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58976         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58977         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58978         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58979         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58980         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58981         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58982         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58983         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58984         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58985         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58986         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58987         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58988         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58989         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58990         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58991         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58992         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58993         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58994         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58995         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58996         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58997         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58998         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58999         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59000         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59001         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59002         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59003         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59004         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59005         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59006         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59007         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59008         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59009         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59010         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59011         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59012         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59013         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59014         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59015         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59016         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59017         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59018         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59019         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59020         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59021         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59022         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59023         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59024         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59025         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59026         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59027         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59028         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59029         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59030         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59031         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59032         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59033         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59034         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59035         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59036         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59037         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59038         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59039         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59040         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59041         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59042         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59043         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59044         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59045         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59046         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59047         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59048         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59049         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59050         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59051         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59052         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59053         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59054         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59055         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59056         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59058         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59059         _XOPEN_SOURCE_EXTENDED for XPG4.
59061         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59063         * Makeconfig (localtime): Remove variable.
59064         (inst_localtime-file): Likewise.
59066 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59069         Update.
59070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59071         Update.
59072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59073         Update.
59074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59075         Update.
59076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59077         Update.
59078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59079         Update.
59080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59081         Update.
59082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59083         Update.
59084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59085         Update.
59087 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59089         [BZ #2550]
59090         [BZ #2570]
59091         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59092         comparisons to determine direction to adjust input.
59093         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59094         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59096         Likewise.
59097         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59098         Likewise.
59099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59100         Likewise.
59101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59103         Likewise.
59104         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59105         Likewise.
59106         * math/libm-test.inc (nexttoward_test): Add more tests.
59108 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59110         [BZ #14040]
59111         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59112         in version GLIBC_2.1, not GLIBC_2.0.
59113         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59114         Likewise.
59116 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59118         [BZ #13942]
59119         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59120         (1 - x) * (1 + x).
59121         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59122         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59123         * math/libm-test.inc (acos_test): Add more tests.
59124         (asin_test): Likewise.
59125         * sysdeps/i386/fpu/libm-test-ulps: Update.
59126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59128         [BZ #14034]
59129         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59130         of square root.
59131         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59132         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59133         * math/libm-test.inc (acos_test_tonearest): New function.
59134         (acos_test_towardzero): Likewise.
59135         (acos_test_downward): Likewise.
59136         (acos_test_upward): Likewise.
59137         (asin_test_tonearest): Likewise.
59138         (asin_test_towardzero): Likewise.
59139         (asin_test_downward): Likewise.
59140         (asin_test_upward): Likewise.
59141         (main): Call the new functions.
59142         * sysdeps/i386/fpu/libm-test-ulps: Update.
59143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59145         [BZ #13884]
59146         [BZ #13924]
59147         * math/e_exp10.c: Include <float.h>.
59148         (__ieee754_exp10): Handle underflow here rather than multiplying
59149         large negative argument by M_LN10.
59150         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59151         of __ieee754_expf.
59152         * math/e_exp10l.c: Include <float.h>.
59153         (__ieee754_exp10l): Handle underflow here rather than multiplying
59154         large negative argument by M_LN10l.
59155         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59156         spurious overflow exception on underflow.
59158 2012-04-29  Marek Polacek  <polacek@redhat.com>
59160         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59161         (__fortify_function): New macro.
59162         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59163         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59164         __extern_always_inline.
59165         * libio/bits/stdio2.h: Likewise.
59166         * libio/bits/stdio.h: Likewise.
59167         * string/string.h: Likewise.
59168         * string/bits/string3.h: Likewise.
59169         * include/stdio.h: Likewise.
59170         * stdlib/bits/stdlib.h: Likewise.
59171         * stdlib/stdlib.h: Likewise.
59172         * rt/bits/mqueue2.h: Likewise.
59173         * rt/mqueue.h: Likewise.
59174         * posix/bits/unistd.h: Likewise.
59175         * posix/unistd.h: Likewise.
59176         * io/bits/poll2.h: Likewise.
59177         * io/bits/fcntl2.h: Likewise.
59178         * io/fcntl.h: Likewise.
59179         * io/sys/poll.h: Likewise.
59180         * misc/bits/syslog.h: Likewise.
59181         * misc/bits/syslog-ldbl.h: Likewise.
59182         * misc/sys/syslog.h: Likewise.
59183         * socket/bits/socket2.h: Likewise.
59184         * socket/sys/socket.h: Likewise.
59185         * debug/tst-chk1.c: Likewise.
59186         * wcsmbs/bits/wchar2.h: Likewise.
59187         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59188         * wcsmbs/wchar.h: Likewise.
59190 2012-04-29  Andreas Jaeger  <aj@suse.de>
59192         * Makerules (tests): Remove enable-check-abi protection.
59193         (check-abi-warn): Remove.
59194         (check-abi-%): Remove check-abi-warn usage.
59196         * configure.in: Remove check-abi configure option.
59197         * configure: Regenerated.
59198         * config.make.in (enable-check-abi): Remove.
59200 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59202         [BZ #14033]
59203         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59204         double functions to double *_finite functions.
59206         [BZ #13941]
59207         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59208         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59209         LDBL_MIN_EXP.
59210         * stdio-common/Makefile (tests): Add tst-sprintf3.
59211         * stdio-common/tst-sprintf3.c: New file.
59213         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59214         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59216 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59218         * conform/conformtest.pl: Remove duplicate typed-constant
59219         handling.
59221 2012-04-28  David S. Miller  <davem@davemloft.net>
59223         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59224         (check-abi-%): Remove AWK script prerequisite and explicit
59225         abilist directory.
59226         (check-abi): Rewrite to just diff the symlist with the abilist.
59227         (config-tls, config-abi-config): Delete, no longer used.
59228         (update-abi-%): Remove AWK script and explicit abilist directory.
59229         (update-abi): Rewrite to simply compare and conditionally copy the
59230         symlist and the sysdep abilist file.  Remove update-abi-config
59231         checks.
59232         * abilist/ld.abilist: Remove.
59233         * abilist/libBrokenLocale.abilist: Remove.
59234         * abilist/libanl.abilist: Remove.
59235         * abilist/libcrypt.abilist: Remove.
59236         * abilist/libdl.abilist: Remove.
59237         * abilist/librt.abilist: Remove.
59238         * abilist/libthread_db.abilist: Remove.
59239         * abilist/libutil.abilist: Remove.
59240         * scripts/extract-abilist.awk: Remove.
59241         * scripts/merge-abilist.awk: Remove.
59242         * sysdeps/generic/libcidn.abilist: New file.
59243         * sysdeps/generic/libnss_compat.abilist: New file.
59244         * sysdeps/generic/libnss_db.abilist: New file.
59245         * sysdeps/generic/libnss_dns.abilist: New file.
59246         * sysdeps/generic/libnss_files.abilist: New file.
59247         * sysdeps/generic/libnss_hesiod.abilist: New file.
59248         * sysdeps/generic/libnss_nis.abilist: New file.
59249         * sysdeps/generic/libnss_nisplus.abilist: New file.
59250         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59251         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59252         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59253         file.
59254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59255         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59256         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59257         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59258         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59259         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59260         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59261         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59262         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59263         file.
59264         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59265         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59266         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59267         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59268         file.
59269         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59270         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59271         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59272         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59273         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59274         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59275         file.
59276         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59277         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59278         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59279         file.
59280         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59282         New file.
59283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59284         New file.
59285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59286         New file.
59287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59288         New file.
59289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59290         New file.
59291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59292         New file.
59293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59294         New file.
59295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59296         New file.
59297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59298         New file.
59299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59300         New file.
59301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59302         New file.
59303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59304         New file.
59305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59306         New file.
59307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59308         file.
59309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59310         New file.
59311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59312         New file.
59313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59314         file.
59315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59316         New file.
59317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59318         New file.
59319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59320         file.
59321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59322         New file.
59323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59324         New file.
59325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59326         New file.
59327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59328         New file.
59329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59330         New file.
59331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59332         New file.
59333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59335         file.
59336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59337         New file.
59338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59339         file.
59340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59341         file.
59342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59343         file.
59344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59345         file.
59346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59347         file.
59348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59349         New file.
59350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59351         file.
59352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59353         file.
59354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59355         New file.
59356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59357         file.
59358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59360         file.
59361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59362         New file.
59363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59364         file.
59365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59366         file.
59367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59368         file.
59369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59370         file.
59371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59372         file.
59373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59374         New file.
59375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59376         file.
59377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59378         file.
59379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59380         New file.
59381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59382         file.
59383         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59384         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59385         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59386         file.
59387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59388         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59389         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59390         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59391         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59392         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59393         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59394         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59395         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59396         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59399         file.
59400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59401         New file.
59402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59403         file.
59404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59405         file.
59406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59407         file.
59408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59409         file.
59410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59411         file.
59412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59413         New file.
59414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59415         New file.
59416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59417         file.
59418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59419         New file.
59420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59421         file.
59422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59424         file.
59425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59426         New file.
59427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59428         file.
59429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59430         file.
59431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59432         file.
59433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59434         file.
59435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59436         file.
59437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59438         New file.
59439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59440         New file.
59441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59442         file.
59443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59444         New file.
59445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59446         file.
59448 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59450         * conform/conformtest.pl: Fix typo in handling typed-constant from
59451         allow-header.
59453 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59455         * README: Cut down references to pre-2.6 Linux kernels and
59456         Linuxthreads.  Update lists of configurations in libc and ports
59457         and sort alphabetically.  Say "or newer" with Linux kernel version
59458         requirements.
59460         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59462 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59464         [BZ #887]
59465         * math/libm-test.inc (logb_test_downward): New test to expose
59466         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59467         rounding mode.
59469 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59471         [BZ #14027]
59472         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59473         to be done.
59474         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59475         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59477 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59479         * sysdeps/unix/i386/brk.S: Remove file.
59480         * sysdeps/unix/i386/dl-brk.S: Likewise.
59481         * sysdeps/unix/i386/pipe.S: Likewise.
59482         * sysdeps/unix/i386/sigreturn.S: Likewise.
59483         * sysdeps/unix/i386/syscall.S: Likewise.
59484         * sysdeps/unix/i386/vfork.S: Likewise.
59485         * sysdeps/unix/i386/wait.S: Likewise.
59487         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59488         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59490         * configure.in (arm*-none*): Do not allow without
59491         --enable-hacker-mode.
59492         (netbsd*): Remove case setting base_os.
59493         (386bsd*): Likewise.
59494         (freebsd*): Likewise.
59495         (bsdi*): Likewise.
59496         (osf*): Likewise.
59497         (sunos*): Likewise.
59498         (ultrix*): Likewise.
59499         (newsos*): Likewise.
59500         (dynix*): Likewise.
59501         (*bsd*): Likewise.
59502         (sysv*): Likewise.
59503         (isc*): Likewise.
59504         (esix*): Likewise.
59505         (sco*): Likewise.
59506         (minix*): Likewise.
59507         (irix4*): Likewise.
59508         (irix6*): Likewise.
59509         (solaris[2-9]*): Likewise.
59510         (none): Likewise.
59511         * configure: Regenerated.
59513 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59515         [BZ #11521]
59516         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59517         overflow or cancellation in calculating denominator.
59518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59520         down expression to avoid unexpected rounding in newer GCCs.
59521         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59523 2012-04-26  David S. Miller  <davem@davemloft.net>
59525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59526         long-double compat symbols.
59527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59541 2012-04-25  David S. Miller  <davem@davemloft.net>
59543         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59544         HWCAP_* values only after the memory barriers have been defined.
59545         (atomic_full_barrier): Define.
59546         (atomic_read_barrier): Define.
59547         (atomic_write_barrier): Define.
59549 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59551         * shlib-versions: Add libgcc_s version information.
59552         * sysdeps/generic/libgcc_s.h: Remove.
59553         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59554         libgcc_s.h.
59555         * sysdeps/gnu/unwind-resume.c: Likewise.
59556         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59558 2012-04-25  David S. Miller  <davem@davemloft.net>
59560         * sysdeps/unix/sparc/brk.S: Delete.
59561         * sysdeps/unix/sparc/dl-brk.S: Delete.
59562         * sysdeps/unix/sparc/pipe.S: Delete.
59563         * sysdeps/unix/sparc/sysdep.S: Delete.
59564         * sysdeps/unix/sparc/sysdep.h: Delete.
59565         * sysdeps/unix/sparc/vfork.S: Delete.
59566         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59567         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59568         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59569         (ret_ERRVAL, r0, r1, MOVE): Define.
59570         (JUMPTARGET): Remove.
59571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59572         sysdeps/unix/sparc/sysdep.h
59573         (ENTRY, END): Remove.
59574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59576 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59578         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59579         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59580         -DIS_IN_build.
59582         * timezone/README: Update upstream location and email address for
59583         tzcode and tzdata.
59584         * timezone/zdump.c: Update from tzcode 2012b.
59585         * timezone/zic.c: Likewise.
59587         * configure.in (libc_cv_as_needed): Remove test.
59588         * configure: Regenerated.
59589         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59590         conditional definition.
59591         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59592         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59593         * config.make.in (have-as-needed): Remove variable.
59595 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59596             Paul Pluzhnikov  <ppluzhnikov@google.com>
59598         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59599         strings correctly.
59601 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59603         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59604         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59605         * sysdeps/sh/strlen.S: Likewise.
59607 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59609         * sysdeps/unix/fork.S: Remove file.
59610         * sysdeps/unix/i386/fork.S: Likewise.
59611         * sysdeps/unix/sparc/fork.S: Likewise.
59613         * sysdeps/unix/system.c: Remove file.
59614         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59616         * sysdeps/unix/getegid.S: Remove file.
59617         * sysdeps/unix/geteuid.S: Likewise.
59619 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59621         * scripts/check-localplt.awk: New file.
59622         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59623         of diff.
59624         * scripts/data/localplt-generic.data: Add a comment.
59626         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59627         NODE when __dir_mkfile failed.
59628         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59629         Reported by Ludovic Courtès <ludo@gnu.org>.
59631 2012-04-24  Andreas Jaeger  <aj@suse.de>
59633         * Makerules (common-clean): Also remove gen-as-const-headers
59634         files.
59636 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59638         * Makerules (native-compile): Do not change working directory for
59639         build.  Use $(OUTPUT_OPTION) in command.
59640         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59642 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59644         [BZ #13886]
59645         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59646         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59647         * math/libm-test.inc (floor_test): Add more tests.
59648         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59650 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59652         * sysdeps/unix/getdents.c: Remove file.
59653         * sysdeps/unix/sysv/getdents.c: Likewise.
59654         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59656         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59657         sysdeps/unix/mman/syscalls.list.
59658         (mmap): Likewise.
59659         (mprotect): Likewise.
59660         (msync): Likewise.
59661         (munmap): Likewise.
59662         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59663         * sysdeps/unix/mman/syscalls.list: Remove.
59664         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59666         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59667         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59668         * configure: Regenerated.
59669         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59670         $(libgcc_s_suffix).
59671         * config.make.in (libgcc_s_suffix): Remove variable.
59673 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59675         * sysdeps/unix/sysv/gethostname.c: Move to ...
59676         * sysdeps/posix/gethostname.c: ... here.
59678         * sysdeps/unix/execve.S: Remove file.
59680         * sysdeps/unix/_exit.S: Remove file.
59682 2012-04-23  Andreas Jaeger  <aj@suse.de>
59684         [BZ #13739]
59685         * manual/Makefile: Remove make dist support, there's no
59686         need for a stand-alone documentation tar ball.
59687         (TEXI2DVI): Define always, it's not in Makeconfig.
59688         (dist): Removed.
59689         (tar-it): Removed.
59690         (edition): Removed.
59691         (glibc-doc-$(edition).tar): Removed
59692         (%.Z): Removed.
59693         (%.gz): Removed.
59694         (%.uu): Removed.
59695         (ETAGS): Remove, it's in Makeconfig.
59696         (move-if-change): Remove, it's in Makeconfig.
59698 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59700         [BZ #13970]
59701         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59702         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59703         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59704         (strtod_l, strtof_l, strtold_l): Remove __wur.
59705         It is not necessarily an error to ignore strtol's return value.
59706         One can reliably look at the stored endptr to decide whether
59707         the number had valid syntax.
59709 2012-04-21  Andreas Jaeger  <aj@suse.de>
59711         [BZ #13739]
59712         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59714 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59716         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59717         * sysdeps/unix/sysv/Versions: Remove file.
59719 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59721         [BZ #13927]
59722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59724 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59726         [BZ #7064]
59727         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59728         version from __vm86.
59730 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59732         * sysdeps/unix/common/lxstat.c: Remove file.
59733         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59735         * sysdeps/unix/sysv/Makefile: Remove file.
59737         * sysdeps/unix/sysv/direct.h: Remove file.
59739         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59740         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59741         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59742         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59743         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59744         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59745         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59747         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59749         * sysdeps/unix/xmknod.c: Remove file.
59750         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59752         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59754         * sysdeps/unix/sysv/i386/time.S: Remove file.
59756         * sysdeps/unix/fxstat.c: Remove file.
59757         * sysdeps/unix/xstat.c: Likewise.
59758         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59760         * sysdeps/unix/sysv/sigaction.c: Remove file.
59762         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59763         (sysdep_headers): Remove variable.
59764         [termio.h not in sysdep_headers] (generated): Likewise.
59765         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59766         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59767         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59768         * sysdeps/unix/sysv/tcflow.c: Likewise.
59769         * sysdeps/unix/sysv/tcflush.c: Likewise.
59770         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59771         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59772         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59773         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59774         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59776         * sysdeps/unix/siglist.c: Remove file.
59778         * sysdeps/unix/getppid.S: Remove file.
59780         * sysdeps/unix/mkdir.c: Remove file.
59781         * sysdeps/unix/rmdir.c: Likewise.
59783 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59785         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59786         ERR_MAX value.
59787         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59788         errlist-compat value.
59790 2012-04-18  David S. Miller  <davem@davemloft.net>
59792         * sysdeps/generic/memcopy.h (reg_char): Delete.
59793         * debug/strcat_chk.c: Use char, not reg_char.
59794         * debug/strcpy_chk.c: Likewise.
59795         * debug/strncat_chk.c: Likewise.
59796         * debug/strncpy_chk.c: Likewise.
59797         * string/memchr.c: Likewise.
59798         * string/memrchr.c: Likewise.
59799         * string/rawmemchr.c: Likewise.
59800         * string/strcat.c: Likewise.
59801         * string/strchr.c: Likewise.
59802         * string/strchrnul.c: Likewise.
59803         * string/strcmp.c: Likewise.
59804         * string/strcpy.c: Likewise.
59805         * string/strncat.c: Likewise.
59806         * string/strncmp.c: Likewise.
59807         * string/strncpy.c: Likewise.
59809 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59811         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59812         __builtin_memcopy is called when src and dest ranges are known to not
59813         overlap.
59815 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59818         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59819         fwd_align_merge macro call.
59820         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59821         bwd_align_merge macro call.
59822         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59824 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59826         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59827         bwd_align_merge macros.
59828         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59829         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59832 2012-04-18  David S. Miller  <davem@davemloft.net>
59834         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59836 2012-04-18  Andreas Jaeger  <aj@suse.de>
59838         [BZ# 6794]
59839         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59840         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59841         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59843         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59844         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59845         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59847         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59848         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59849         Adjust for changed ldbl-128 files.
59851         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59852         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59853         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59855 2012-04-17  David S. Miller  <davem@davemloft.net>
59857         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59859 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59861         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59862         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59863         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59864         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59865         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59866         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59868 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59870         [BZ #6794]
59871         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59872         * math/libm-test.inc: Add ilogb errno and exception tests.
59873         * math/w_ilogb.c: New file: ilogb wrapper.
59874         * math/w_ilogbf.c: New file: ilogbf wrapper.
59875         * math/w_ilogbl.c: New file: ilogbl wrapper.
59876         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59877         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59878         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59879         exception being thrown with 0.0 as argument.
59880         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59881         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59882         exception being thrown with 0.0 as argument.
59883         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59884         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59885         exception being thrown with 0.0 as argument.
59886         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59887         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59888         exception being thrown with 0.0 as argument.
59889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59890         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59891         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59892         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59893         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59894         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59895         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59896         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59897         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59899 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59901         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59902         with altivec.
59904 2012-04-16  Marek Polacek  <polacek@redhat.com>
59906         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59908 2012-04-16  Marek Polacek  <polacek@redhat.com>
59910         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59911         operands of fdivp instruction.
59913 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59915         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59916         * elf/tst-auditmod3b.c: Likewise.
59917         * elf/tst-auditmod4b.c: Likewise.
59918         * elf/tst-auditmod5b.c: Likewise.
59919         * elf/tst-auditmod6b.c: Likewise.
59920         * elf/tst-auditmod6c.c: Likewise.
59921         * elf/tst-auditmod7b.c: Likewise.
59922         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59923         * sysdeps/x86_64/preconfigure.in: Likewise.
59924         * sysdeps/x86_64/preconfigure: Regenerated.
59926 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59928         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59929         __ILP32__.
59931 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59934         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59936 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59938         [BZ #13973]
59939         * locale/iso-639.def: Fix gl language name. Spotted by
59940         Yaron Shahrabani.
59942 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59944         [BZ #2074]
59945         * libio/libio.h (__io_write_fn): Update comment.
59947 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59949         [BZ #2074]
59950         * stdio.texi (Hook Functions): The user provided writer function
59951         is not allowed to return -1.
59953 2012-04-11  David S. Miller  <davem@davemloft.net>
59955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59957 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59959         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59960         Add a leading slash to rtkaio.
59962 2012-04-11  Jim Meyering  <meyering@redhat.com>
59964         [BZ #11959]
59965         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59966         It is not necessarily an error to ignore fwrite's return
59967         value.  One can reliably use ferror to test for errors after
59968         the fact.
59970 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59972         * bits/types.h (__snseconds_t): New type.
59973         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59975         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59977         (__SNSECONDS_T_TYPE): Likewise.
59978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59979         (__SNSECONDS_T_TYPE): Likewise.
59980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59981         (__SNSECONDS_T_TYPE): Likewise.
59983 2012-04-10  Andreas Jaeger  <aj@suse.de>
59985         [BZ #2636]
59986         * manual/time.texi (Processor Time): Return type of times is
59987         elapsed real time since an arbitrary point in the past.
59988         (CPU Time): Move CLK_TCK from here...
59989         (Processor Time): ...to here.  Correct description.
59990         * manual/conf.texi (Constants for Sysconf): Correct description of
59991         _SC_CLK_TCK.
59993 2012-04-10  David S. Miller  <davem@davemloft.net>
59995         [BZ #13967]
59996         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59997         where the is a gap between DT_REL(A) and DT_JMPREL.
59999 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60001         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60002         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60003         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60005 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60007         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60008         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60009         (dl_main): Handle --inhibit-cache.
60010         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60011         _dl_inhibit_cache.
60012         * elf/dl-load.c (_dl_map_object): Use it.
60013         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60015 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60017         [BZ #13872]
60018         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60019         (__ieee754_powl): Saturate large exponents rather than testing for
60020         overflow of y*log2(x).
60021         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60022         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60023         exceptions.
60025         [BZ #11521]
60026         * math/s_ctan.c: Include <float.h>.
60027         (__ctan): Avoid internal overflow or cancellation in calculating
60028         denominator.
60029         * math/s_ctanf.c: Likewise.
60030         * math/s_ctanl.c: Likewise.
60031         * math/s_ctanh.c: Likewise.
60032         * math/s_ctanhf.c: Likewise.
60033         * math/s_ctanhl.c: Likewise.
60034         * math/libm-test.inc (ctan_test): Add more tests.
60035         (ctanh_test): Likewise.
60036         * sysdeps/i386/fpu/libm-test-ulps: Update.
60037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60039 2012-04-09  Andreas Jaeger  <aj@suse.de>
60041         [BZ #6894]
60042         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60043         is an optional BSD extension.
60045         [BZ #10254]
60046         * manual/stdio.texi (Opening Streams): Document additional fopen
60047         parameters.
60049 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60051         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60052         %eax without telling the compiler.
60054 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60056         [BZ # 13963]
60057         * manual/install.texi: Use sourceware.org.
60059 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60061         [BZ #13873]
60062         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60063         (__ieee754_pow): Generate overflow and underflow using huge*huge
60064         and tiny*tiny rather than just returning constant infinity or zero
60065         for large exponents.
60066         * math/libm-test.inc (pow_test): Require overflow exceptions for
60067         applicable cases of large exponents.
60069         [BZ #706]
60070         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60071         (__ieee754_pow): Use iterative multiplication algorithm only for
60072         integer exponents with absolute value below 1024.  Check for odd
60073         integer exponents when using algorithm for real exponents.
60074         * math/libm-test.inc (pow_test): Add more tests.
60075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60077 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60079         [BZ #13705]
60080         * math/libm-test.inc (exp_test): Do not allow overflow exception
60081         on underflow test.
60083 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60085         [BZ #13705]
60086         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60087         instead of __kernel_standard_f.
60089 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60091         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60092         * sysdeps/x86_64/memset_chk.S: Likewise.
60094 2012-04-08  Andreas Jaeger  <aj@suse.de>
60096         [BZ #10153]
60097         * manual/startup.texi (Environment Access): Describe return value
60098         for putenv and setenv.
60100         [BZ #6895]
60101         * manual/filesys.texi (Directory Entries): Add description for
60102         DT_LNK.
60104         [BZ #6890]
60105         * manual/filesys.texi (Directory Entries): Clarify that it's file
60106         system not operating system in the description of DT_UNKNOWN.
60108         [BZ #6578]
60109         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60111 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60113         [BZ #6649]
60114         * manual/llio.texi (Opening and Closing Files): Add cross
60115         reference to explain mode argument.
60117 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60119         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60120         * sysdeps/x86_64/memset_chk.S: Likewise.
60122 2012-04-07  David S. Miller  <davem@davemloft.net>
60124         * elf/elf.h (R_SPARC_WDISP10): Define.
60125         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60126         R_SPARC_SIZE32.
60127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60128         R_SPARC_SIZE64 and R_SPARC_H34.
60130 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60132         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60133         conditions and remove no longer applicable assertion.
60135 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60137         * bits/byteswap.h: Include <features.h>.
60138         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60139         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60141 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60143         * bits/byteswap.h (__bswap_16): Removed.
60144         Include <bits/byteswap-16.h> to get __bswap_16.
60145         * sysdeps/i386/bits/byteswap.h: Likewise.
60146         * sysdeps/s390/bits/byteswap.h: Likewise.
60147         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60148         * bits/byteswap-16.h: New file.
60149         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60150         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60151         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60152         * string/Makefile (headers): Add bits/byteswap-16.h.
60154 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60156         [BZ #13895]
60157         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60158         extra indirection.
60159         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60160         * nss/tst-nss-static.c: New.
60162 2012-04-06  Robert Millan  <rmh@gnu.org>
60164         [BZ #6486]
60165         * manual/llio.texi (File Position Primitive): lseek
60166         refers to WHENCE when it really means OFFSET.
60168 2012-04-06  Andreas Jaeger  <aj@suse.de>
60170         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60171         strncmp declarations.
60173         * abilist/libc.abilist: Add __poll and __ppoll.
60175 2012-04-05  David S. Miller  <davem@davemloft.net>
60177         * scripts/check-local-headers.sh: Accept a host triplet in the
60178         path matched by the exclude regexp.
60180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60181         definition.
60182         * sysdeps/powerpc/powerpc32/dl-machine.h
60183         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60184         * sysdeps/s390/s390-32/dl-machine.h
60185         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60186         * sysdeps/sparc/sparc32/dl-machine.h
60187         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60188         * sysdeps/sparc/sparc64/dl-machine.h
60189         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60191         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60192         lazy binding.
60193         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60194         undefined symbol errors.
60196         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60197         DT_NEEDED entries.
60199 2012-04-05  Michael Matz  <matz@suse.de>
60201         [BZ #13592]
60202         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60204 2012-04-05  Andreas Jaeger  <aj@suse.de>
60206         [BZ #13908]
60207         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60208         comment.
60210 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60212         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60213         which ROUND is no valid rounding mode.
60215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60217         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60218         read again.
60219         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60221 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60223         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60224         an exception using FPU order intentionally.
60226 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60228         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60229         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60230         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60231         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60233 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60235         [BZ #12340]
60236         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60237         EINVAL when BUFLEN is too smal.
60239 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60241         [BZ #13553]
60242         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60243         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60245 2012-04-03  Andreas Jaeger  <aj@suse.de>
60247         [BZ #13938]
60248         * manual/setjmp.texi (System V contexts): Fix sentence.
60250         [BZ #13926]
60251         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60252         New macro for this case.
60253         [!__GNUC__] (__bswap_64): New inline function for this case.
60254         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60255         * bits/byteswap.h: Likewise.
60256         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60257         ull, guard with __GLIBC_HAVE_LONG_LONG.
60259         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60260         __GLIBC_HAVE_LONG_LONG.
60262         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60263         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60265 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60267         [BZ #13691]
60268         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60269         inptr and inend, rather than using last_ch.
60271 2012-04-02  David S. Miller  <davem@davemloft.net>
60273         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60274         * stdio-common/printf-parse.h (read_int): Change return type to
60275         'int', return -1 on INT_MAX overflow.
60276         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60277         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60278         overflows INT_MAX.  Check for overflow of in-format-string precision
60279         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60280         SIZE_MAX not INT_MAX for integer overflow test.
60281         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60282         skip the construct in the format string but do not record anything.
60283         * stdio-common/bug22.c: Adjust to test both width/prevision
60284         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60285         explicitly for proper errno values.
60287 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60289         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60290         CHAR_MAX.
60291         * string/test-strcmp.c [! WIDE]: Likewise.
60292         * time/tst-mktime2.c: Likewise for INT_MAX.
60293         * string/test-string.h: #include <sys/param.h> for MIN.
60295         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60296         * sysdeps/i386/init-first.c (init): Likewise.
60297         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60298         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60299         * sysdeps/sh/init-first.c (init): Likewise.
60301 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60303         * po/ru.po: Update from translation team.
60304         * po/vi.po: Likewise.
60306 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60308         * resolv/nss_dns/dns-host.c: Merge copyright years.
60310 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60313         Optimize memcpy with prefetch if
60314         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60315         src, dst pointers have unequal 16 byte alignments.
60317 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60319         [BZ #13928]
60320         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60321         from a CNAME entry and return the minimum ttl for the query.
60322         (gaih_getanswer_slice): Likewise.
60324 2012-03-30  Jeff Law  <law@redhat.com>
60326         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60327         due to long keys.
60328         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60329         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60331         * resolv/nss_dns/dns-host.c: Update copyright year.
60333 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60335         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60336         requests to save a system call.  Fix check that all bytes are sent.
60338         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60339         comments for sendmmsg.
60341 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60343         [BZ #13691]
60344         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60345         with only 1 character between 0x0041 and 0x01b0.
60346         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60347         * wcsmbs/tst-mbsnrtowcs.c: New file.
60349 2012-03-29  David S. Miller  <davem@davemloft.net>
60351         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60352         small copies by hand.
60354 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60356         [BZ #13761]
60357         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60358         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60359         group memberships.
60361 2012-03-28  David S. Miller  <davem@davemloft.net>
60363         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60364         that branches into memcpy.
60365         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60366         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60368         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60370         bits.
60371         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60372         implementation too.
60373         * sysdeps/sparc/mempcpy.S: New file.
60375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60376         the IFUNC routine in the libc case.
60377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60379         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60380         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60381         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60382         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60383         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60384         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60385         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60386         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60388         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60389         loop to 256 bytes instead of 64 bytes and fix test signedness.
60391         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60392         * sysdeps/sparc/sparc32/Makefile: rather than here...
60393         * sysdeps/sparc/sparc64/Makefile: and here.
60395 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60397         * malloc/mallocbug.c: Avoid warnings about unused variables.
60399 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60401         [BZ #13760]
60402         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60403         in the right place. Discard and retry query if response is
60404         larger than input buffer size.
60406 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60408         [BZ #369]
60409         [BZ #2678]
60410         [BZ #3866]
60411         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60412         x for large integer exponent.
60413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60414         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60415         sign of result as needed afterwards.
60416         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60417         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60418         result for underflowing pow the same as for overflow.
60419         (__kernel_standard_l): Handle powl overflow and underflow here
60420         rather than calling __kernel_standard.
60421         * math/libm-test.inc (pow_test): Add more tests.
60423         [BZ #3868]
60424         [BZ #13879]
60425         [BZ #13910]
60426         [BZ #13911]
60427         [BZ #13912]
60428         [BZ #13913]
60429         [BZ #13915]
60430         [BZ #13916]
60431         [BZ #13917]
60432         [BZ #13918]
60433         [BZ #13919]
60434         [BZ #13920]
60435         [BZ #13921]
60436         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60437         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60438         (__kernel_standard_l): New function.
60439         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60440         __kernel_standard.
60441         * math/w_acosl.c (__acosl): Likewise.
60442         * math/w_asinl.c (__asinl): Likewise.
60443         * math/w_atan2l.c (__atan2l): Likewise.
60444         * math/w_atanhl.c (__atanhl): Likewise.
60445         * math/w_coshl.c (__coshl): Likewise.
60446         * math/w_exp10l.c (__exp10l): Likewise.
60447         * math/w_exp2l.c (__exp2l): Likewise.
60448         * math/w_fmodl.c (__fmodl): Likewise.
60449         * math/w_hypotl.c (__hypotl): Likewise.
60450         * math/w_j0l.c (__j0l, __y0l): Likewise.
60451         * math/w_j1l.c (__j1l, __y1l): Likewise.
60452         * math/w_jnl.c (__jnl, __ynl): Likewise.
60453         * math/w_lgammal.c (__lgammal): Likewise.
60454         * math/w_log10l.c (__log10l): Likewise.
60455         * math/w_log2l.c (__log2l): Likewise.
60456         * math/w_logl.c (__logl): Likewise.
60457         * math/w_powl.c (__powl): Likewise.
60458         * math/w_remainderl.c (__remainderl): Likewise.
60459         * math/w_scalbl.c (sysv_scalbl): Likewise.
60460         * math/w_sinhl.c (__sinhl): Likewise.
60461         * math/w_sqrtl.c (__sqrtl): Likewise.
60462         * math/w_tgammal.c (__tgammal): Likewise.
60463         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60464         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60465         * math/libm-test.inc (acos_test): Add more tests.
60466         (acosh_test): Likewise.
60467         (asin_test): Likewise.
60468         (atanh_test): Likewise.
60469         (exp_test): Likewise.
60470         (exp10_test): Likewise.
60471         (exp2_test): Likewise.
60472         (expm1_test): Likewise.
60473         (lgamma_test): Likewise.
60474         (log_test): Likewise.
60475         (log10_test): Likewise.
60476         (log1p_test): Likewise.
60477         (log2_test): Likewise.
60478         (pow_test): Do not allow some spurious overflow exceptions.
60479         (sqrt_test): Add more tests.
60480         (tgamma_test): Likewise.
60481         (y0_test): Likewise.
60482         (y1_test): Likewise.
60483         (yn_test): Likewise.
60485 2012-03-27  Anton Blanchard  <anton@samba.org>
60487         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60488         MAP_HUGETLB.
60489         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60490         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60491         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60493 2012-03-27  David S. Miller  <davem@davemloft.net>
60495         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60497         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60498         have-as-vis3 check.
60500 2012-03-27  Andreas Jaeger  <aj@suse.de>
60502         * sysdeps/x86_64/elf/configure.in: Moved to ...
60503         * sysdeps/x86_64/configure.in: ... here.
60504         * sysdeps/x86_64/elf/start.S: Moved to ...
60505         * sysdeps/x86_64/start.S: ... here.
60506         * sysdeps/x86_64/elf/configure: Delete.
60508         * sysdeps/x86_64/configure.in: Merge contents from
60509         sysdeps/i386/configure.in (without i686 check).
60511         * sysdeps/i386/elf/Versions: Merge into ...
60512         * sysdeps/i386/Versions: ... this.
60513         * sysdeps/i386/elf/Versions: Delete file.
60514         * sysdeps/i386/elf/start.S: Moved to ...
60515         * sysdeps/i386/start.S: ...here.
60516         * sysdeps/i386/elf/configure.in: Merge into...
60517         * sysdeps/i386/configure.in: ...here.
60518         * sysdeps/i386/elf/configure.in: Delete file.
60519         * sysdeps/i386/elf/configure: Delete file.
60521         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60522         * debug/backtracesyms.c: ... here.
60523         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60524         * debug/backtracesymsfd.c: ... here.
60525         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60526         * sysdeps/generic/ifunc-sel.h: ... here.
60528         * sysdeps/unix/i386/start.c: Delete file.
60529         * sysdeps/unix/sparc/start.c: Delete file.
60530         * sysdeps/unix/start.c: Delete file.
60532         * sysdeps/sh/elf/configure.in: Moved to ...
60533         * sysdeps/sh/configure.in: ... here.
60534         * sysdeps/sh/elf/start.S: Moved to ...
60535         * sysdeps/sh/start.S: ... here.
60536         * sysdeps/sh/elf/configure: Delete file.
60538         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60539         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60540         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60541         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60542         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60543         * sysdeps/powerpc/powerpc64/start.S: here.
60544         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60545         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60546         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60547         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60548         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60550         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60551         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60552         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60553         * sysdeps/powerpc/powerpc32/start.S: ... here.
60554         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60555         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60556         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60558         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60559         * sysdeps/powerpc/ifunc-sel.h: ... here.
60560         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60561         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60563         * sysdeps/sparc/elf/configure.in: Moved to ...
60564         * sysdeps/sparc/configure.in: ... here.
60565         * sysdeps/sparc/elf/configure: Delete file.
60566         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60567         * sysdeps/sparc/sparc32/start.S: ... here.
60568         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60569         * sysdeps/sparc/sparc64/start.S: ... here.
60570         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60571         * sysdeps/sparc/sparc32/Makefile: ... this.
60572         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60573         * sysdeps/sparc/sparc64/Makefile: ... this.
60575         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60576         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60577         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60578         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60579         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60580         * sysdeps/s390/s390-32/setjmp.S: ... here.
60581         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60582         * sysdeps/s390/s390-32/configure.in: ... here.
60583         * sysdeps/s390/s390-32/elf/configure: Delete file.
60584         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60585         * sysdeps/s390/s390-32/start.S: ... here.
60587         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60588         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60589         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60590         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60591         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60592         * sysdeps/s390/s390-64/setjmp.S: ... here.
60593         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60594         * sysdeps/s390/s390-64/configure.in: ... here
60595         * sysdeps/s390/s390-64/elf/configure: Delete file.
60596         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60597         * sysdeps/s390/s390-64/start.S: ... here.
60598         * sysdeps/s390/s390-64/elf/configure: Delete.
60600         * configure.in: Remove support for elf directories in sysdeps.
60602         * configure: Regenerated.
60603         * sysdeps/i386/configure: Regenerated.
60604         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60605         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60606         * sysdeps/s390/s390-32/configure: Regenerated.
60607         * sysdeps/s390/s390-64/configure: Regenerated.
60608         * sysdeps/sh/configure: Regenerated.
60609         * sysdeps/sparc/configure: Regenerated.
60610         * sysdeps/x86_64/configure: Regenerated.
60612 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60617         denormal result into account.
60619 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60621         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60622         Reported by Allan McRae <allan@archlinux.org>.
60624 2012-03-23  Jeff Law  <law@redhat.com>
60626         * nss/getnssent.c (__nss_getent): Fix typo.
60628 2012-03-23  David S. Miller  <davem@davemloft.net>
60630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60632 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60634         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60635         to pad to uint64_t for each field.
60636         (dl_tls_index): Replace unsigned long with uint64_t.
60638 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60639         Paul Pluzhnikov  <ppluzhnikov@google.com>
60641         [BZ #6528]
60642         * grp/Makefile (otherlibs): Don't set it.
60643         * inet/Makefile (otherlibs): Likewise.
60644         * login/Makefile (otherlibs): Likewise.
60645         * nscd/Makefile (otherlibs): Likewise.
60646         * posix/Makefile (otherlibs): Likewise.
60647         * pwd/Makefile (otherlibs): Likewise.
60648         * rt/Makefile (otherlibs): Likewise.
60649         * sunrpc/Makefile (otherlibs): Likewise.
60650         * nss/Makefile (otherlibs): Likewise.
60651         Add libnss_files to routines and static-only-routines.
60652         ($(objpfx)getent): Remove rule.
60653         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60654         static-only-routines.
60656 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60658         [BZ #13892]
60659         * math/s_cexp.c: Include <float.h>.
60660         (__cexp): Handle exp result overflowing not necessarily
60661         overflowing both real and imaginary parts of result.
60662         * math/s_cexpf.c: Likewise.
60663         * math/s_cexpl.c: Likewise.
60664         * math/libm-test.inc (cexp_test): Add more tests.
60665         * sysdeps/i386/fpu/libm-test-ulps: Update.
60666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60670         * include/link.h (ELFW): New macro.
60671         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60672         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60674 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60676         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60677         with uint64_t.
60679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60681         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60682         declaration.
60683         (struct La_x32_retval): Likewise.
60685 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60687         * sysdeps/x86_64/preconfigure.in: New file.
60688         * sysdeps/x86_64/preconfigure: New generated file.
60690 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60692         [BZ #13824]
60693         * math/e_exp2l.c: Include <float.h>.
60694         (__ieee754_exp2l): Handle overflow and underflow cases
60695         separately.  Only pass fractional part of argument to
60696         __ieee754_expl.
60697         * math/libm-test.inc (exp2_test): Add more tests.
60699         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60700         negating x to take absolute value.
60701         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60702         Likewise.
60703         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60704         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60705         Likewise.
60706         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60707         computing low part if x was negated.
60708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60710 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60712         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60713         la_x32_gnu_pltexit.
60714         (pltexit): Cast int_retval to ptrdiff_t.
60715         * elf/tst-auditmod3b.c: Likewise.
60716         * elf/tst-auditmod4b.c: Likewise.
60717         * elf/tst-auditmod5b.c: Likewise.
60718         * elf/tst-auditmod6b.c: Likewise.
60719         * elf/tst-auditmod6c.c: Likewise.
60720         * elf/tst-auditmod7b.c: Likewise.
60722         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60723         and x32_gnu_pltexit.
60725         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60726         __ELF_NATIVE_CLASS.
60727         (La_x32_regs): New macro.
60728         (La_x32_retval): Likewise.
60729         (la_x32_gnu_pltenter): New function prototype.
60730         (la_x32_gnu_pltexit): Likewise.
60732 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60734         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60735         exponent.
60737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60739         * configure.in (libc_cv_cc_nofma): Check for option to disable
60740         generation of FMA instructions.
60741         * configure: Regenerate.
60742         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60743         * sysdeps/ieee754/dbl-64/Makefile: New file.
60744         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60745         Remove brandred-fma4.
60746         (CFLAGS-brandred-fma4.c): Remove.
60747         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60748         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60749         define.
60750         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60751         define.
60753 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60755         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60756         LLONG_MAX != LONG_MAX.
60757         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60758         (_fitoa_word): Likewise.
60759         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60760         LLONG_MAX != LONG_MAX.
60761         * stdio-common/_itowa.h: Include <_itoa.h>.
60762         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60763         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60764         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60765         only if not defined.
60766         (_ITOA_WORD_TYPE): Likewise.
60767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60768         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60770 2012-03-21  David S. Miller  <davem@davemloft.net>
60772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60774 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60776         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60777         of x86_64 when setting libc_cv_slibdir, libdir and
60778         libc_cv_localedir.
60779         * sysdeps/unix/sysv/linux/configure: Regenerated.
60781 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60783         * manual/lang.texi (Old Varargs): Remove section.
60784         (How Variadic): Update menu.
60785         (va_start): Do not mention varargs.h.
60787 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60788             Joseph Myers  <joseph@codesourcery.com>
60790         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60791         link test.
60792         * configure: Regenerated.
60794 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60796         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60797         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60798         conformtest.pl
60800 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60802         * NOTES: Remove.
60803         * Makefile (files-for-dist): Remove NOTES.
60804         (NOTES): Remove rule.
60805         * README: Don't refer to NOTES.
60806         * manual/creature.texi: Don't include macros.texi.
60807         * manual/intro.texi (creature.texi): Remove comment referring to
60808         NOTES.
60810         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60811         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60812         * configure: Regenerated.
60813         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60814         LIBC_TRY_CC_OPTION.
60815         (libc_cv_as_i686): Likewise.
60816         (libc_cv_cc_avx): Likewise.
60817         (libc_cv_cc_sse2avx): Likewise.
60818         (libc_cv_cc_fma4): Likewise.
60819         (libc_cv_cc_novzeroupper): Likewise.
60820         * sysdeps/i386/configure: Regenerated.
60822         [BZ #13883]
60823         * sysdeps/i386/fpu/s_cexp.S: Remove.
60824         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60825         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60826         * math/libm-test.inc (cexp_test): Add more tests.
60827         * sysdeps/i386/fpu/libm-test-ulps: Update.
60828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60830 2012-03-21  Allan McRae  <allan@archlinux.org>
60832         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60834 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60836         [BZ #13871]
60837         * math/w_exp2.c: Do not include <float.h>.
60838         (o_threshold, u_threshold): Remove.
60839         (__exp2): Calculate result before checking finiteness and calling
60840         __kernel_standard.
60841         * math/w_exp2f.c: Likewise.
60842         * math/w_exp2l.c: Likewise.
60843         * math/libm-test.inc (exp2_test): Require overflow exception for
60844         1e6 input.
60846         [BZ #3866]
60847         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60848         range of signed 64-bit integers before using fistpll.  Remove
60849         checks for whether integers fit in mantissa bits.
60850         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60851         the range of signed 32-bit integers before using fistpl.  Remove
60852         checks for whether integers fit in mantissa bits.
60853         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60854         (__ieee754_powl): Test for y outside the range of signed 64-bit
60855         integers before using fistpll.  Reduce 64-bit values to 63-bit
60856         ones as needed.
60857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60858         divide-by-zero is raised for zero to large negative powers.
60859         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60860         (__ieee754_powl): Test for y outside the range of signed 64-bit
60861         integers before using fistpll.  Reduce 64-bit values to 63-bit
60862         ones as needed.
60863         * math/libm-test.inc (pow_test): Add more tests.
60865 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60867         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60868         <stdio-common/_itoa.h>.
60869         * debug/segfault.c: Likewise.
60870         * elf/dl-cache.c: Likewise.
60871         * elf/dl-minimal.c: Likewise.
60872         * elf/dl-misc.c: Likewise.
60873         * elf/dl-sysdep.c: Likewise.
60874         * elf/dl-version.c: Likewise.
60875         * elf/rtld.c: Likewise.
60876         * hurd/hurdsock.c: Likewise.
60877         * hurd/lookup-retry.c: Likewise.
60878         * malloc/malloc.c: Likewise.
60879         * malloc/mtrace.c: Likewise.
60880         * nscd/nscd_getgr_r.c: Likewise.
60881         * nscd/nscd_getpw_r.c: Likewise.
60882         * nscd/nscd_getserv_r.c: Likewise.
60883         * posix/getopt_init.c: Likewise.
60884         * posix/wordexp.c: Likewise.
60885         * stdio-common/_itoa.c: Likewise.
60886         * stdio-common/printf_fphex.c: Likewise.
60887         * stdio-common/vfprintf.c: Likewise.
60888         * string/_strerror.c: Likewise.
60889         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60890         * sysdeps/i386/i686/hp-timing.h: Likewise.
60891         * sysdeps/mach/_strerror.c: Likewise.
60892         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60893         * sysdeps/mach/hurd/sethostid.c: Likewise.
60894         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60895         * sysdeps/mach/xpg-strerror.c: Likewise.
60896         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60897         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60898         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60899         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60900         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60901         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60902         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60903         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60904         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60905         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60906         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60907         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60908         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60909         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60910         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60911         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60912         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60913         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60914         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60915         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60916         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60918         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60920         * stdio-common/_itoa.h: Moved to ...
60921         * sysdeps/generic/_itoa.h: Here.
60923         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60925         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60926         instead of "_itoa.h" and "_itowa.h".
60927         * stdio-common/vfprintf.: Likewise.
60929 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60931         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60932         <bits/wordsize.h>.
60933         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60934         (__signbit): Likwise.
60935         (llrintf): Likwise.
60936         (llrint): Likwise.
60938 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60940         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60941         __WORDSIZE != 64.
60943 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60945         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60946         OVERFLOW_EXCEPTION_OK.
60947         * math/libm-test.inc ("Philosophy"): Update comment about
60948         exception testing.
60949         (OVERFLOW_EXCEPTION): Define.
60950         (OVERFLOW_EXCEPTION_OK): Likewise.
60951         (INVALID_EXCEPTION_OK): Renumber.
60952         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60953         (IGNORE_ZERO_INF_SIGN): Likewise.
60954         (test_exceptions): Handle FE_OVERFLOW.
60955         (exp10_test): Expect overflow exceptions.
60956         (exp2_test): Likewise.
60957         (expm1_test): Likewise.
60958         (nextafter_test): Likewise.
60959         (pow_test): Likewise.
60960         (scalbn_test): Likewise.
60961         (scalbln_test): Likewise.
60963 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60965         * sysdeps/x86_64/bits/atomic.h
60966         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60967         64bit integer.
60968         (atomic_exchange_acq): Likewise.
60969         (__arch_exchange_and_add_body): Likewise.
60970         (__arch_add_body): Likewise.
60971         (atomic_add_negative): Likewise.
60972         (atomic_add_zero): Likewise.
60974 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60976         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60977         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60981         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60982         Check __x86_64__ instead of __WORDSIZE.
60984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60986         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60988 2012-03-19  David S. Miller  <davem@davemloft.net>
60990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60992         * sysdeps/sparc/fpu/fenv_private.h: New file.
60993         * sysdeps/sparc/fpu/math_private.h: Use it.
60994         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60995         Remove.
60996         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60997         (libc_feholdexcept_setroundl): Remove.
60998         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60999         Remove.
61000         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61001         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61005         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61006         int64_t instead of long int.
61007         (INSERT_WORDS64): Likwise.
61009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61011         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61012         _Unwind_GetCFA return to _Unwind_Ptr first.
61014 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61016         [BZ #13629]
61017         * math/s_clog.c: Include <float.h>.
61018         (__clog): Scale large or subnormal inputs.
61019         * math/s_clogf.c: Likewise.
61020         * math/s_clogl.c: Likewise.
61021         * math/s_clog10.c: Include <float.h>.
61022         (M_LOG10_2): Define.
61023         (__clog10): Scale large or subnormal inputs.
61024         * math/s_clog10f.c: Likewise.
61025         * math/s_clog10l.c: Likewise.
61026         * math/libm-test.inc (clog_test): Add more tests.
61027         (clog10_test): Likewise.
61028         * sysdeps/i386/fpu/libm-test-ulps: Update.
61029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61031         [BZ #11451]
61032         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61033         x and y.
61034         * math/libm-test.inc (atan2_test): Add another test.
61036         * Makerules (common-objdir-compile): Remove.
61037         * sysdeps/unix/Makefile (config-generated): Do not add
61038         $(unix-generated) to variable.
61039         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61040         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61041         Remove rule.
61042         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61043         Likewise.
61044         [generic bits/local_lim.h] (before-compile): Do not append to
61045         variable.
61046         [generic bits/local_lim.h] (common-generated): Likewise.
61047         [generic sys/param.h] (before-compile): Do not append to variable.
61048         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61049         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61050         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61051         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61052         include.
61053         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61054         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61055         [generic sys/param.h] ($(addprefix
61056         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61057         [generic sys/param.h] (common-generated): Do not append to
61058         variable.
61059         [generic sys/param.h] (sysdep_headers): Likewise.
61060         [generic bits/errno.h] (before-compile): Do not append to
61061         variable.
61062         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61063         rule.
61064         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61065         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61066         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61067         [generic bits/errno.h] (common-generated): Do not append to
61068         variable.
61069         [generic bits/ioctls.h] (before-compile): Do not append to
61070         variable.
61071         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61072         rule.
61073         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61074         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61075         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61076         rule.
61077         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61078         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61079         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61080         [generic bits/ioctls.h] (common-generated): Do not append to
61081         variable.
61082         [generic sys/syscall.h] (syscall.h): Remove variable.
61083         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61084         rule.
61085         [generic sys/syscall.h] (before-compile): Do not append to
61086         variable.
61087         [generic sys/syscall.h] (common-generated): Likewise.
61088         * sysdeps/unix/errnos-tmpl.c: Remove file.
61089         * sysdeps/unix/errnos.awk: Likewise.
61090         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61091         * sysdeps/unix/ioctls.awk: Likewise.
61092         * sysdeps/unix/mk-local_lim.c: Likewise.
61093         * sysdeps/unix/snarf-ioctls: Likewise.
61095 2012-03-19  Richard Henderson  <rth@twiddle.net>
61097         * sysdeps/i386/fpu/fenv_private.h: New file.
61098         * sysdeps/i386/fpu/math_private.h: Use it.
61099         (math_opt_barrier, math_force_eval): Remove.
61100         (libc_feholdexcept_setround_53bit): Remove.
61101         (libc_feupdateenv_53bit): Remove.
61102         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61103         (math_opt_barrier, math_force_eval): Remove.
61104         (libc_feholdexcept): Remove.
61105         (libc_feholdexcept_setround): Remove.
61106         (libc_fetestexcept, libc_fesetenv): Remove.
61107         (libc_feupdateenv_test): Remove.
61108         (libc_feupdateenv, libc_feholdsetround): Remove.
61109         (libc_feresetround): Remove.
61111         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61112         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61114         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61115         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61116         (libc_feupdateenv_testl): New.
61117         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61118         (libc_feupdateenv_testf): New.
61119         (libc_feupdateenv): Use libc_feupdateenv_test.
61120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61121         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61123         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61124         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61125         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61126         (libc_feresetround_noex): New.
61127         (libc_feresetround_noexf): New.
61128         (libc_feresetround_noexl): New.
61129         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61130         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61131         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61132         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61133         SET_RESTORE_ROUND.
61134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61135         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61136         (__cos): Likewise.
61137         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61138         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61139         SET_RESTORE_ROUND_NOEX.
61140         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61141         SET_RESTORE_ROUND_NOEXF.
61142         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61143         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61144         (libc_feholdsetroundf): New.
61145         (libc_feresetround, libc_feresetroundf): New.
61147         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61148         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61149         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61151         * sysdeps/generic/math_private.h: Include <fenv.h>.
61152         (default_libc_feholdexcept): New.
61153         (default_libc_feholdexcept_setround): New.
61154         (default_libc_fesetenv, default_libc_feupdateenv): New.
61155         (libc_feholdexcept): Only define if undefined.
61156         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61157         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61158         (libc_feholdexcept_setroundl): Likewise.
61159         (libc_feholdexcept_setround_53bit): Likewise.
61160         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61161         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61162         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61163         (libc_feupdateenv_53bit): Likewise.
61164         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61165         (libc_feholdexcept): Convert from macro to inline function.
61166         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61167         (libc_fesetenv, libc_feupdateenv): Likewise.
61169         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61170         not previously defined.
61171         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61172         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61173         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61174         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61175         * sysdeps/ieee754/flt-32/math_private.h: New file.
61176         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61177         math_private.h below SET_FLOAT_WORD.
61178         (__isnan, __isinf_ns, __finite): Remove.
61179         (__isnanf, __isinf_nsf, __finitef): Remove.
61181 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61185 2012-03-17  David S. Miller  <davem@davemloft.net>
61187         [BZ #6471]
61188         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61189         for 2.16.
61191 2012-03-16  David S. Miller  <davem@davemloft.net>
61193         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61194         warnings.
61196         [BZ #6471]
61197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61198         properly.
61199         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61200         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61201         sysdep_routines when subdir is sysvipc.
61202         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61203         __getshmlba helper.
61205         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61207 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61209         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61210         [__LP64__].
61212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61214         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61215         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61216         (__lround): Renamed to ...
61217         (__llround): This.  Replace long int with long long int.
61218         Define lround functions as aliases of llround functions.
61219         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61221 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61223         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61224         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61225         adresses to uintptr_t.  Replace "long int" and "unsigned long
61226         int" with "greg_t" on va_arg.
61228 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61230         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61231         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61233         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61234         Move e_machine check before EI_CLASS check.  Handle x32
61235         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61236         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61237         SKIP_EM_IA_64 and include
61238         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61240         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61241         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61242         (add_system_dir): New macro.
61244         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61245         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61247 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61249         [BZ #2551]
61250         [BZ #2552]
61251         [BZ #2553]
61252         [BZ #2554]
61253         [BZ #2562]
61254         [BZ #2563]
61255         [BZ #2565]
61256         [BZ #2566]
61257         [BZ #2576]
61258         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61259         (y0): Likewise.
61260         * math/w_j0f.c (j0f): Likewise.
61261         (y0f): Likewise.
61262         * math/w_j0l.c (__j0l): Likewise.
61263         (__y0l): Likewise.
61264         * math/w_j1.c (j1): Likewise.
61265         (y1): Likewise.
61266         * math/w_j1f.c (j1f): Likewise.
61267         (y1f): Likewise.
61268         * math/w_j1l.c (__j1l): Likewise.
61269         (__y1l): Likewise.
61270         * math/w_jn.c (jn): Likewise.
61271         (yn): Likewise.
61272         * math/w_jnf.c (jnf): Likewise.
61273         (ynf): Likewise.
61274         * math/w_jnl.c (__jnl): Likewise.
61275         (__ynl): Likewise.
61276         * math/libm-test.inc (j0_test): Add more tests.
61277         (j1_test): Likewise.
61278         (jn_test): Likewise.  Add trailing semicolon to existing test.
61279         (y0_test): Likewise.
61280         (y1_test): Likewise.
61281         * sysdeps/i386/fpu/libm-test-ulps: Update.
61282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61284         [BZ #13851]
61285         [BZ #13854]
61286         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61287         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61288         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61289         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61290         (__tanl): Set errno for infinite argument.
61291         * sysdeps/i386/fpu/mptan.c: Remove.
61292         * sysdeps/i386/fpu/s_tan.S: Likewise.
61293         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61294         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61295         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61296         * math/libm-test.inc (tan_test): Add more tests and enable more
61297         tests for double and long double.
61298         * sysdeps/i386/fpu/libm-test-ulps: Update.
61299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61301 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61303         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61304         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61306 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61308         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61309         * configure.in: Use it for both main tree and add-ons.
61310         * configure: Regenerated.
61312 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61314         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61316 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61318         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61319         in comment.
61321         [BZ #13851]
61322         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61323         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61324         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61325         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61326         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61327         infinite argument.
61328         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61330         != 0 for prec == 2.
61331         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61332         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61333         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61334         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61335         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61336         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61337         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61338         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61339         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61340         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61341         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61342         * math/libm-test.inc (cos_test): Add more tests and enable more
61343         tests for long double.
61344         (sin_test): Likewise.
61345         (sincos_test): Likewise.
61346         * sysdeps/i386/fpu/libm-test-ulps: Update.
61347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61349 2012-03-16  David S. Miller  <davem@davemloft.net>
61351         * sysdeps/sparc/fpu/math_private.h: New file.
61353 2012-03-15  David S. Miller  <davem@davemloft.net>
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61356         file.
61357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61359         file.
61360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61366         sysdep routines.
61367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61369         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61370         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61372         * sysdeps/sparc/sparc-ifunc.h: New file.
61373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61374         sparc-ifunc.h
61375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61377         Likewise.
61378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61379         Likewise.
61380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61384         Likewise.
61385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61390         Likewise.
61391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61392         Likewise.
61393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61411         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61412         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61413         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61414         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61415         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61416         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61418 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61420         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61421         scaling.
61422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61424 2012-03-15  Andreas Jaeger  <aj@suse.de>
61426         [BZ #13852]
61427         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61428         ieee754/flt-32 implementation for sin, cos and sincos.
61429         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61430         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61431         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61432         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61433         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61434         ieee754/flt-32 implementation for tan.
61436         * math/libm-test.inc (cos_test): Enable some large input tests for
61437         float as well
61438         (sin_test): Likewise.
61439         (sincos_test): Likewise.
61440         (tan_test): Add tests for large input.
61442         * sysdeps/i386/fpu/libm-test-ulps: Update.
61444 2012-03-15  Andreas Jaeger  <aj@suse.de>
61446         [BZ #13658]
61447         * math/libm-test.inc (cos_test): Add more test cases.
61448         (sin_test): Likewise.
61449         (sincos_test): Likewise.
61451 2012-03-15  Andreas Jaeger  <aj@suse.de>
61453         [BZ #13837]
61454         * math/libm-test.inc (cos_test): Add a test case for large input
61455         value.
61456         (sin_test): Likewise.
61457         (sincos_test): Likewise.
61459 2012-03-15  Andreas Jaeger  <aj@suse.de>
61460             Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #13658]
61463         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61464         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61465         * sysdeps/i386/fpu/branred.c: Likewise.
61466         * sysdeps/i386/fpu/dosincos.c: Likewise.
61467         * sysdeps/i386/fpu/mpa.c: Likewise.
61468         * sysdeps/i386/fpu/s_cos.S: Likewise.
61469         * sysdeps/i386/fpu/s_sin.S: Likewise.
61470         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61471         * sysdeps/i386/fpu/sincos32.c: Likewise.
61473         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61474         Define.
61475         (libc_feupdateenv_53bit): Define.
61476         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61477         Define.
61478         (libc_feupdateenv_53bit): Define.
61480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61481         53 bit (without extend i386 double precision).
61483         * math/libm-test.inc (sincos_test): Add tests for large input.
61484         (sin): Likewise.
61485         (cos): Likewise.
61487         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61489 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61493 2012-03-15  David S. Miller  <davem@davemloft.net>
61495         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61496         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61497         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61498         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61511         file.
61512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61514         file.
61515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61517         file.
61518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61520         file.
61521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61523         fmin/fmax sysdep routines.
61524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61526 2012-03-14  David S. Miller  <davem@davemloft.net>
61528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61532         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61534         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61535         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61537         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61548         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61549         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61550         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61551         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61552         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61553         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61554         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61557         routines.
61558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61559         file.
61560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61562         file.
61563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61565         file.
61566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61568         file.
61569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61571         file.
61572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61574         file.
61575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61576         file.
61577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61578         file.
61579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61580         file.
61581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61582         New file.
61583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61584         file.
61585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61586         file.
61587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61589         file.
61590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61592         file.
61593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61595         file.
61596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61598         VIS3 routines.
61600         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61601         New file.
61603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61605         * sysdeps/sparc/configure.in: New file.
61606         * sysdeps/sparc/configure: Generate.
61607         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61608         * configure: Regenerate.
61609         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61610         * config.make.in (have-as-vis3): New.
61611         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61612         available use -Av9d instead of -Av9a.
61613         * sysdeps/sparc/sparc64/Makefile: Likewise.
61614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61616         New file.
61617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61618         file.
61619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61620         New file.
61621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61622         file.
61623         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61624         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61625         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61626         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61627         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61629         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61630         fzeros/fnegs to load 0x80000000 into a float register instead of
61631         using the stack.
61632         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61634 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61637         bits/syscall.h.
61638         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61639         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61640         ($(inst_includedir)/bits/syscall.h): Remove rule.
61641         ($(objpfx)bits/syscall.d): Include instead of
61642         $(objpfx)syscall-list.d.
61643         (generated): Change syscall-list.h and syscall-list.d to
61644         bits/syscall.h and bits/syscall.d.
61646 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61648         [BZ #13846]
61649         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61651 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61653         [BZ #13841]
61654         * math/s_csqrt.c: Include <float.h>.
61655         (__csqrt): Scale large or subnormal inputs.
61656         * math/s_csqrtf.c: Likewise.
61657         * math/s_csqrtl.c: Likewise.
61658         * math/libm-test.inc (csqrt_test): Add more tests.
61659         * sysdeps/i386/fpu/libm-test-ulps: Update.
61660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61662         [BZ #13840]
61663         * math/libm-test.inc (hypot_test): Add more tests.
61665 2012-03-13  David S. Miller  <davem@davemloft.net>
61667         [BZ #13840]
61668         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61669         double-precision for the calculation instead of scaling.
61671 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61673         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61674         manipulate bits before adding and subtracting TWO52[sx].
61675         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61676         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61677         Likewise.
61678         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61680 2012-03-13  David S. Miller  <davem@davemloft.net>
61682         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61683         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61685         rtld-global-offsets.h
61686         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61688         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61689         large parameters.
61691         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61693         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61694         'err' in the ifdef scope in which it is actually used.
61696         * nss/nss_db/db-init.c: Include string.h
61698 2012-03-12  David S. Miller  <davem@davemloft.net>
61700         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61701         masking out of the most significant byte of random value used.
61702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61703         Fix coding style in previous change.
61705         * sysdeps/unix/sysv/linux/kernel-features.h
61706         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61707         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61708         expression.
61709         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61710         later.
61712 2012-03-11  David S. Miller  <davem@davemloft.net>
61714         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61715         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61716         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61717         for 'resultvar' otherwise things get truncated on 64-bit.
61719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61720         Fix masking out of the most significant byte of random value used.
61722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61724 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61728 2012-03-09  David S. Miller  <davem@davemloft.net>
61730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61731         variables with appropriate CPP guards.
61732         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61733         from the frame pointer, not the stack pointer.  Correct layout
61734         comments.  Fix test on resulting framesize and the management of
61735         the outregs buffer for pltexit.  Preserve floating point return
61736         values across _dl_call_pltexit call.
61737         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61738         framesize and the management of the outregs buffer for pltexit.
61739         Preserve floating point return values across _dl_call_pltexit
61740         call.
61741         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61742         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61743         (la_sparc64_gnu_pltexit): New functions.
61744         (print_exit): Fix format string for return register value.
61746 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61748         * sunrpc/Makefile (others): Add rpcgen.
61749         ($(objpfx)rpcgen): Remove special build rule and dependency on
61750         libc.
61751         * sunrpc/rpcgen.c: New file.
61753 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61755         [BZ #13673]
61756         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61757         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61758         * sysdeps/i386/crti.S: Likewise.
61759         * sysdeps/i386/crtn.S: Likewise.
61760         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61761         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61762         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61763         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61764         * sysdeps/sh/crti.S: Likewise.
61765         * sysdeps/sh/crtn.S: Likewise.
61766         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61768         [BZ #13673]
61769         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61770         with URL.
61771         * locale/programs/locfile-kw.gperf: Likewise.
61772         * locale/programs/charmap-kw.h: Regenerated.
61773         * locale/programs/locfile-kw.h: Likewise.
61775         [BZ #13673]
61776         * intl/plural.y: Replace FSF snail mail address with URL.
61777         * intl/plural.c: Regenerated.
61779 2012-03-09  Richard Henderson  <rth@twiddle.net>
61781         * include/math_private.h: Remove file.
61782         * math/math_private.h: Move file ...
61783         * sysdeps/generic/math_private.h: ... here.
61785         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61786         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61787         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61789         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61790         and <math_private.h>.
61791         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61792         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61793         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61794         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61795         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61796         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61797         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61798         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61799         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61800         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61802         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61803         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61804         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61805         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61806         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61807         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61808         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61809         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61810         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61812         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61813         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61815         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61816         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61817         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61818         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61821         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61823         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61824         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61825         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61826         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61827         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61831         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61832         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61833         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61834         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61835         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61836         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61837         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61838         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61839         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61840         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61841         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61842         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61843         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61844         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61845         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61846         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61847         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61848         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61849         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61850         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61851         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61852         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61853         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61854         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61855         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61856         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61857         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61858         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61859         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61860         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61861         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61862         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61865         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61867         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61868         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61870         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61871         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61872         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61873         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61874         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61875         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61876         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61877         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61878         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61879         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61880         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61881         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61882         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61883         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61884         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61885         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61886         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61887         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61888         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61889         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61890         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61891         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61892         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61893         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61894         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61895         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61896         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61897         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61898         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61899         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61901         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61902         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61903         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61904         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61905         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61906         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61907         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61908         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61909         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61910         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61911         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61912         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61913         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61914         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61915         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61916         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61917         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61918         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61919         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61920         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61921         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61922         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61923         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61924         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61925         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61926         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61927         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61928         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61929         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61930         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61931         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61932         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61933         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61934         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61935         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61936         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61937         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61938         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61939         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61940         * sysdeps/ieee754/k_standard.c: Likewise.
61941         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61942         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61943         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61944         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61945         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61946         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61947         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61948         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61949         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61950         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61951         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61953         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61954         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61955         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61956         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61957         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61958         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61959         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61960         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61961         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61962         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61963         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61964         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61965         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61966         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61967         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61968         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61969         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61970         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61971         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61972         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61973         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61974         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61975         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61976         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61978         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61979         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61980         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61981         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61982         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61983         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61984         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61985         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61986         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61987         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61988         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61989         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61990         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61991         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61992         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61993         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61994         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61997         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61998         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61999         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62001         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62002         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62003         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62004         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62005         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62007         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62008         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62009         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62010         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62011         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62013         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62014         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62015         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62016         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62017         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62018         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62020         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62021         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62022         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62023         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62024         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62025         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62026         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62027         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62029         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62032         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62033         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62034         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62036         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62037         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62038         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62039         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62042         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62044         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62045         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62046         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62047         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62048         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62049         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62050         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62051         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62052         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62053         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62054         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62055         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62056         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62057         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62058         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62059         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62061         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62062         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62063         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62064         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62065         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62066         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62067         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62068         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62069         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62070         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62071         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62072         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62073         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62074         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62080         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62082         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62083         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62084         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62085         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62087         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62088         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62089         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62090         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62091         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62092         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62093         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62094         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62095         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62096         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62097         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62098         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62099         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62100         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62101         * sysdeps/ieee754/s_lib_version.c: Likewise.
62102         * sysdeps/ieee754/s_matherr.c: Likewise.
62103         * sysdeps/ieee754/s_signgam.c: Likewise.
62104         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62105         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62106         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62107         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62108         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62109         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62110         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62111         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62112         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62113         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62114         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62115         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62116         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62117         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62118         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62119         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62120         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62121         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62122         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62126 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62128         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62129         * sunrpc/rpc_main.c: Likewise.
62130         * sunrpc/rpc_svcout.c: Likewise.
62132 2012-03-09  David S. Miller  <davem@davemloft.net>
62134         * include/math_private.h: New file.
62136 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62138         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62139         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62140         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62141         from <bits/socket_type.h>.
62142         (enum __socket_type): Don't define here.
62143         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62145         bits/socket_type.h.
62147         [BZ #13566]
62148         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62149         checking __USE_GNU.
62151         * Makerules ($(inst_includedir)/%.h): New rule.
62152         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62153         (install-others): Remove variable setting.
62154         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62156 2012-03-08  Richard Henderson  <rth@twiddle.net>
62158         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62159         from macro to inline function; merge with the
62160         !__LIBC_INTERNAL_MATH_INLINES version.
62161         (__ieee754_sqrtf): Likewise.
62163         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62164         to inline function.
62165         (__rintf, __floor, __floorf): Likewise.
62167         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62168         macro to inline function.
62169         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62171         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62172         not <math/math_private.h>.
62174 2012-03-08  David S. Miller  <davem@davemloft.net>
62176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62177         copyright year.
62178         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62180 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62182         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62183         normalization.
62184         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62185         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62187 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62189         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62190         be defined individually, they must be defined as a block.  Define
62191         S for printing a string instead of hidint the different by using a
62192         macro for adding the 'l'.
62193         * stdio-common/tst-fphex-wide.c: Adjust.
62195 2012-03-07  Marek Polacek  <polacek@redhat.com>
62197         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62199 2012-03-08  Marek Polacek  <polacek@redhat.com>
62201         [BZ #13806]
62202         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62203         * stdio-common/tst-fphex.c: Define a few macros to make the
62204         test reusable.  Use them.
62205         * stdio-common/tst-fphex-wide.c: New file.
62207 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62209         [BZ #6911]
62210         * manual/macros.texi (gnusystems): New macro.
62211         (nongnusystems): Likewise.
62212         (gnulinuxhurdsystems): Likewise.
62213         (gnuhurdsystems): Likewise..
62214         (gnulinuxsystems): Likewise.
62215         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62216         variants of the GNU system, not "GNU system".
62217         * manual/conf.texi: Likewise.
62218         * manual/errno.texi: Likewise.  Update example of errno macro
62219         expansion.
62220         * manual/filesys.texi: Likewise.
62221         (getumask): Document as specific to GNU/Hurd.
62222         * manual/install.texi: Likewise.  Reword some references to
62223         GNU/Linux.
62224         * manual/intro.texi: Likewise.
62225         * manual/io.texi: Likewise.
62226         (File Name Portability): Detail which constraints are inapplicable
62227         to all GNU systems and which are only inapplicable to GNU/Hurd.
62228         * manual/job.texi: Likewise.
62229         * manual/llio.texi: Likewise.
62230         (O_NOCTTY): Document as present on GNU/Linux.
62231         * manual/maint.texi: Likewise.
62232         * manual/memory.texi: Likewise.
62233         * manual/pattern.texi: Likewise.
62234         * manual/pipe.texi: Likewise.
62235         * manual/process.texi: Likewise.
62236         * manual/resource.texi: Likewise.
62237         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62238         child on GNU/Hurd.
62239         * manual/setjmp.texi: Likewise.
62240         * manual/signal.texi: Likewise.
62241         * manual/startup.texi: Likewise.
62242         * manual/stdio.texi: Likewise.
62243         * manual/terminal.texi: Likewise.
62244         (ONLCR): Document as POSIX.
62245         (OXTABS): Document availability on GNU/Linux as XTABS.
62246         (ONOEOT): Document availability separately from other bits.
62247         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62248         * manual/time.texi: Likewise.
62249         * manual/users.texi: Likewise.
62250         * INSTALL: Regenerated.
62251         * sysdeps/gnu/errlist.c: Regenerated.
62253         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62254         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62255         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62256         puts.
62257         * configure: Regenerated.
62259 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62261         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62262         default includes instead of AC_HEADER_CHECK.
62263         * sysdeps/i386/configure: Regenerated.
62265         [BZ #10716]
62266         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62267         * math/s_cacoshf.c (__cacoshf): Likewise.
62268         * math/s_cacoshl.c (__cacoshl): Likewise.
62269         * math/s_casinh.c (__casinh): Set signs of result from argument.
62270         * math/s_casinhf.c (__casinhf): Likewise.
62271         * math/s_casinhl.c (__casinhl): Likewise.
62272         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62273         (casinh_test): Add more tests.
62274         * sysdeps/i386/fpu/libm-test-ulps: Update.
62275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62277 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62279         * po/zh_TW.po: Update from translation team.
62281         * login/Makefile (distribute): Remove variable.
62282         * catgets/Makefile: Likewise.
62283         * mach/Makefile: Likewise.
62284         * malloc/Makefile: Likewise.
62285         * misc/Makefile: Likewise.
62286         * iconv/Makefile: Likewise.
62287         * nscd/Makefile: Likewise.
62288         * hurd/Makefile: Likewise.
62289         * manual/Makefile: Likewise.
62290         * locale/Makefile: Likewise.
62291         * intl/Makefile: Likewise.
62292         * conform/Makefile: Likewise.
62293         * nss/Makefile: Likewise.
62294         * time/Makefile: Likewise.
62295         * soft-fp/Makefile: Likewise.
62296         * dirent/Makefile: Likewise.
62297         * gmon/Makefile: Likewise.
62298         * po/Makefile: Likewise.
62299         * rt/Makefile: Likewise.
62300         * socket/Makefile: Likewise.
62301         * math/Makefile: Likewise.
62302         * signal/Makefile: Likewise.
62303         * debug/Makefile: Likewise.
62304         * elf/Makefile: Likewise.
62305         * timezone/Makefile: Likewise.
62306         * stdlib/Makefile: Likewise.
62307         * iconvdata/Makefile: Likewise.
62308         * sunrpc/Makefile: Likewise.
62309         * io/Makefile: Likewise.
62310         * argp/Makefile: Likewise.
62311         * inet/Makefile: Likewise.
62312         * hesiod/Makefile: Likewise.
62313         * grp/Makefile: Likewise.
62314         * csu/Makefile: Likewise.
62315         * wctype/Makefile: Likewise.
62316         * crypt/Makefile: Likewise.
62317         * libio/Makefile: Likewise.
62318         * string/Makefile: Likewise.
62319         * nis/Makefile: Likewise.
62320         * resolv/Makefile: Likewise.
62321         * stdio-common/Makefile: Likewise.
62322         * wcsmbs/Makefile: Likewise.
62323         * dlfcn/Makefile: Likewise.
62324         * posix/Makefile: Likewise.
62326         [BZ #6959]
62327         * timezone/Makefile: Don't install timezone files, just the programs
62328         and scripts.
62330 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62332         * nss/databases.def: Add missing gshadow entry.
62334         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62336 2012-03-06  Marek Polacek  <polacek@redhat.com>
62338         [BZ #13726]
62339         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62340         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62341         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62342         * stdio-common/tst-long-dbl-fphex.c: New file.
62344 2012-03-06  David S. Miller  <davem@davemloft.net>
62346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62347         (set_obp_int): New function.
62348         (get_obp_int): New function.
62349         (__get_clockfreq_via_dev_openprom): Likewise.
62350         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62351         Avoid unused variable warnings on 'val' and use builtin_expect.
62352         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62353         __builtin_expect.
62354         (INLINE_CLONE_SYSCALL): Likewise.
62356 2012-03-05  David S. Miller  <davem@davemloft.net>
62358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62360 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62364         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62365         only for |x| >= 40.
62366         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62368 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62371         Replace gettimeofday with __vdso_gettimeofday.
62373         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62374         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62375         __vdso_clock_gettime and __vdso_getcpu.
62377         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62378         time with __vdso_time.
62380 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62382         * manual/lang.texi (size_t): Note types to which size_t may be
62383         equivalent with the GNU C Library, but do not describe when
62384         differences between them are significant.
62386 2012-03-05  Andreas Jaeger  <aj@suse.de>
62388         * sysdeps/i386/fpu/libm-test-ulps: Update.
62390 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62392         [BZ #3976]
62393         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62394         (__ieee754_pow): Save and restore rounding mode and use
62395         round-to-nearest for main computations.
62396         * math/libm-test.inc (pow_test_tonearest): New function.
62397         (pow_test_towardzero): Likewise.
62398         (pow_test_downward): Likewise.
62399         (pow_test_upward): Likewise.
62400         (main): Call the new functions.
62401         * sysdeps/i386/fpu/libm-test-ulps: Update.
62402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62404         [BZ #3976]
62405         * math/libm-test.inc (cosh_test_tonearest): New function.
62406         (cosh_test_towardzero): Likewise.
62407         (cosh_test_downward): Likewise.
62408         (cosh_test_upward): Likewise.
62409         (sinh_test_tonearest): Likewise.
62410         (sinh_test_towardzero): Likewise.
62411         (sinh_test_downward): Likewise.
62412         (sinh_test_upward): Likewise.
62413         (main): Call the new functions.
62414         * sysdeps/i386/fpu/libm-test-ulps: Update.
62415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62417 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62419         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62420         default stack guard is set in last bytes.
62421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62423 2012-03-05  Kees Cook  <keescook@chromium.org>
62425         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62427         [BZ #13656]
62428         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62429         possibly allocate from heap instead of stack.
62430         * stdio-common/bug-vfprintf-nargs.c: New file.
62431         * stdio-common/Makefile (tests): Add nargs overflow test.
62433 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62437 2012-03-03  Marek Polacek  <polacek@redhat.com>
62439         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62440         * math/math_private.h: Likewise.
62441         * stdlib/tst-strtod.c: Likewise.
62442         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62443         * sysdeps/x86_64/bits/atomic.h: Likewise.
62445 2012-03-02  David S. Miller  <davem@davemloft.net>
62447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62451         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62452         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62453         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62454         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62456 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62458         [BZ #13792]
62459         * manual/examples/README: New file, says the example source files
62460         can be used under GPL>=2.
62461         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62462         line containing just "*/".
62463         * manual/examples/add.c: Add copyright header (GPL>=2).
62464         * manual/examples/argp-ex1.c: Likewise.
62465         * manual/examples/argp-ex2.c: Likewise.
62466         * manual/examples/argp-ex3.c: Likewise.
62467         * manual/examples/argp-ex4.c: Likewise.
62468         * manual/examples/atexit.c: Likewise.
62469         * manual/examples/db.c: Likewise.
62470         * manual/examples/dir.c: Likewise.
62471         * manual/examples/dir2.c: Likewise.
62472         * manual/examples/execinfo.c: Likewise.
62473         * manual/examples/filecli.c: Likewise.
62474         * manual/examples/filesrv.c: Likewise.
62475         * manual/examples/fmtmsgexpl.c: Likewise.
62476         * manual/examples/genpass.c: Likewise.
62477         * manual/examples/inetcli.c: Likewise.
62478         * manual/examples/inetsrv.c: Likewise.
62479         * manual/examples/isockad.c: Likewise.
62480         * manual/examples/longopt.c: Likewise.
62481         * manual/examples/memopen.c: Likewise.
62482         * manual/examples/memstrm.c: Likewise.
62483         * manual/examples/mkfsock.c: Likewise.
62484         * manual/examples/mkisock.c: Likewise.
62485         * manual/examples/mygetpass.c: Likewise.
62486         * manual/examples/pipe.c: Likewise.
62487         * manual/examples/popen.c: Likewise.
62488         * manual/examples/rprintf.c: Likewise.
62489         * manual/examples/search.c: Likewise.
62490         * manual/examples/select.c: Likewise.
62491         * manual/examples/setjmp.c: Likewise.
62492         * manual/examples/sigh1.c: Likewise.
62493         * manual/examples/sigusr.c: Likewise.
62494         * manual/examples/stpcpy.c: Likewise.
62495         * manual/examples/strdupa.c: Likewise.
62496         * manual/examples/strftim.c: Likewise.
62497         * manual/examples/strncat.c: Likewise.
62498         * manual/examples/subopt.c: Likewise.
62499         * manual/examples/swapcontext.c: Likewise.
62500         * manual/examples/termios.c: Likewise.
62501         * manual/examples/testopt.c: Likewise.
62502         * manual/examples/testpass.c: Likewise.
62503         * manual/examples/timeval_subtract.c: Likewise.
62505         [BZ #13792]
62506         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62507         function to ...
62508         * manual/timeval_subtract.c.texi: ... here, new file.
62510 2012-03-02  David S. Miller  <davem@davemloft.net>
62512         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62514 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62516         [BZ #3976]
62517         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62518         (__sin): Save and restore rounding mode and use round-to-nearest
62519         for all computations.
62520         (__cos): Save and restore rounding mode and use round-to-nearest
62521         for all computations.
62522         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62523         <fenv.h>.
62524         (tan): Save and restore rounding mode and use round-to-nearest for
62525         all computations.
62526         * math/libm-test.inc (cos_test_tonearest): New function.
62527         (cos_test_towardzero): Likewise.
62528         (cos_test_downward): Likewise.
62529         (cos_test_upward): Likewise.
62530         (sin_test_tonearest): Likewise.
62531         (sin_test_towardzero): Likewise.
62532         (sin_test_downward): Likewise.
62533         (sin_test_upward): Likewise.
62534         (tan_test_tonearest): Likewise.
62535         (tan_test_towardzero): Likewise.
62536         (tan_test_downward): Likewise.
62537         (tan_test_upward): Likewise.
62538         (main): Call the new functions.
62539         * sysdeps/i386/fpu/libm-test-ulps: Update.
62540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62542         [BZ #10135]
62543         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62544         small n, then large n, before computing and testing k+n.
62545         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62547         Likewise.
62548         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62549         Likewise.
62550         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62551         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62552         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62553         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62556         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62557         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62558         * math/libm-test.inc (scalbn_test): Add more tests.
62559         (scalbln_test): Likewise.
62561         * manual/filesys.texi (mode_t): Describe constraints on size and
62562         signedness, not exact equivalence to a particular type.
62563         (ino_t): Likewise.
62564         (ino64_t): Likewise.
62565         (dev_t): Likewise.
62566         (nlink_t): Likewise.
62567         (blkcnt_t): Likewise.
62568         (blkcnt64_t): Likewise.
62569         * manual/llio.texi (off_t): Likewise.
62571         [BZ #3976]
62572         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62573         (__ieee754_exp): Save and restore rounding mode and use
62574         round-to-nearest for all computations.
62575         * math/libm-test.inc (exp_test_tonearest): New function.
62576         (exp_test_towardzero): Likewise.
62577         (exp_test_downward): Likewise.
62578         (exp_test_upward): Likewise.
62579         (main): Call the new functions.
62580         * sysdeps/i386/fpu/libm-test-ulps: Update.
62581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62583 2012-03-01  Chris Demetriou  <cgd@google.com>
62585         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62586         have predictable order.
62588 2012-03-01  David S. Miller  <davem@davemloft.net>
62590         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62592         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62593         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62594         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62595         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62597         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62598         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62599         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62601         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62602         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62603         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62604         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62605         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62609         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62610         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62611         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62613         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62614         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62615         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62616         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62617         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62618         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62619         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62620         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62621         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62622         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62623         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62624         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62626         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62627         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62628         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62629         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62630         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62631         * sysdeps/sparc/elf/configure: Regenerated.
62633 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62635         * configure.in (AS, LD): Require binutils 2.20 or later.
62636         * configure: Regenerated.
62637         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62638         as required minimum version.
62639         * INSTALL: Regenerated.
62641         [BZ #2541]
62642         [BZ #4108]
62643         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62644         before squaring exponent.
62645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62646         bottom long double and 27 bits of top long double before squaring
62647         exponent.
62648         * math/libm-test.inc (erfc_test): Add more tests.
62649         * sysdeps/i386/fpu/libm-test-ulps: Update.
62650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62653 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62655         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62656         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62657         containing bit-fields.
62658         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62659         * soft-fp/single.h (_FP_UNION_S): Likewise.
62660         * soft-fp/double.h (_FP_UNION_D): Likewise.
62662 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62664         [BZ #13786]
62665         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62666         not include ../strcmp.S.
62667         [USE_AS_STRNCASECMP_L]: Likewise.
62668         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62669         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62670         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62671         (__strncasecmp_l_ia32): Define as alias to
62672         __strncasecmp_l_nonascii.
62674         [BZ #5794]
62675         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62676         * sysdeps/i386/fpu/libm-test-ulps: Update.
62677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62679         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62682 2012-02-29  Jeff Law  <law@redhat.com>
62684         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62685         out of bounds read.
62687 2012-02-29  Marek Polacek  <polacek@redhat.com>
62689         [BZ #13706]
62690         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62691         * elf/Makefile: Add rules to run tst-unused-dep.out.
62693 2012-02-28  David S. Miller  <davem@davemloft.net>
62695         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62696         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62697         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62698         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62699         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62700         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62702 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62704         * math/libm-test.inc (llround_test): Move one test from
62705         lround_test.  Use TEST_f_L in moved test.
62706         (lround_test): Move misplaced test to llround_test.  Add testcase
62707         from bug 2561.
62709 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62711         * sysdeps/x86_64/fpu/e_expf.S: New file.
62712         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62714 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62716         [BZ #13637]
62717         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62718         of remain_len that may cause incomplete multi-byte character and
62719         false match.
62720         * posix/bug-regex33.c: New file.
62721         * posix/Makefile (tests): Add bug-regex33.
62723 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62725         * manual/macros.texi: New file.
62726         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62727         * manual/libc.texinfo: Include macros.texi.
62728         * manual/creatute.texi: Likewise.
62729         * manual/install.texi: Likewise.
62730         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62731         @glibcadj{} in references to the GNU C Library.
62732         * manual/charset.texi: Likewise.
62733         * manual/conf.texi: Likewise.
62734         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62735         when not using those macros.
62736         * manual/creature.texi: Likewise.
62737         * manual/crypt.texi: Likewise.
62738         * manual/errno.texi: Likewise.
62739         * manual/filesys.texi: Likewise.
62740         * manual/header.texi: Likewise.
62741         * manual/install.texi: Likewise.
62742         * manual/intro.texi: Likewise.
62743         * manual/io.texi: Likewise.
62744         * manual/job.texi: Likewise.
62745         * manual/lang.texi: Likewise.
62746         * manual/libc.texiinfo: Likewise.
62747         * manual/llio.texi: Likewise.
62748         * manual/locale.texi: Likewise.
62749         * manual/maint.texi: Likewise.
62750         * manual/math.texi: Likewise.
62751         * manual/memory.texi: Likewise.
62752         * manual/message.texi: Likewise.
62753         * manual/nss.texi: Likewise.
62754         * manual/pattern.texi: Likewise.
62755         * manual/process.texi: Likewise.
62756         * manual/resource.texi: Likewise.
62757         * manual/search.texi: Likewise.
62758         * manual/setjmp.texi: Likewise.
62759         * manual/signal.texi: Likewise.
62760         * manual/socket.texi: Likewise.
62761         * manual/startup.texi: Likewise.
62762         * manual/stdio.texi: Likewise.
62763         * manual/string.texi: Likewise.
62764         * manual/sysinfo.texi: Likewise.
62765         * manual/syslog.texi: Likewise.
62766         * manual/terminal.texi: Likewise.
62767         * manual/time.texi: Likewise.
62768         * manual/users.texi: Likewise.
62769         * INSTALL: Regenerated.
62770         * NOTES: Regenerated.
62771         * sysdeps/gnu/errlist.c: Regenerated.
62773 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62775         * include/dirent.h: Include <dirstream.h> before
62776         <dirent/dirent.h>.
62778 2012-02-28  David S. Miller  <davem@davemloft.net>
62780         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62781         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62782         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62783         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62785 2012-02-27  David S. Miller  <davem@davemloft.net>
62787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62789         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62790         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62793         frame pointer instead of stack pointer relative arg slot.
62794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62795         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62796         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62798 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62800         [BZ #3992]
62801         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62803 2012-02-27  David S. Miller  <davem@davemloft.net>
62805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62811         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62812         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62814 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62816         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62817         later.  Allow versions 5-9.
62818         * configure: Regenerated.
62819         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62820         required minimum version and 4.6 as recommended version.  Do not
62821         mention bugs in GCC 2.7 and 2.8.
62822         * INSTALL: Regenerated.
62824 2012-02-27  David S. Miller  <davem@davemloft.net>
62826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62830         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62831         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62832         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62833         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62835         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62836         manipulate bits before adding and subtracting TWO112[sx].
62837         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62839 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62841         [BZ #13775]
62842         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62843         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62844         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62845         being in POSIX, because they are in 1003.1-2008.
62847         * rt/tst-aio.c: Include <fcntl.h>.
62848         * rt/tst-aio7.c: Likewise.
62849         * rt/tst-aio64.c: Likewise.
62851         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62853 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62855         * manual/install.texi (--with-headers): Describe headers as
62856         interface headers, not private headers.
62857         (Specific advice for GNU/Linux systems): Describe use of headers
62858         from "make headers_install", not private headers from older
62859         kernels.
62860         * INSTALL: Regenerated.
62861         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62862         Change to 2.6.19.
62863         * sysdeps/unix/sysv/linux/configure: Regenerated.
62865         * manual/llio.texi (fclean): Remove documentation.
62867         * manual/Makefile (libc-texi-generated): New variable.  Include
62868         version.texi.
62869         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62870         $(libc-texi-generated), not duplicated list of files.
62871         (version.texi, stamp-version): New rules.
62872         (realclean): Remove $(libc-texi-generated), not individual files
62873         from that list.  Do not remove dir-add.texinfo.
62874         * manual/libc.texinfo: Comment out uses of edition numbers and
62875         references to printed manual.  Remove last-updated dates.
62876         (EDITION): Comment out.
62877         (ISBN): Likewise.
62878         (VERSION, UPDATED): Remove.
62879         (version.texi): Include.
62881 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62883         * sysdeps/posix/spawni.c: Include <signal.h>.
62884         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62885         * sysdeps/pthread/aio_fsync.c: Likewise.
62887 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62889         * conform/Makefile (tests): Run only when not cross-compiling and
62890         when fast-check is not defined.
62892         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62893         * conform/data/limits.h-data: Fixes for POSIX2008.
62894         * conform/run-conformtest.sh: Run all tests.
62895         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62896         headers.
62897         * include/bits/dlfcn.h: Likewise.
62898         * include/langinfo.h: Likewise.
62899         * include/monetary.h: Likewise.
62900         * include/sys/poll.h: Likewise.
62902         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62903         for __USE_GNU.
62904         * posix/spawn.h: Define __need_sigset_t.
62905         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62906         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62907         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62908         to get sigevent_t only.
62909         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62910         only for __USE_GNU.
62911         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62912         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62913         process_vm_writev only for __USE_GNU.
62914         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62916         * conform/Makefile: For now ignore errors from run-conformtest.
62917         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62918         POSIX to avoid namespace pollution.  Don't prepend headers.
62919         * conform/data/aio.h-data: Fixes for POSIX testing.
62920         * conform/data/fcntl.h-data: Likewise.
62921         * conform/data/glob.h-data: Likewise.
62922         * conform/data/grp.h-data: Likewise.
62923         * conform/data/pthread.h-data: Likewise.
62924         * conform/data/pwd.h-data: Likewise.
62925         * conform/data/signal.h-data: Likewise.
62926         * conform/data/spawn.h-data: Likewise.
62927         * conform/data/stdio.h-data: Likewise.
62928         * conform/data/stdlib.h-data: Likewise.
62929         * conform/data/stropts.h-data: Likewise.
62930         * conform/data/sys/mman.h-data: Likewise.
62931         * conform/data/sys/stat.h-data: Likewise.
62932         * conform/data/sys/types.h-data: Likewise.
62933         * conform/data/sys/wait.h-data: Likewise.
62934         * conform/data/time.h-data: Likewise.
62935         * conform/data/unistd.h-data: Likewise.
62936         * conform/data/utime.h-data: Likewise.
62938         * io/sys/stat.h: fchmod was always in POSIX.
62939         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62940         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62941         * rt/aio.h: Define __need_timespec before including <time.h>.
62942         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62943         struct.  Add forward declaration of pthread_attr_t and use it in
62944         sigevent.
62945         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62947         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62948         always remove CLK_TCK definition.
62950 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62952         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62954 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62956         * conform/run-conformtest.sh: New file.
62957         * conform/Makefile: Run run-conformtest for tests.
62958         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62959         support.
62961         * conform/data/uchar.h-data: New file.
62962         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62963         * conform/data/arpa/inet.h-data: Likewise.
62964         * conform/data/assert.h-data: Likewise.
62965         * conform/data/complex.h-data: Likewise.
62966         * conform/data/cpio.h-data: Likewise.
62967         * conform/data/ctype.h-data: Likewise.
62968         * conform/data/dirent.h-data: Likewise.
62969         * conform/data/dlfcn.h-data: Likewise.
62970         * conform/data/errno.h-data: Likewise.
62971         * conform/data/fcntl.h-data: Likewise.
62972         * conform/data/float.h-data: Likewise.
62973         * conform/data/fmtmsg.h-data: Likewise.
62974         * conform/data/fnmatch.h-data: Likewise.
62975         * conform/data/ftw.h-data: Likewise.
62976         * conform/data/glob.h-data: Likewise.
62977         * conform/data/grp.h-data: Likewise.
62978         * conform/data/iconv.h-data: Likewise.
62979         * conform/data/inttypes.h-data: Likewise.
62980         * conform/data/langinfo.h-data: Likewise.
62981         * conform/data/libgen.h-data: Likewise.
62982         * conform/data/limits.h-data: Likewise.
62983         * conform/data/locale.h-data: Likewise.
62984         * conform/data/math.h-data: Likewise.
62985         * conform/data/monetary.h-data: Likewise.
62986         * conform/data/mqueue.h-data: Likewise.
62987         * conform/data/ndbm.h-data: Likewise.
62988         * conform/data/net/if.h-data: Likewise.
62989         * conform/data/netdb.h-data: Likewise.
62990         * conform/data/netinet/in.h-data: Likewise.
62991         * conform/data/nl_types.h-data: Likewise.
62992         * conform/data/poll.h-data: Likewise.
62993         * conform/data/pthread.h-data: Likewise.
62994         * conform/data/pwd.h-data: Likewise.
62995         * conform/data/regex.h-data: Likewise.
62996         * conform/data/sched.h-data: Likewise.
62997         * conform/data/search.h-data: Likewise.
62998         * conform/data/semaphore.h-data: Likewise.
62999         * conform/data/setjmp.h-data: Likewise.
63000         * conform/data/signal.h-data: Likewise.
63001         * conform/data/spawn.h-data: Likewise.
63002         * conform/data/stdarg.h-data: Likewise.
63003         * conform/data/stdio.h-data: Likewise.
63004         * conform/data/stdlib.h-data: Likewise.
63005         * conform/data/string.h-data: Likewise.
63006         * conform/data/strings.h-data: Likewise.
63007         * conform/data/stropts.h-data: Likewise.
63008         * conform/data/sys/ipc.h-data: Likewise.
63009         * conform/data/sys/mman.h-data: Likewise.
63010         * conform/data/sys/msg.h-data: Likewise.
63011         * conform/data/sys/resource.h-data: Likewise.
63012         * conform/data/sys/select.h-data: Likewise.
63013         * conform/data/sys/sem.h-data: Likewise.
63014         * conform/data/sys/shm.h-data: Likewise.
63015         * conform/data/sys/socket.h-data: Likewise.
63016         * conform/data/sys/stat.h-data: Likewise.
63017         * conform/data/sys/statvfs.h-data: Likewise.
63018         * conform/data/sys/time.h-data: Likewise.
63019         * conform/data/sys/timeb.h-data: Likewise.
63020         * conform/data/sys/times.h-data: Likewise.
63021         * conform/data/sys/types.h-data: Likewise.
63022         * conform/data/sys/uio.h-data: Likewise.
63023         * conform/data/sys/un.h-data: Likewise.
63024         * conform/data/sys/utsname.h-data: Likewise.
63025         * conform/data/sys/wait.h-data: Likewise.
63026         * conform/data/syslog.h-data: Likewise.
63027         * conform/data/tar.h-data: Likewise.
63028         * conform/data/termios.h-data: Likewise.
63029         * conform/data/utime.h-data: Likewise.
63030         * conform/data/utmpx.h-data: Likewise.
63031         * conform/data/varargs.h-data: Likewise.
63032         * conform/data/wchar.h-data: Likewise.
63033         * conform/data/wctype.h-data: Likewise.
63034         * conform/data/wordexp.h-data: Likewise.
63036         * include/stropts.h: New file.
63037         * include/uchar.h: New file.
63038         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63039         * include/assert.h: Likewise.
63040         * include/ctype.h: Likewise.
63041         * include/dirent.h: Likewise.
63042         * include/dlfcn.h: Likewise.
63043         * include/fcntl.h: Likewise.
63044         * include/fnmatch.h: Likewise.
63045         * include/glob.h: Likewise.
63046         * include/grp.h: Likewise.
63047         * include/libio.h: Likewise.
63048         * include/locale.h: Likewise.
63049         * include/math.h: Likewise.
63050         * include/net/if.h: Likewise.
63051         * include/netdb.h: Likewise.
63052         * include/netinet/in.h: Likewise.
63053         * include/pthread.h: Likewise.
63054         * include/pwd.h: Likewise.
63055         * include/regex.h: Likewise.
63056         * include/sched.h: Likewise.
63057         * include/search.h: Likewise.
63058         * include/setjmp.h: Likewise.
63059         * include/signal.h: Likewise.
63060         * include/stdio.h: Likewise.
63061         * include/stdlib.h: Likewise.
63062         * include/string.h: Likewise.
63063         * include/sys/cdefs.h: Likewise.
63064         * include/sys/mman.h: Likewise.
63065         * include/sys/msg.h: Likewise.
63066         * include/sys/resource.h: Likewise.
63067         * include/sys/select.h: Likewise.
63068         * include/sys/socket.h: Likewise.
63069         * include/sys/stat.h: Likewise.
63070         * include/sys/statvfs.h: Likewise.
63071         * include/sys/time.h: Likewise.
63072         * include/sys/times.h: Likewise.
63073         * include/sys/uio.h: Likewise.
63074         * include/sys/utsname.h: Likewise.
63075         * include/sys/wait.h: Likewise.
63076         * include/termios.h: Likewise.
63077         * include/time.h: Likewise.
63078         * include/ulimit.h: Likewise.
63079         * include/unistd.h: Likewise.
63080         * include/utime.h: Likewise.
63081         * include/wchar.h: Likewise.
63082         * include/wctype.h: Likewise.
63083         * include/wordexp.h: Likewise.
63085         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63087         * time/time.h: TIME_UTC must be a macro.
63088         Make timespec_get available for ISO C11 only as well.
63090 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63092         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63093         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63095 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63097         * configure.in: Use -o not -a in test for unsupported multi-arch.
63099 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63101         * manual/texinfo.tex: Update to version 2012-01-19.16.
63103 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63105         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63107 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63109         [BZ #13738]
63110         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63111         * manual/fdl-1.3.texi: New file.
63112         * manual/fdl-1.1.texi: File removed.
63114         [BZ #13738]
63115         * manual/libc.texinfo (FDL_VERSION): New @set.
63116         Use it for mention of FDL in cover text.
63117         (Documentation License): Use it in @include file name.
63119 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63120             Roland McGrath  <roland@hack.frob.com>
63122         [BZ #5461]
63123         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63124         (not LONG_LONG_MAX and LONG_LONG_MIN.
63125         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63126         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63127         name.
63128         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63130 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63132         [BZ #2547]
63133         [BZ #11365]
63134         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63135         manipulate bits before adding and subtracting TWO23[sx].
63136         * math/libm-test.inc (nearbyint_test): Add more tests.
63138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63140         [BZ #2548]
63141         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63142         bits before adding and subtracting TWO23[sx].
63143         * math/libm-test.inc (rint_test): Add more tests.
63144         (rint_test_tonearest): Likewise.
63145         (rint_test_towardzero): Likewise.
63146         (rint_test_downward): Likewise.
63147         (rint_test_upward: Likewise.
63149 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63151         [BZ #10110]
63152         * include/stdc-predef.h: New file.  Extracted from features.h.
63153         * include/features.h: Include stdc-predef.h.
63154         * Makefile (headers): Add stdc-predef.h.
63155         * CONFORMANCE (Compiler limitations): Update.
63157 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63159         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63161 2012-02-21  David S. Miller  <davem@davemloft.net>
63163         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63164         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63166 2012-02-20  David S. Miller  <davem@davemloft.net>
63168         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63169         using a normal save/restore sequence, rather than allocating a
63170         dummy stack frame just to store a frame pointer and restore.
63171         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63173 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63175         * manual/install.texi: Fix stray word in line-wrapped comment.
63177 2012-02-20  David S. Miller  <davem@davemloft.net>
63179         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63180         both binutils and gcc support GOTDATA.
63182         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63183         "rd %pc" in the PIC register setup sequences.
63185         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63186         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63187         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63188         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63189         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63192         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63194         (SYSCALL_ERROR_HANDLER): Likewise.
63195         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63196         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63198         (SYSCALL_ERROR_HANDLER): Likewise.
63200         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63201         (HAVE_GCC_GOTDATA): New.
63202         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63203         relocation support in both binutils and gcc.
63204         * sysdeps/sparc/elf/configure: Regenerate.
63206         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63207         * sysdeps/sparc/sparc32/elf/configure: Delete.
63208         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63209         * sysdeps/sparc/sparc64/elf/configure: Delete.
63210         * sysdeps/sparc/elf/configure.in: New file.
63211         * sysdeps/sparc/elf/configure: Generate.
63213         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63214         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63215         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63216         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63217         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63219 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63221         * manual/install.texi: Do not mention specific glibc version
63222         numbers.
63223         * manual/libc.texinfo (VERSION, UPDATED): Update.
63224         (@copying): Use @copyright{} and range of years.
63226 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63228         [BZ #13695]
63229         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63230         [crti.S not in sysdirs] (generated): Do not append.
63231         [crti.S not in sysdirs] (omit-deps): Likewise.
63232         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63233         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63234         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63235         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63236         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63237         Likewise.
63238         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63239         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63240         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63241         * csu/defs.awk: Remove file.
63242         * sysdeps/generic/initfini.c: Likewise.
63243         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63244         variable.
63245         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63246         Likewise.
63248 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63250         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63251         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63252         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63254         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63255         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63256         <bits/epoll.h>.
63257         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63258         (__EPOLL_PACKED): Define to empty if not defined by
63259         <bits/epoll.h>.
63260         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63262         bits/epoll.h.
63264 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63266         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63267         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63268         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63269         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63270         <bits/timerfd.h>.
63271         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63273         bits/timerfd.h.
63275 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63277         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63278         in C locale.
63279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63280         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63281         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63284 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63286         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63287         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63289 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63291         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63292         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63293         defined.
63294         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63295         Likewise.
63296         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63297         entry for 2.16.
63299 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63301         * math/w_acos.c: Use non-signaling floating-point comparisons.
63302         * math/w_acosf.c: Likewise.
63303         * math/w_acosh.c: Likewise.
63304         * math/w_acoshf.c: Likewise.
63305         * math/w_acoshl.c: Likewise.
63306         * math/w_acosl.c: Likewise.
63307         * math/w_asin.c: Likewise.
63308         * math/w_asinf.c: Likewise.
63309         * math/w_asinl.c: Likewise.
63310         * math/w_atanh.c: Likewise.
63311         * math/w_atanhf.c: Likewise.
63312         * math/w_atanhl.c: Likewise.
63313         * math/w_exp2.c: Likewise.
63314         * math/w_exp2f.c: Likewise.
63315         * math/w_exp2l.c: Likewise.
63316         * math/w_j0.c: Likewise.
63317         * math/w_j0f.c: Likewise.
63318         * math/w_j0l.c: Likewise.
63319         * math/w_j1.c: Likewise.
63320         * math/w_j1f.c: Likewise.
63321         * math/w_j1l.c: Likewise.
63322         * math/w_jn.c: Likewise.
63323         * math/w_jnf.c: Likewise.
63324         * math/w_log.c: Likewise.
63325         * math/w_log10.c: Likewise.
63326         * math/w_log10f.c: Likewise.
63327         * math/w_log10l.c: Likewise.
63328         * math/w_log2.c: Likewise.
63329         * math/w_log2f.c: Likewise.
63330         * math/w_log2l.c: Likewise.
63331         * math/w_logf.c: Likewise.
63332         * math/w_logl.c: Likewise.
63333         * math/w_sqrt.c: Likewise.
63334         * math/w_sqrtf.c: Likewise.
63335         * math/w_sqrtl.c: Likewise.
63336         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63337         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63339         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63340         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63342 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63344         [BZ #9739]
63345         * manual/string.texi (strnlen): Use correct parameter name in
63346         equivalent expression.
63348 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63350         [BZ #11174]
63351         * manual/users.texi (seteuid): Consistently use neweuid for
63352         argument name.
63354 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63356         [BZ #13704]
63357         * manual/nss.texi (Services in the NSS configuration): Correct
63358         list of services in example configuration file.
63360 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63362         [BZ #11322]
63363         * manual/arith.texi: Remove statements about negative zero
63364         behaving identically to zero.
63366 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63368         [BZ #5993]
63369         * manual/install.texi: Do not document upgrading from libc5.
63371 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63373         [BZ #4596]
63374         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63376 2012-02-18  David S. Miller  <davem@davemloft.net>
63378         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63379         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63380         %o7 across the call.
63381         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63382         instead.
63383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63384         SETUP_PIC_REG_LEAF.
63385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63386         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63387         * sysdeps/sparc/crtn.S: Likewise.
63389 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63391         * aout/Makefile: Remove.
63393 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63395         [BZ #13058]
63396         * manual/examples/argp-ex1.c (main): Format definition in GNU
63397         style.
63398         * manual/examples/argp-ex2.c (main): Likewise.
63399         * manual/examples/argp-ex3.c (main): Likewise.
63400         * manual/examples/argp-ex4.c (main): Likewise.
63401         * manual/examples/longopt.c (main): Use new-style prototype
63402         definition.
63403         * manual/examples/strncat.c (main): Specify return type and use
63404         (void) for arguments.
63405         * manual/examples/subopt.c (main): Use char **argv argument.
63407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63409         [BZ #5077]
63410         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63411         rounding modes.
63413 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63415         [BZ #6907]
63416         * manual/string.texi (strchr): Change when strchrnul is
63417         recommended.
63419 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63421         [BZ #174]
63422         * manual/locale.texi (setlocale): Document LOCPATH.
63424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63426         [BZ #10210]
63427         * manual/process.texi (execle): Move @dots{} before last argument.
63429 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63431         [BZ #12047]
63432         * manual/charset.texi (Generic Charset Conversion): Fix typo
63433         (LC_TYPE -> LC_CTYPE).
63435 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63437         [BZ #5805]
63438         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63439         (scalbnf): Likewise.
63440         (scalbnl): Likewise.
63441         (scalbln): Likewise.
63442         (scalblnf): Likewise.
63443         (scalblnl): Likewise.
63444         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63445         (vwarnx): Likewise.
63446         (verr): Likewise.
63447         (verrx): Likewise.
63448         * manual/filesys.texi (telldir): Use braces around return type.
63449         * manual/llio.texi (mmap): Add space after comma.
63450         (mmap64): Likewise.
63451         * manual/math.texi (jn): Use @var{} on parameter names.
63452         (jnf): Likewise.
63453         (jnl): Likewise.
63454         (yn): Likewise.
63455         (ynf): Likewise.
63456         (ynl): Likewise.
63457         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63458         line.
63459         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63460         "...".
63461         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63462         (sched_get_priority_max): Likewise.
63463         * manual/signal.texi (sigvec): Add space after comma.
63464         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63465         names.
63466         (if_indextoname): Likewise.
63467         (if_freenameindex): Likewise.
63468         (sendto): Use ',' instead of '.' in prototype.
63469         * manual/startup.texi (syscall): Use @dots{} instead of literal
63470         "...".
63471         * manual/stdio.texi (__fpending): Separate initial words of
63472         paragraph from @deftypefun line.
63473         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63474         "...".
63475         (vsyslog): Use @var{} on parameter names.
63476         * manual/terminal.texi (stty): Use @var{} on parameter names.
63477         * manual/users.texi (getutmp): Use @var{} on parameter names.
63478         (getutmpx): Likewise.
63480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63482         [BZ #6884]
63483         * manual/stdio.texi (fopen): Fix typos in description of
63484         ",ccs=STRING".
63486 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63488         [BZ #4026]
63489         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63490         get clock_id definition.
63492 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63494         [BZ #4822]
63495         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63496         (madvise): Cast every argument to void on its own.
63498 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63500         [BZ #9902]
63501         * manual/startup.texi (Exit Status): Fix typo.
63503 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63505         [BZ #10140]
63506         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63507         * manual/examples/argp-ex2.c: Likewise.
63508         * manual/examples/argp-ex3.c: Likewise.
63510 2012-02-16  Richard Henderson  <rth@redhat.com>
63512         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63513         * sysdeps/s390/s390-32/initfini.c: Remove.
63514         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63515         * sysdeps/s390/s390-64/initfini.c: Remove.
63517 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63519         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63520         compiler output for sysdeps/generic/initfini.c.
63521         * sysdeps/sh/elf/initfini.c: Remove file.
63523 2012-02-16  David S. Miller  <davem@davemloft.net>
63525         [BZ #11494]
63526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63528         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63529         * sysdeps/sparc/crti.S: New file.
63530         * sysdeps/sparc/crtn.S: New file.
63531         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63532         * sysdeps/sparc/sparc64/Makefile: Likewise.
63534 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63536         [BZ #3335]
63537         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63539 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63541         [BZ #4822]
63542         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63544         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63545         (write, read, close): Likewise.
63546         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63548 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63550         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63551         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63552         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63553         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63554         <bits/signalfd.h>.
63555         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63557         bits/signalfd.h.
63559 2012-02-14  Marek Polacek  <polacek@redhat.com>
63561         * sysdeps/x86_64/crti.S: New file.
63562         * sysdeps/x86_64/crtn.S: New file.
63563         * sysdeps/x86_64/elf/initfini.c: Remove file.
63565 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63567         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63568         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63569         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63570         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63571         <bits/inotify.h>.
63572         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63574         bits/inotify.h.
63576 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63578         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63579         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63580         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63581         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63582         <bits/eventfd.h>.
63583         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63585         bits/eventfd.h.
63587 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63589         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63590         __feraiseexcept instead of feraiseexcept.
63592         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63593         nanosleep invocations.
63594         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63595         strings, and add error checking for a nanosleep invocations.
63597 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63599         Replace FSF snail mail address with URLs, as per GNU coding standards.
63600         Most of the snail mail addresses were wrong anyway, and omitting
63601         them makes the source code easier to maintain.  Almost all of the
63602         changes are to license notices and to locale LC_IDENTIFICATION
63603         addresses, except for this one:
63604         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63605         not its snail mail address.
63607 2012-02-09  Richard Henderson  <rth@twiddle.net>
63609         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63610         of kernel-features.h.
63612         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63614 2012-02-08  Marek Polacek  <polacek@redhat.com>
63616         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63617         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63618         * sysdeps/gnu/_G_config.h: Likewise.
63619         * sysdeps/generic/_G_config.h: Likewise.
63621 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63623         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63624         tests.
63625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63627         * sysdeps/powerpc/powerpc32/crti.S: New file.
63628         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63629         * sysdeps/powerpc/powerpc64/crti.S: New file.
63630         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63632         * Makeconfig (have-initfini): Don't set.
63633         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63634         * configure.in (nopic_initfini): Don't substitute.
63635         * config.h.in (HAVE_INITFINI): Don't #undef.
63636         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63637         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63639 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63641         Support crti.S and crtn.S provided directly by architectures.
63642         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63643         [crti.S in sysdirs] (omit-deps): Likewise.
63644         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63645         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63646         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63647         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63648         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63649         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63650         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63651         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63652         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63653         compiler output for sysdeps/generic/initfini.c.
63654         * sysdeps/i386/elf/Makefile: Remove file.
63655         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63657 2012-02-07  Marek Polacek  <polacek@redhat.com>
63659         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63660         * sysdeps/gnu/_G_config.h: Likewise.
63661         * sysdeps/mach/hurd/_G_config.h: Likewise.
63663 2012-02-07  Marek Polacek  <polacek@redhat.com>
63665         * math/Makefile (tests): Add tst-CMPLX2.
63666         * math/tst-CMPLX2.c: New file.
63668 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63670         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63672         * math/libm-test.inc (jn_test): Add missing L suffix.
63674 2012-02-06  Marek Polacek  <polacek@redhat.com>
63676         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63677         * sysdeps/i386/fpu/e_powf.S: Likewise.
63678         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63679         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63680         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63681         * sysdeps/i386/fpu/e_pow.S: Likewise.
63682         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63683         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63684         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63685         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63686         * sysdeps/i386/fpu/e_log2.S: Likewise.
63687         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63688         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63689         * sysdeps/i386/fpu/e_powl.S: Likewise.
63690         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63691         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63692         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63693         * sysdeps/i386/fpu/e_logl.S: Likewise.
63694         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63695         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63696         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63697         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63698         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63699         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63700         * sysdeps/i386/fpu/e_log.S: Likewise.
63701         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63702         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63703         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63704         * sysdeps/i386/fpu/e_logf.S: Likewise.
63705         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63706         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63707         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63708         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63709         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63710         * sysdeps/i386/fpu/e_log10.S: Likewise.
63711         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63712         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63713         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63714         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63715         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63716         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63717         * sysdeps/i386/asm-syntax.h: Likewise.
63718         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63719         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63720         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63721         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63722         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63724         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63725         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63726         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63727         * sysdeps/powerpc/sysdep.h: Likewise.
63728         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63729         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63731 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63733         [BZ #411]
63734         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63736 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63738         * sysdeps/i386/sysdep.h: Include <features.h>.
63739         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63740         version.
63742 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63744         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63745         Define.
63746         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63747         LOAD_PIC_REG_STR.
63749 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63751         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63752         (SETUP_PIC_REG): Use GET_PC_THUNK.
63753         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63754         macro.
63756 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63758         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63759         for non-PIC compilation.
63760         (SETUP_PIC_REG): Add .p2align directive.
63761         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63762         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63763         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63764         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63765         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63766         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63767         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63768         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63769         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63770         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63771         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63772         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63773         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63774         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63775         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63776         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63777         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63778         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63779         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63780         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63781         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63782         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63783         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63784         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63785         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63786         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63787         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63788         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63789         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63790         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63791         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63792         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63793         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63794         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63795         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63796         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63797         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63798         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63799         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63800         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63801         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63803 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63805         * math/tst-CMPLX.c: Include <stdio.h>.
63807 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63809         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63810         float.
63811         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63812         * sysdeps/sparc/bits/mathdef.h: Likewise.
63814 2012-01-31  Marek Polacek  <polacek@redhat.com>
63816         * libio/libio.h: Don't define _PARAMS.
63817         * locale/programs/config.h: Don't define PARAMS.
63818         * stdlib/strtol_l.c: Likewise.
63819         (__strtol_l): Remove PARAMS from the prototype.
63821 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63823         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63824         names.  Just use the correct names.  Remove unnecessary wrapper
63825         functions.
63826         * malloc/arena.c: Likewise.
63827         * malloc/hooks.c: Likewise.
63829         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63830         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63831         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63833 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63835         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63836         into tail calls.
63837         (update_get_addr): New function.
63838         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63839         GET_ADDR_MODULE parameter.
63841 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63843         * crypt/cert.c: Remove __STDC__ conditionals.
63844         * crypt/crypt-entry.c: Likewise.
63845         * crypt/crypt_util.c: Likewise.
63846         * libio/filedoalloc.c: Likewise.
63847         * libio/fileops.c: Likewise.
63848         * libio/genops.c: Likewise.
63849         * libio/iofclose.c: Likewise.
63850         * libio/iofdopen.c: Likewise.
63851         * libio/iofopen.c: Likewise.
63852         * libio/iofopen64.c: Likewise.
63853         * libio/iogetdelim.c: Likewise.
63854         * libio/iopopen.c: Likewise.
63855         * libio/obprintf.c: Likewise.
63856         * libio/oldfileops.c: Likewise.
63857         * libio/oldiofclose.c: Likewise.
63858         * libio/oldiofdopen.c: Likewise.
63859         * libio/oldiofopen.c: Likewise.
63860         * libio/oldiopopen.c: Likewise.
63861         * libio/wfiledoalloc.c: Likewise.
63862         * libio/wgenops.c: Likewise.
63863         * locale/programs/xmalloc.c: Likewise.
63864         * misc/syslog.c: Likewise.
63865         * stdio-common/xbug.c: Likewise.
63866         * string/memchr.c: Likewise.
63867         * string/memcmp.c: Likewise.
63868         * string/memrchr.c: Likewise.
63869         * string/rawmemchr.c: Likewise.
63870         * sysdeps/posix/getcwd.c: Likewise.
63871         * time/strftime_l.c: Likewise.
63873 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63875         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63876         * config.make.in (config-cflags-sse2avx): Define.
63877         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63878         Fix typo.
63880 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63882         * scripts/config.guess: Update from upstream config git repository.
63883         * scripts/config.sub: Likewise.
63885 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63887         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63888         (EM_NUM): Update.
63889         (R_TILEPRO_*, R_TILEGX_*): New macros.
63891         * scripts/firstversions.awk: Fix bug in version range handling.
63893         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63895         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63897         * include/sys/epoll.h: New file.
63898         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63899         libc_hidden_def.
63901 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63903         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63904         Avoid unnecessary __WORDSIZE == 64 test.
63905         (fmaxf): Use VEX format if possible.
63906         (fmax): Likewise.
63907         (fminf): Likewise.
63908         (fmin): Likewise.
63910         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63911         * math/math_private.h: Remove libc_fegetround* and
63912         libc_fesetround*.
63913         * sysdeps/i386/configure.in: Check for -msse2avx.
63914         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63915         also if SSE2AVX is defined.
63916         Remove libc_fegetround* and libc_fesetround*.
63917         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63918         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63919         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63920         of HAS_YMM_USABLE.
63921         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63922         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63923         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63924         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63925         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63927         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63929 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63931         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63932         size is not set.
63933         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63935 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63937         [BZ #13618]
63938         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63939         relocation.
63940         * Makeconfig (libm): Define.
63941         * elf/Makefile: Add rules to build and run tst-relsort1.
63942         * elf/tst-relsort1.c: New file.
63943         * elf/tst-relsort1mod1.c: New file.
63944         * elf/tst-relsort1mod2.c: New file.
63946 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63948         * math/s_ldexp.c: Remove __STDC__ conditionals.
63949         * math/s_ldexpf.c: Likewise.
63950         * math/s_ldexpl.c: Likewise.
63951         * math/s_nextafter.c: Likewise.
63952         * math/s_nexttowardf.c: Likewise.
63953         * math/s_significand.c: Likewise.
63954         * math/s_significandf.c: Likewise.
63955         * math/s_significandl.c: Likewise.
63956         * math/w_jnl.c: Likewise.
63957         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63958         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63959         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63960         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63961         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63963         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63964         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63965         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63966         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63967         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63968         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63969         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63970         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63971         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63972         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63973         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63974         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63975         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63976         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63977         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63978         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63979         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63981         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63982         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63983         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63984         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63985         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63986         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63987         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63988         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63989         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63990         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63991         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63992         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63993         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63994         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63995         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63996         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63997         * sysdeps/ieee754/k_standard.c: Likewise.
63998         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63999         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64000         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64001         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64002         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64003         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64004         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64005         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64006         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64007         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64008         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64009         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64010         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64011         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64012         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64015         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64016         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64017         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64018         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64019         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64020         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64021         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64022         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64023         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64027         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64029         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64030         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64031         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64033         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64034         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64036         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64037         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64038         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64040         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64041         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64042         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64043         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64044         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64045         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64046         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64047         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64048         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64050         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64051         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64052         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64053         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64054         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64055         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64056         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64058         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64059         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64060         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64061         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64062         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64063         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64064         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64065         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64066         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64067         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64068         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64069         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64070         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64073         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64074         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64075         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64076         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64077         * sysdeps/ieee754/s_matherr.c: Likewise.
64078         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64079         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64080         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64081         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64083 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64085         * crypt/md5.h: Remove __STDC__ conditionals.
64086         * libio/libioP.h: Likewise.
64087         * locale/programs/config.h: Likewise.
64088         * sysdeps/generic/sysdep.h: Likewise.
64089         * sysdeps/i386/asm-syntax.h: Likewise.
64090         * sysdeps/s390/asm-syntax.h: Likewise.
64091         * sysdeps/unix/sysdep.h: Likewise.
64092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64095 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64097         * libio/libio.h: Remove __STDC__ conditionals.
64098         * malloc/obstack.h: Likewise.
64099         * math/complex.h: Likewise.
64100         * math/math.h: Likewise.
64101         * sysdeps/generic/_G_config.h: Likewise.
64102         * sysdeps/gnu/_G_config.h: Likewise.
64103         * sysdeps/mach/hurd/_G_config.h: Likewise.
64104         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64105         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64106         * sysdeps/sparc/bits/mathdef.h: Likewise.
64108 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64110         [BZ #13583]
64111         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64112         Clean up HAS_* macros.
64113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64114         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64115         possible.
64116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64117         HAS_AVX.
64118         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64119         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64120         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64121         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64122         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64124 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64126         * elf/tst-unique3.cc (gets): Remove declaration.
64127         * elf/tst-unique3lib.cc (gets): Likewise.
64128         * elf/tst-unique3lib2.cc (gets): Likewise.
64129         * elf/tst-unique4.cc (gets): Likewise.
64131 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64133         * include/stdio.h: Add C++ protection.  Add gets declarations and
64134         definitions.
64135         * debug/tst-chk1.c: Don't declare gets here.
64136         * stdio-common/tst-gets.c: Likewise.
64138 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64140         * posix/glob: Remove directory.
64142 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64144         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64146 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64148         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64149         of the non-standard EPFNOSUPPORT.
64151 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64153         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64154         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64155         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64157 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64159         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64161 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64163         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64164         transient errors.
64165         * nscd/grpcache.c (cache_addgr): Likewise.
64166         * nscd/hstcache.c (cache_addhst): Likewise.
64167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64168         * nscd/pwdcache.c (cache_addpw): Likewise.
64169         * nscd/servicescache.c (cache_addserv): Likewise.
64171 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64173         * malloc/malloc.c: Various cleanups.
64174         * malloc/hooks.c: Likewise.
64176         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64177         * stdlib/bug-fmtmsg1.c: New file.
64179         * stdlib/fmtmsg.c (init): Add missing unlock.
64180         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64182 2012-01-12  Marek Polacek  <polacek@redhat.com>
64184         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64185         and _GNU_SOURCE.
64187 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64189         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64190         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64191         macro to ensure uniqueness of label name.
64192         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64193         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64195 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64197         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64199         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64200         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64201         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64202         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64204 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64206         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64208         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64209         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64210         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64212         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64214         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64215         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64216         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64219         * math/bits/math-finite.h: Add ldexp support.
64221 2012-01-10  Marek Polacek  <polacek@redhat.com>
64223         * locale/programs/localedef.h (show_archive_content): Add noreturn
64224         attribute.
64226 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64228         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64230 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64232         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64234         * io/Makefile (headers): Add bits/poll2.h.
64236 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64239         typo #include statement.
64241 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64243         * include/sys/cdefs.h: Define __attribute_alloc_size.
64244         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64245         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64246         * elf/pldd.c: Likewise.
64247         * iconv/iconv_charmap.c: Likewise.
64248         * iconv/iconvconfig.c: Likewise.
64249         * iconv/strtab.c: Likewise.
64250         * locale/programs/locale.c: Likewise.
64251         * locale/programs/localedef.h: Likewise.
64252         * locale/programs/simple-hash.c: Likewise.
64253         * nscd/nscd.h: Likewise.
64254         * nss/makedb.c: Likewise.
64255         * sysdeps/generic/ldconfig.h: Likewise.
64256         * locale/programs/localedef.c: Remove xmalloc prototype.
64257         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64259 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64262         appropriate.
64264 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64266         * math/Makefile (tests): Add tst-CMPLX.
64267         * math/tst-CMPLX.c: New file.
64269         * math/complex.h (CMPLXL): Fix typo.
64271         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64272         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64273         GLIBC_2.16.
64274         * debug/tst-chk1.c: Add poll and ppoll tests.
64275         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64276         * include/sys/poll.h: Add hidden proto for ppoll.
64277         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64278         * sysdeps/mach/hurd/ppoll.c: Likewise.
64279         * io/ppoll.c: Likewise.
64280         * debug/poll_chk.c: New file.
64281         * debug/ppoll_chk.c: New file.
64282         * include/bits/poll2.h: New file.
64283         * io/bits/poll2.h: New file.
64285         [BZ #1350]
64286         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64288         * configure.in: static is always set to yes.  Remove.
64289         * config.make.in: Don't set build-static.
64290         * Makeconfig: Remove use of build-static.
64291         * dlfcn/Makefile: Likewise.
64292         * elf/Makefile: Likewise.
64293         * math/Makefile: Likewise.
64294         * misc/Makefile: Likewise.
64295         * nptl/Makefile: Likewise.
64296         * sysdeps/mach/hurd/Makefile: Likewise.
64298         * configure.in: PWD_P is not used anymore.
64299         * config.make.in: Remove PWD_P entry.
64301         * configure.in: Remove last remnants of RANLIB.
64302         No need to check for signed size_t anymore.
64303         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64304         and IA-64.
64305         Remove __builtin_expect test because we require at least gcc 3.4.
64306         * aclocal.m4: Likewise.
64308         * wcsmbs/mbrtoc16.c: Implement using towc function.
64309         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64310         * wcsmbs/wcsmbsload.c: Likewise.
64311         * iconv/gconv_simple.c: Likewise.
64312         * iconv/gconv_int.h: Likewise.
64313         * iconv/gconv_builtin.h: Likewise.
64314         * iconv/iconv_prog.c: Remove CHAR16 handling.
64316         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64318         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64320         * configure.in: Remove --with-elf and --enable-bounded options.
64321         Dont set base_machine for ia64.  More non-ELF conditions removed.
64322         Remove testing and setting of leading underscore information.
64323         * config.make.in (build-bounded): Set to no.
64324         * config.h.in: Remove NO_UNDERSCORES entry.
64325         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64326         them.
64327         * csu/start.c: Remove !NO_UNDERSCORE code.
64328         * locale/localeinfo.h: Likewise.
64329         * sysdeps/generic/machine-gmon.h: Likewise.
64330         * sysdeps/generic/sysdep.h: Likewise.
64331         * sysdeps/i386/sysdep.h: Likewise.
64332         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64333         * sysdeps/mach/sysdep.h: Likewise.
64334         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64335         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64336         * sysdeps/sh/sysdep.h: Likewise.
64337         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64338         * sysdeps/unix/i386/sysdep.S: Likewise.
64339         * sysdeps/unix/sparc/start.c: Likewise.
64340         * sysdeps/unix/sparc/sysdep.S: Likewise.
64341         * sysdeps/unix/sparc/sysdep.h: Likewise.
64342         * sysdeps/unix/start.c: Likewise.
64343         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64344         * sysdeps/x86_64/sysdep.h: Likewise.
64346 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64348         [BZ #13553]
64349         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64350         for non-gcc.
64351         * argp/argp-fmtstream.h: Use const instead __const.
64352         * argp/argp.h: Likewise.
64353         * assert/assert.h: Likewise.
64354         * bits/fenv.h: Likewise.
64355         * bits/sched.h: Likewise.
64356         * bits/sigset.h: Likewise.
64357         * bits/sigthread.h: Likewise.
64358         * catgets/nl_types.h: Likewise.
64359         * conform/data/pthread.h-data: Likewise.
64360         * crypt/crypt-private.h: Likewise.
64361         * crypt/crypt.h: Likewise.
64362         * crypt/crypt_util.c: Likewise.
64363         * ctype/ctype.h: Likewise.
64364         * debug/execinfo.h: Likewise.
64365         * debug/mbsnrtowcs_chk.c: Likewise.
64366         * debug/mbsrtowcs_chk.c: Likewise.
64367         * debug/wcsnrtombs_chk.c: Likewise.
64368         * debug/wcsrtombs_chk.c: Likewise.
64369         * debug/wcstombs_chk.c: Likewise.
64370         * dirent/dirent.h: Likewise.
64371         * dlfcn/dlfcn.h: Likewise.
64372         * elf/neededtest4.c: Likewise.
64373         * grp/grp.h: Likewise.
64374         * gshadow/gshadow.h: Likewise.
64375         * iconv/gconv.h: Likewise.
64376         * iconv/gconv_int.h: Likewise.
64377         * iconv/gconv_simple.c: Likewise.
64378         * iconv/iconv.h: Likewise.
64379         * iconv/loop.c: Likewise.
64380         * iconv/skeleton.c: Likewise.
64381         * include/aio.h: Likewise.
64382         * include/aliases.h: Likewise.
64383         * include/argz.h: Likewise.
64384         * include/arpa/inet.h: Likewise.
64385         * include/assert.h: Likewise.
64386         * include/dirent.h: Likewise.
64387         * include/dlfcn.h: Likewise.
64388         * include/execinfo.h: Likewise.
64389         * include/fcntl.h: Likewise.
64390         * include/fenv.h: Likewise.
64391         * include/glob.h: Likewise.
64392         * include/grp.h: Likewise.
64393         * include/libintl.h: Likewise.
64394         * include/mntent.h: Likewise.
64395         * include/netdb.h: Likewise.
64396         * include/pwd.h: Likewise.
64397         * include/rpc/netdb.h: Likewise.
64398         * include/sched.h: Likewise.
64399         * include/search.h: Likewise.
64400         * include/shadow.h: Likewise.
64401         * include/signal.h: Likewise.
64402         * include/stdio.h: Likewise.
64403         * include/stdlib.h: Likewise.
64404         * include/string.h: Likewise.
64405         * include/sys/socket.h: Likewise.
64406         * include/sys/stat.h: Likewise.
64407         * include/sys/statfs.h: Likewise.
64408         * include/sys/statvfs.h: Likewise.
64409         * include/sys/syslog.h: Likewise.
64410         * include/sys/time.h: Likewise.
64411         * include/sys/uio.h: Likewise.
64412         * include/time.h: Likewise.
64413         * include/unistd.h: Likewise.
64414         * include/utmp.h: Likewise.
64415         * include/wchar.h: Likewise.
64416         * include/wctype.h: Likewise.
64417         * inet/aliases.h: Likewise.
64418         * inet/arpa/inet.h: Likewise.
64419         * inet/netinet/ether.h: Likewise.
64420         * inet/netinet/in.h: Likewise.
64421         * intl/libintl.h: Likewise.
64422         * io/bits/fcntl2.h: Likewise.
64423         * io/fcntl.h: Likewise.
64424         * io/ftw.h: Likewise.
64425         * io/sys/poll.h: Likewise.
64426         * io/sys/stat.h: Likewise.
64427         * io/sys/statfs.h: Likewise.
64428         * io/sys/statvfs.h: Likewise.
64429         * io/utime.h: Likewise.
64430         * libio/bits/stdio.h: Likewise.
64431         * libio/bits/stdio2.h: Likewise.
64432         * libio/libio.h: Likewise.
64433         * libio/libioP.h: Likewise.
64434         * libio/stdio.h: Likewise.
64435         * locale/lc-ctype.c: Likewise.
64436         * locale/locale.h: Likewise.
64437         * login/utmp.h: Likewise.
64438         * malloc/arena.c: Likewise.
64439         * malloc/malloc.c: Likewise.
64440         * malloc/malloc.h: Likewise.
64441         * malloc/mcheck.c: Likewise.
64442         * malloc/mtrace.c: Likewise.
64443         * math/bits/mathcalls.h: Likewise.
64444         * math/fenv.h: Likewise.
64445         * math/math_private.h: Likewise.
64446         * misc/bits/error.h: Likewise.
64447         * misc/bits/syslog.h: Likewise.
64448         * misc/err.h: Likewise.
64449         * misc/error.h: Likewise.
64450         * misc/fstab.h: Likewise.
64451         * misc/mntent.h: Likewise.
64452         * misc/regexp.h: Likewise.
64453         * misc/search.h: Likewise.
64454         * misc/sgtty.h: Likewise.
64455         * misc/sys/mman.h: Likewise.
64456         * misc/sys/syslog.h: Likewise.
64457         * misc/sys/uio.h: Likewise.
64458         * misc/sys/xattr.h: Likewise.
64459         * misc/ttyent.h: Likewise.
64460         * nis/rpcsvc/ypclnt.h: Likewise.
64461         * nss/nss.h: Likewise.
64462         * posix/bits/unistd.h: Likewise.
64463         * posix/fnmatch.h: Likewise.
64464         * posix/glob.h: Likewise.
64465         * posix/sched.h: Likewise.
64466         * posix/spawn.h: Likewise.
64467         * posix/sys/wait.h: Likewise.
64468         * posix/unistd.h: Likewise.
64469         * posix/wordexp.h: Likewise.
64470         * pwd/pwd.h: Likewise.
64471         * resolv/netdb.h: Likewise.
64472         * resource/sys/resource.h: Likewise.
64473         * rt/aio.h: Likewise.
64474         * rt/bits/mqueue2.h: Likewise.
64475         * rt/mqueue.h: Likewise.
64476         * shadow/shadow.h: Likewise.
64477         * signal/signal.h: Likewise.
64478         * socket/send.c: Likewise.
64479         * socket/sendto.c: Likewise.
64480         * socket/sys/socket.h: Likewise.
64481         * stdio-common/printf.h: Likewise.
64482         * stdlib/bits/stdlib.h: Likewise.
64483         * stdlib/fmtmsg.h: Likewise.
64484         * stdlib/monetary.h: Likewise.
64485         * stdlib/stdlib.h: Likewise.
64486         * stdlib/ucontext.h: Likewise.
64487         * streams/stropts.h: Likewise.
64488         * string/argz.h: Likewise.
64489         * string/bits/string2.h: Likewise.
64490         * string/string.h: Likewise.
64491         * string/strings.h: Likewise.
64492         * sunrpc/rpc/auth.h: Likewise.
64493         * sunrpc/rpc/auth_des.h: Likewise.
64494         * sunrpc/rpc/clnt.h: Likewise.
64495         * sunrpc/rpc/netdb.h: Likewise.
64496         * sunrpc/rpc/pmap_clnt.h: Likewise.
64497         * sunrpc/rpc/xdr.h: Likewise.
64498         * sysdeps/generic/inttypes.h: Likewise.
64499         * sysdeps/generic/net/if.h: Likewise.
64500         * sysdeps/generic/sys/swap.h: Likewise.
64501         * sysdeps/gnu/net/if.h: Likewise.
64502         * sysdeps/gnu/utmpx.h: Likewise.
64503         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64504         * sysdeps/i386/i486/bits/string.h: Likewise.
64505         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64506         * sysdeps/s390/bits/string.h: Likewise.
64507         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64508         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64509         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64510         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64511         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64512         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64513         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64514         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64515         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64516         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64517         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64518         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64519         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64520         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64521         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64522         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64523         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64525         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64528         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64529         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64530         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64531         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64532         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64533         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64534         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64535         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64536         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64537         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64538         * sysvipc/sys/ipc.h: Likewise.
64539         * sysvipc/sys/msg.h: Likewise.
64540         * sysvipc/sys/sem.h: Likewise.
64541         * sysvipc/sys/shm.h: Likewise.
64542         * termios/termios.h: Likewise.
64543         * time/sys/time.h: Likewise.
64544         * time/time.h: Likewise.
64545         * wcsmbs/bits/wchar2.h: Likewise.
64546         * wcsmbs/uchar.h: Likewise.
64547         * wcsmbs/wchar.h: Likewise.
64548         * wctype/wctype.h: Likewise.
64550         [BZ #13551]
64551         * Makeconfig: Remove all but ELF support including AIX support.
64552         * Makerules: Likewise.
64553         * config.h.in: Likewise.
64554         * config.make.in: Likewise.
64555         * configure: Likewise.
64556         * configure.in: Likewise.
64557         * csu/Makefile: Likewise.
64558         * csu/version.c: Likewise.
64559         * debug/Makefile: Likewise.
64560         * dlfcn/Makefile: Likewise.
64561         * elf/Makefile: Likewise.
64562         * extra-lib.mk: Likewise.
64563         * iconv/Makefile: Likewise.
64564         * include/libc-symbols.h: Likewise.
64565         * include/shlib-compat.h: Likewise.
64566         * resolv/Makefile: Likewise.
64567         * resolv/res_libc.c: Likewise.
64568         * rt/Makefile: Likewise.
64569         * sysdeps/i386/asm-syntax.h: Likewise.
64570         * sysdeps/i386/sysdep.h: Likewise.
64571         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64572         * sysdeps/mach/sysdep.h: Likewise.
64573         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64574         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64575         * sysdeps/s390/asm-syntax.h: Likewise.
64576         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64577         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64578         * sysdeps/sh/sysdep.h: Likewise.
64579         * sysdeps/unix/sparc/sysdep.h: Likewise.
64580         * sysdeps/wordsize-32/divdi3.c: Likewise.
64581         * sysdeps/x86_64/sysdep.h: Likewise.
64583         * argp/Versions: Remove _argp_unlock_xxx.
64585         [BZ #13559]
64586         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64587         * abilist/libBrokenLocale.abilist: Likewise.
64588         * abilist/libanl.abilist: Likewise.
64589         * abilist/libc.abilist: Likewise.
64590         * abilist/libcrypt.abilist: Likewise.
64591         * abilist/libdl.abilist: Likewise.
64592         * abilist/libm.abilist: Likewise.
64593         * abilist/libnsl.abilist: Likewise.
64594         * abilist/libpthread.abilist: Likewise.
64595         * abilist/libresolv.abilist: Likewise.
64596         * abilist/librt.abilist: Likewise.
64597         * abilist/libthread_db.abilist: Likewise.
64598         * abilist/libutil.abilist: Likewise.
64599         * abilist/libnss_db.abilist: New file.
64601         * scripts/abilist.awk: Add support for indirect functions.
64603         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64605         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64607         * shlib-versions: Remove entries for ports architectures.
64609         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64610         files in ports.
64611         * elf/stackguard-macros.h: Remove support for IA-64.
64612         * elf/tst-auditmod1.c: Likewise.
64613         * sysdeps/generic/ldsodefs.h: Likewise.
64615         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64616         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64617         configure files.
64619         [BZ #13552]
64620         * configure.in: Remove --enable-omitfp support.
64621         * FAQ.in: Adjust.
64622         * config.make.in: Likewise.
64623         * Makeconfig: Likewise.
64624         * manual/install.texi: Likewise.
64626         In case anyone cares, the IA-64 architecture could move to ports.
64627         * sysdeps/ia64/*: Removed.
64628         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64629         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64631         [BZ #13555]
64632         * configure.in: Remove entries for unsupported architectures.
64634         [BZ #13533]
64635         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64636         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64637         routines.
64638         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64639         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64640         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64641         fall back to using wcrtomb.
64642         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64643         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64644         renaming.
64645         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64646         * wcsmbs/tst-c16c32-1.c: New file.
64648         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64649         local variable.
64651         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64653         * elf/tst-unique3.cc: Add explicit declaration of gets.
64654         * elf/tst-unique3lib.cc: Likewise.
64655         * elf/tst-unique3lib2.cc: Likewise.
64656         * elf/tst-unique4.cc: Likewise.
64658         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64660 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64662         [BZ #13566]
64663         * assert/assert.h (static_assert): Don't define for C++.
64664         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64665         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64667 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64669         * iconv/loop.c (single loop): Fix assertion in storing of
64670         remaining bytes.
64672         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64674 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64676         * posix/getconf.c: Update copyright year.
64677         * nss/getent.c: Likewise.
64678         * nss/makedb.c: Likewise.
64679         * iconv/iconvconfig.c: Likewise.
64680         * iconv/iconv_prog.c: Likewise.
64681         * elf/ldconfig.c: Likewise.
64682         * elf/pldd.c: Likewise.
64683         * elf/sotruss.ksh: Likewise.
64684         * catgets/gencat.c: Likewise.
64685         * csu/version.c: Likewise.
64686         * elf/ldd.bash.in: Likewise.
64687         * elf/sprof.c (print_version): Likewise.
64688         * locale/programs/locale.c: Likewise.
64689         * locale/programs/localedef.c: Likewise.
64690         * login/programs/pt_chown.c: Likewise.
64691         * nscd/nscd.c (print_version): Likewise.
64692         * debug/xtrace.sh: Likewise.
64693         * malloc/memusage.sh: Likewise.
64694         * malloc/mtrace.pl: Likewise.
64695         * debug/catchsegv.sh: Likewise.
64697 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64699         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64700         pure attribute.
64702 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64704         [BZ #13533]
64705         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64706         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64707         transformations.
64708         * iconv/gconv_int.h: Likewise.
64709         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64710         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64711         from libc for GLIBC_2.16.
64712         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64713         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64714         * wcsmbs/uchar.h: Really define mbstate_t.
64715         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64716         * wcsmbs/c16rtomb.c: New file.
64717         * wcsmbs/mbrtoc16.c: New file.
64718         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64719         for C/POSIX locale.
64720         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64721         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64723         * wcsmbs/wchar.h: Add missing __restrict.
64725 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64727         [BZ #13532]
64728         * time/Makefile (routines): Add timespec_get.
64729         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64730         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64731         timespec for ISO C11.
64732         * time/timespec_get.c: New file.
64733         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64734         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64736         [BZ #13531]
64737         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64738         * stdlib/stdlib.h: Declare aligned_alloc.
64739         * Versions.def: Add GLIBC_2.16 for libc.
64740         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64742         [BZ 13527]
64743         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64744         ISO C11.
64746         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64747         code.
64749         [BZ #13528]
64750         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64752         [BZ #13529]
64753         * assert/assert.h (static_assert): Define.
64755         * version.h: Update for 2.16 development version.
64757         [BZ #13526]
64758         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64759         _ISOC11_SOURCE.
64761         * version.h (RELEASE): Bump for 2.15 release.
64762         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64764         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64765         Patch by Marek Polacek <mpolacek@redhat.com>.
64767         * bits/byteswap.h: Protect long long constants with __extension__.
64768         * sysdeps/i386/bits/byteswap.h: Likewise.
64769         * sysdeps/ia64/bits/byteswap.h: Likewise.
64770         * sysdeps/s390/bits/byteswap.h: Likewise.
64771         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64773 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64775         [BZ #13540]
64776         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64777         destination buffer.
64778         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64780 2011-12-23  Marek Polacek  <polacek@redhat.com>
64782         * elf/dl-addr.c (determine_info): Add inline keyword.
64783         * elf/tst-auditmod4b.c (check_avx): Likewise.
64784         * elf/tst-auditmod6b.c (check_avx): Likewise.
64785         * elf/tst-auditmod6c.c (check_avx): Likewise.
64786         * elf/tst-auditmod7b.c (check_avx): Likewise.
64788 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64790         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64791         !__SSE_MATH__.
64793 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64795         [BZ #13540]
64796         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64797         processing for last bytes.
64799 2011-08-06  Bruno Haible  <bruno@clisp.org>
64801         [BZ #13061]
64802         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64803         U+0385, not to U+1FEE.
64805         [BZ #13062]
64806         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64807         entry for U+00A5 U+0301.
64809 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64811         [BZ #13166]
64812         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64813         buffer for the output is too small.
64815         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64816         optimization.
64818         [BZ #13185]
64819         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64820         SSE flags if possible.
64822 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64824         [BZ #13540]
64825         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64826         processing for last bytes.
64828 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64830         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64831         (syscall-list-default-options, syscall-list-default-condition)
64832         (syscall-list-includes): Define.
64833         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64834         list of ABIs and options and #if conditions for each ABI.  Do not
64835         handle common syscalls between ABIs specially.
64836         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64837         Remove.
64838         (syscall-list-variants, syscall-list-32bit-options)
64839         (syscall-list-32bit-condition, syscall-list-64bit-options)
64840         (syscall-list-64bit-condition): Define.
64841         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64842         (syscall-list-variants, syscall-list-32bit-options)
64843         (syscall-list-32bit-condition, syscall-list-64bit-options)
64844         (syscall-list-64bit-condition): Define.
64845         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64846         Remove.
64847         (syscall-list-variants, syscall-list-32bit-options)
64848         (syscall-list-32bit-condition, syscall-list-64bit-options)
64849         (syscall-list-64bit-condition): Define.
64850         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64851         Remove.
64852         (syscall-list-variants, syscall-list-32bit-options)
64853         (syscall-list-32bit-condition, syscall-list-64bit-options)
64854         (syscall-list-64bit-condition): Define.
64856 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64858         * locale/iso-639.def: Add brx entry.
64860         [BZ #13328]
64861         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64862         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64864         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64865         __feraiseexcept_renamed.
64867 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64869         [BZ #13538]
64870         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64871         EPOLLET with unsigned values.
64872         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64873         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64875         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64876         to large cancellation.
64877         * math/s_cacoshf.c: Likewise.
64878         * math/s_cacoshl.c: Likewise.
64880 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64882         [BZ #13305]
64883         [BZ #12786]
64884         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64885         * math/s_cacoshf.c: Likewise.
64886         * math/s_cacoshl.c: Likewise.
64888 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64890         [BZ #13439]
64891         * iconv/gconv.h: Define __GCONV_SWAP.
64892         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64893         * iconvdata/utf-16.c: Likewise.
64894         * iconvdata/utf-32.c: Likewise.
64896 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64898         [BZ #13524]
64899         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64900         numerator after shifting it by one limb.
64902 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64904         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64905         under [__USE_EXTERN_INLINES].
64907 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64909         [BZ #13446]
64910         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64912 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64914         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64915         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64916         optimized code.
64917         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64918         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64919         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64920         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64921         for strncasecmp/strncasecmp_l compilation.
64922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64923         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64925 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64927         [BZ #13484]
64928         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64929         of __asm__.
64931 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64933         [BZ #13506]
64934         * time/tzfile.c (__tzfile_read): Check values from file header.
64936 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64938         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64939         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64940         * powerpc/powerpc32/dl-start.S: Likewise.
64941         * powerpc/powerpc32/elf/start.S: Likewise.
64942         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64943         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64944         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64945         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64946         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64947         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64948         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64949         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64950         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64951         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64952         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64953         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64954         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64955         * powerpc/powerpc32/memset.S: Likewise.
64956         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64957         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64958         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64959         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64960         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64961         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64962         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64963         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64964         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64965         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64966         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64967         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64968         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64970 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64972         * math/libm-test.inc: Added more nearbyint tests.
64973         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64974         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64975         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64976         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64978 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64980         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64981         FD_CLOEXEC.
64983 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64985         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64986         Add wcscpy-ssse3 wcscpy-c.
64987         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64988         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64989         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64990         * sysdeps/x86_64/wcschr.S: New file.
64991         * sysdeps/x86_64/wcsrchr.S: New file.
64992         * string/test-strcmp.c: Remove checking of wcscmp function for
64993         wrong alignments.
64994         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64995         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64996         wcsrchr-sse2 wcsrchr-c.
64997         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64998         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64999         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65000         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65001         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65002         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65003         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65004         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65005         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65006         * wcsmbc/wcschr.c (WCSCHR): New macro.
65008 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65010         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65011         * wcsmbs/test-wcsrchr.c: New file.
65012         * string/test-strrchr.c: Add wcsrchr support.
65013         (WIDE): New macro.
65014         * wcsmbs/test-wcscpy.c: New file.
65015         * string/test-strcpy.c: Add wcscpy support.
65016         (WIDE): New macro.
65018 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65020         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65021         the inner loop.
65023 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65025         [BZ #13472]
65026         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65028 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65030         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65031         Minor optimizations.
65033         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65034         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65035         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65037 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65039         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65040         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65041         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65042         for gcc to avoid warnings.
65043         * inet/Makefile (tests): Add tst-checks.
65044         * inet/tst-checks.c: New file.
65046         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65047         warning.
65049         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65050         __wmemcmp_sse2.
65052         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65053         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65055         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65057 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65059         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65060         problem.
65062         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65064 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65066         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65067         conditional on GCC version.
65068         (__arch_compare_and_exchange_val_8_acq)
65069         (__arch_compare_and_exchange_val_16_acq)
65070         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65071         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65072         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65074 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65076         * sysdeps/sh/backtrace.c: New file.
65078 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65080         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65081         parenthesis.
65083 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65085         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65086         falling back to utime.
65088 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65090         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65091         expectations for float.
65093 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65095         * locale/weight.h (findidx): Add parameter len.
65096         * locale/weightwc.h (findidx): Likewise.
65097         * posix/fnmatch_loop.c (FCT): Adjust caller.
65098         * posix/regcomp.c (build_equiv_class): Likewise.
65099         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65100         * posix/regexec.c (check_node_accept_bytes): Likewise.
65101         * string/strcoll_l.c (STRCOLL): Likewise.
65102         * string/strxfrm_l.c (STRXFRM): Likewise.
65104 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65106         * Makefile.in: Remove CVSOPT handling.
65107         * configure.in: Remove use of AC_REVISION.
65108         * iconvdata/Makefile (distribute): No need to filter out CVS.
65109         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65110         handling.
65112 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65115         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65116         [USE_AS_STRNCASECMP_L]: Likewise.
65117         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65118         NO_TLS_DIRECT_SEG_REFS.
65119         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65120         Fix argument offsets for non-PIC.
65121         [USE_AS_STRNCASECMP_L]: Likewise.
65122         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65123         NO_TLS_DIRECT_SEG_REFS.
65125 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65127         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65128         O_CLOEXEC.
65129         * locale/loadlocale.c (_nl_load_locale): Likewise.
65131 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65133         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65134         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65135         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65136         (SYSCALL_GETTIME): Set errno on error.
65138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65139         count references to noai6ai_cached.
65141 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65143         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65145         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65146         FD_CLOEXEC for /proc/self/maps.
65148         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65149         FD_CLOEXEC for /proc/meminfo.
65151         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65152         gai.conf.
65154         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65155         FD_CLOEXEC for given file.
65157         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65159         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65160         FD_CLOEXEC for /etc/hosts.
65161         (_gethtent): Likewise.
65163         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65165         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65166         cancellation and set FD_CLOEXEC for /etc/netgroup.
65168         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65169         reading /etc/publickey.
65171         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65172         allow cancellation when reading /etc/group.
65174         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65175         cancellation.
65176         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65178         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65179         when using data file.
65181         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65183         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65184         (write_nis_obj): Use "c" and "e" in fopen.
65186         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65188         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65190         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65192         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65194         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65195         locale.alias.
65197         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65199         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65201         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65203         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65204         file parsing and set FD_CLOEXEC.
65206 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65208         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65210 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65212         * malloc/arena.c (arena_get2): Don't call reused_arena when
65213         _int_new_arena failed.
65215 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65217         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65218         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65219         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65222         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65223         to compile strcasecmp and strncasecmp.
65224         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65225         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65229 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65231         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65232         locale-defines.sym to gen-as-const-headers.
65233         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65234         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65236         to compile strcasecmp and strncasecmp.
65237         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65238         strcasecmp_l and strncasecmp_l.
65239         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65240         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65241         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65242         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65243         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65244         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65245         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65246         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65247         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65248         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65249         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65251 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65253         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65254         result of SYSDEP_GETTIME_CPU to retval.
65255         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65256         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65258         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65259         variable.
65261         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65262         mantissa words.
65263         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65265         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65266         from unused variable.
65268         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65269         DWARF definitions.
65270         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65271         for assembling.
65273         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65274         over namespaces.
65276         * sunrpc/rpc_prot.c (rejected): Fix case value.
65278         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65279         unsigned long long int to avoid warnings in shift.
65281         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65282         of use of trans.
65283         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65284         variable tmp.
65286         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65287         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65288         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65290         * nis/nis_table.c (nis_list): Use variable of correct type for
65291         result of __follow_path call.
65293 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65295         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65296         of math functions ceil, trunc, floor, round, and sqrt, when
65297         avaliable on the platform.
65298         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65299         name clash.
65300         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65301         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65302         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65304 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65306         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65307         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65309 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65311         * include/unistd.h: Fix __readlink return type.
65312         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65314 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65316         * stdlib/ucontext.h: Undo last change for makecontext.
65318 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65320         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65322         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65323         * setjmp/setjmp.h: Mark functions as non-leaf.
65324         * setjmp/bits/setjmp2.h: Likewise.
65325         * stdlib/ucontext.h: Likewise.
65327 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65329         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65330         (reused_arena): Don't check arena limit.
65331         (arena_get2): Atomically check arena limit.
65333 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65335         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65336         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65338         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65339         instructions.
65341 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65343         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65344         handler when locking.
65346         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65347         Fix size of allocated buffer.
65349 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65351         [BZ #10103]
65352         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65353         declarations for long double functions.
65354         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65356         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65358 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65360         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65361         installed.
65363         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65364         is disabled.
65366 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65368         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65370 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65372         * include/alloca.h (stackinfo_alloca_round): Define.
65373         (extend_alloca): Use it.
65374         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65375         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65376         here.
65378         * scripts/check-local-headers.sh: Ignore libaudit.h.
65380         * nscd/Makefile (extra-objs): Make recursively expanded.
65382 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65384         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65385         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65387         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65388         * posix/tst-rfc3484-2.c: Likewise.
65389         * posix/tst-rfc3484-3.c: Likewise.
65391         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65392         process_vm_writev.
65393         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65394         process_vm_writev.
65395         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65396         process_vm_writev from libc using GLIBC_2.15 version.
65398         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65400 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65402         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65403         stack usage.
65405 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65407         [BZ #13367]
65408         * nss/getent.c (initgroups_keys): Show error message in case no group
65409         names are given.
65411         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65412         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65413         __bump_nl_timestamp.
65414         * nscd/connections (nscd_init): When host database is served open
65415         netlink socket and request notification about configuration changes.
65416         (main_loop_poll): Track netlink file descriptor and bump timestamp
65417         in case data becomes available.
65418         (main_loop_epoll): Likewise.
65419         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65420         (database_pers_head): Add extra_data fileds.
65421         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65422         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65423         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65424         Adjust caller.
65425         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65426         in6ai data, call __free_in6ai.
65427         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65428         Add -DHAVE_NETLINK.
65429         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65430         interface information.  Reuse previous data if netlink timestamp
65431         is not changed.
65432         (__bump_nl_timestamp): New function.
65433         (__free_in6ai): New function.
65435 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65437         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65438         close_not_cancel_no_status here.
65439         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65441 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65443         [BZ #13276]
65444         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65445         return value.
65447         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65448         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65449         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65451 2011-07-03  Andreas Jaeger  <aj@suse.de>
65453         [BZ #10709]
65454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65455         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65456         * math/libm-test.inc (sin_test): Add test case.
65458 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65460         [BZ #13337]
65461         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65462         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65464         * elf/chroot_canon.c (chroot_canon): Cleanups.
65466         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65468         [BZ #13335]
65469         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65470         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65472         * string/test-strchr.c: Make usable for strchrnul testing.
65473         * string/test-strchrnul.c: New file.
65474         * string/Makefile (strop-tests): Add strchrnul.
65476         * po/it.po: Update from translation team.
65477         * po/es.po: Likewise.
65479 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65481         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65482         the three constants needed as parameters.  Drop the others.
65483         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65484         __m128i_strloadu_tolower.
65485         Create and initialize variable zero and use it in all the places
65486         where _mm_setzero_si128 was used.
65488         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65489         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65490         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65491         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65492         anymore.
65493         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65494         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65495         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65496         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65497         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65498         __mpranred, __mptan.
65499         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65500         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65501         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65502         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65503         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65504         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65505         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65506         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65507         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65509 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65511         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65512         redefine if SHARED.
65513         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65515         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65516         wide char related routines to wcsmbs subdir.
65518 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65520         [BZ #13344]
65521         * misc/sys/cdefs.h (__THROWNL): Define.
65522         * posix/unistd.h: Use __THREADNL instead of __THREAD
65523         for memory synchronization functions.
65525 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65527         [BZ #13349]
65528         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65529         doesn't exist.
65530         * manual/stdio.texi (Obstack Streams): Node removed.
65532 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65534         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65535         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65536         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65538         * math/math_private.h (math_force_eval): Allow non-addressable
65539         arguments.
65540         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65542 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65544         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65545         file is not needed.
65547         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65548         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65549         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65550         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65551         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65552         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65553         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65554         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65555         Add AVX variants.
65556         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65557         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65558         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65559         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65560         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65561         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65562         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65563         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65564         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65565         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65566         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65567         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65568         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65569         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65570         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65571         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65572         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65573         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65574         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65576         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65577         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65579         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65580         place.  Use VEX encoding when compiling for AVX.
65582 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65584         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65585         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65587         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65589 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65591         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65592         useless if() expression.
65593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65594         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65595         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65596         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65597         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65598         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65601         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65602         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65603         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65604         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65605         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65606         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65607         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65608         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65609         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65611         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65613         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65615 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65617         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65618         condition.
65619         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65621 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65623         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65624         .text section.  Avoid duplicate constants.
65625         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65627         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65633         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65634         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65635         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65636         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65637         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65638         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65639         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65640         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65641         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65642         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65643         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65645         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65646         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65647         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65648         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65649         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65650         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65651         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65652         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65653         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65654         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65655         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65656         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65657         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65658         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65659         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65660         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65661         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65662         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65663         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65664         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65665         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65666         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65667         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65668         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65669         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65671 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65673         * sysdeps/x86_64/dla.h: Move to ...
65674         * sysdeps/x86_64/fpu/dla.h: ...here.
65675         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65676         situations.  Use __builtin_fma only for gcc 4.6 and up.
65678         * config.make.in: Add have-mfma4 entry.
65679         * configure.in: Substitute libc_cv_cc_fma4.
65680         * math/Makefile (dbl-only-routines): Add sincostab.
65681         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65682         Use __sincostab not sincos.
65683         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65684         name is a macro.
65685         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65686         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65689         using __copysign.
65690         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65691         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65692         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65693         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65694         and __inv.
65695         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65696         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65697         __copysign.
65698         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65699         define aliases when function name is a macro.
65700         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65701         sysdeps/ieee754/dbl-64/sincos.tbl.
65702         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65703         fma4-enabled routines.
65704         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65705         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65706         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65707         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65708         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65709         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65710         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65711         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65712         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65713         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65714         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65715         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65716         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65717         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65718         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65719         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65720         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65721         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65722         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65723         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65724         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65725         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65726         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65727         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65728         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65729         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65730         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65731         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65732         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65733         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65735         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65736         rename.
65737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65739         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65744         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65746 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65748         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65750 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65752         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65754         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65755         prediction.
65756         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65758         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65759         Remove unused variable magic_bits.
65760         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65762         * string/strnlen.c: Define and use STRNLEN macro.
65763         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65764         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65765         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65766         * wcsmbs/wcslen.c: Define and use WCSLEN.
65767         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65768         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65769         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65770         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65771         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65772         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65773         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65775 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65778         strnlen-sse2-no-bsf.
65779         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65780         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65781         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65782         Add strnlen support.
65783         (USE_AS_STRNLEN): New macro.
65784         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65785         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65786         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65787         * sysdeps/x86_64/wcslen.S: New file.
65789 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65791         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65792         XMM-moves are used for copying on small sizes.
65794 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65796         * wcsmbs/Makefile (strop-tests): Add wcschr.
65797         * wcsmbs/test-wcschr.c: New file.
65798         * string/test-strchr.c: Update.
65799         Add wcschr support.
65800         (WIDE): New macro.
65802 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65804         * wcsmbs/Makefile (strop-tests): Add wcslen.
65805         * wcsmbs/test-wcslen.c: New file.
65806         * string/test-strlen.c: Update.
65807         Add wcslen support.
65808         (WIDE): New macro.
65810 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65812         * po/it.po: Update from translation team.
65814 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65816         * sysdeps/x86_64/wcscmp.S: Update.
65817         Fix wrong comparison semantics.
65818         wcscmp shall use signed comparison not unsigned.
65819         Don't use substraction to avoid overflow bug.
65820         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65821         * wcsmbc/wcscmp.c: Likewise.
65822         * string/test-strcmp.c: Likewise.
65823         Add new tests to check cases with negative values.
65825 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65827         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65828         * sysdeps/x86_64/dla.h: ...here.  New file.
65829         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65830         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65832         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65834         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65836         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65837         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65839 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65842         __ynl_finite aliases.
65844 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65848         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65849         define DLA_FMA.
65850         [DLA_FMA] (EMULV): Use DLA_FMA.
65851         [DLA_FMA] (MUL12): Use EMULV.
65852         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65853         that are not needed.
65854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65862 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65864         * math/s_nan.c: Undef __nan.
65865         * math/s_nanf.c: Undef __nanf.
65866         * math/s_nanl.c: Undef __nanl.
65867         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65868         "math_private.h".
65870 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65872         * math/s_catan.c: Add branch predictions.
65873         * math/s_catanf.c: Likewise.
65874         * math/s_catanh.c: Likewise.
65875         * math/s_catanhf.c: Likewise.
65876         * math/s_catanhl.c: Likewise.
65877         * math/s_catanl.c: Likewise.
65878         * math/s_cexp.c: Likewise.
65879         * math/s_cexpf.c: Likewise.
65880         * math/s_cexpl.c: Likewise.
65881         * math/s_clog.c: Likewise.
65882         * math/s_clog10.c: Likewise.
65883         * math/s_clog10f.c: Likewise.
65884         * math/s_clog10l.c: Likewise.
65885         * math/s_clogf.c: Likewise.
65886         * math/s_clogl.c: Likewise.
65887         * math/s_csqrt.c: Likewise.
65888         * math/s_csqrtf.c: Likewise.
65889         * math/s_csqrtl.c: Likewise.
65890         * math/s_ctanf.c: Likewise.
65891         * math/s_ctanh.c: Likewise.
65892         * math/s_ctanhf.c: Likewise.
65893         * math/s_ctanhl.c: Likewise.
65894         * math/s_ctanl.c: Likewise.
65896         * math/math_private.h: Define __nan, __nanf, __nanl.
65897         * math/s_cacosh.c: Include <math_private.h>.
65898         * math/s_cacoshl.c: Likewise.
65899         * math/s_casinh.c: Likewise.
65900         * math/s_casinhf.c: Likewise.
65901         * math/s_casinhl.c: Likewise.
65902         * math/s_ccos.c: Rely entire on ccosh.
65903         * math/s_ccosf.c: Rely entire on ccoshf.
65904         * math/s_ccosl.c: Rely entirely on ccoshl.
65905         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65906         Remove tests for FE_INVALID.
65907         * math/s_ccoshf.c: Likewise.
65908         * math/s_ccoshl.c: Likewise.
65909         * math/s_csin.c: Likewise.
65910         * math/s_csinf.c: Likewise.
65911         * math/s_csinh.c Likewise.
65912         * math/s_csinhf.c: Likewise.
65913         * math/s_csinhl.c: Likewise.
65914         * math/s_csinl.c: Likewise.
65915         * math/s_ctan.c: Likewise.
65916         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65917         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65918         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65920 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65923         compilation problems.
65925         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65926         __builtin_expect.
65928 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65930         * sysdeps/i386/configure.in: Test for -mfma4 option.
65931         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65932         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65933         COMMON_CPUID_INDEX_80000001.
65934         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65935         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65936         use it if FMA3 is not supported.
65937         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65939         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65940         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65942 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65944         [BZ #12892]
65945         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65946         it would create a cycle with a link time dependency.
65948 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65950         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65951         instruction.
65952         * string/Makefile (strop-tests): Add rawmemchr.
65953         * string/test-rawmemchr.c: New file.
65955         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65956         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65957         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65958         when compiling str{,n}casecmp and when AVX is available.  Hook up
65959         new optimized code in initializers.
65961 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65963         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65964         __feraiseexcept instead of feraiseexcept.
65966 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65968         * math/math_private.h: Define defaults for libc_fetestexcept and
65969         libc_feupdateenv.
65970         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65971         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65972         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65973         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65974         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65975         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65976         libc_fetestexcept and libc_feupdateenv.
65978         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65979         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65980         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65981         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65982         libc_feholdexcept_setround.
65984         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65985         Add s_nearbyint-c and s_nearbyintf-c.
65986         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65987         nearbyintf inlines.
65988         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65989         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65990         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65991         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65993         * math/math_private.h: Define defaults for libc_fegetround,
65994         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65995         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65996         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65997         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65998         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65999         standard functions.
66000         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66001         Remove comments and hacks for old compiler versions.
66002         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66003         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66004         libc_feholdexceptl.
66006 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66008         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66009         (__feraiseexcept_renamed): Add __NTH.
66010         (feraiseexcept): Add __NTH.  Rename local variables to fix
66011         namespace violations.
66013 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66015         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66017         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66019         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66020         recently added interfaces.
66021         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66023         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66024         about macro parameter expansion.
66026         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66027         __NO_MATH_INLINES is defined.  Cleanups.
66029         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66030         and __floorf is target has SSE4.1.
66031         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66032         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66033         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66034         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66036         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66037         name.
66038         (floorf): Likewise.
66040         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66042 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66044         * misc/sys/cdefs.h: Fix last change.
66046         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66047         database lookup.
66049 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66051         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66053         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66054         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66055         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66056         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66057         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66058         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66059         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66060         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66061         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66062         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66063         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66064         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66065         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66066         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66067         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66068         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66069         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66070         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66071         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66072         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66073         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66074         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66076         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66077         ceil, ceilf, floor, floorf.
66079         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66080         Perform IRELATIVE relocations last.
66082         * elf/do-rel.h: Add another parameter nrelative, replacing the
66083         local variable with the same name.  Change name of the function
66084         to end in Rel or Rela (uppercase).
66085         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66086         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66087         elf_dynamic_do_##reloc function.
66089 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66091         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66092         is sufficient, at least on modern CPUs.
66094         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66096         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66097         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66099         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66100         __expl_finite.
66101         * math/bits/math-finite.h: Add entries for exp.
66102         * math/e_expl.c: Add __*_finite alias.
66103         * sysdeps/i386/fpu/e_exp.S: Likewise.
66104         * sysdeps/i386/fpu/e_expf.S: Likewise.
66105         * sysdeps/i386/fpu/e_expl.c: Likewise.
66106         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66107         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66110         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66111         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66112         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66114         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66115         is sufficient, at least on modern CPUs.
66117         * ctype/ctype-info.c (__ctype_init): Define.
66118         * include/ctype.h (__ctype_init): Declare.
66119         (__ctype_b_loc): The variable is always initialized.
66120         (__ctype_toupper_loc): Likewise.
66121         (__ctype_tolower_loc): Likewise.
66122         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66123         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66125 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66127         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66129         * configure.in: Also look in $cxxmachine/include for C++ system
66130         headers.
66132 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66134         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66135         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66136         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66137         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66138         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66139         (USE_AS_WMEMCMP): New macro.
66140         Fixing indents.
66141         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66142         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66143         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66144         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66146         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66147         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66148         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66149         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66150         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66151         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66152         (USE_AS_WMEMCMP): New macro.
66153         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66154         * sysdeps/string/test-memcmp.c: Update.
66155         Fix simple_wmemcmp.
66156         Add new tests.
66157         * wcsmbs/wmemcmp.c: Update.
66158         (WMEMCMP): New macro.
66159         Fix overflow bug.
66161 2011-10-12  Andreas Jaeger  <aj@suse.de>
66163         [BZ #13268]
66164         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66166 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66168         * libio/iofwide.c (do_length): Avoid warning.
66170         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66172 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66174         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66176         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66177         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66178         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66179         * sysdeps/i386/i686/fpu/e_log.S: New file.
66180         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66181         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66183         * ctype/ctype.h: Add support for inlined isXXX functions when
66184         compiling C++ code.
66186 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66188         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66190         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66192 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66194         [BZ #13291]
66195         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66197 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66199         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66200         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66201         feraiseexcept.
66203         * sysdeps/x86_64/memrchr.S: Check for zero size.
66205         * string/stratcliff.c: Add memrchr tests.
66207 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66210         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66211         rawmemchr-sse2 rawmemchr-sse2-bsf.
66212         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66213         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66214         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66215         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66216         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66217         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66218         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66219         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66220         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66221         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66222         * string/memrchr.c (MEMRCHR): New macro.
66224 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66226         Add integration with gcc's -ffinite-math-only and optimize wrapper
66227         functions in libm.
66228         * Versions.def: Define GLIBC_2.15 version for libm.
66229         * math/Makefile (headers): Add bits/math-finite.h.
66230         * math/bits/math-finite.h: New file.
66231         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66232         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66233         * math/e_acoshl.c: Add __*_finite alias.
66234         * math/e_acosl.c: Likewise.
66235         * math/e_asinl.c: Likewise.
66236         * math/e_atan2l.c: Likewise.
66237         * math/e_atanhl.c: Likewise.
66238         * math/e_coshl.c: Likewise.
66239         * math/e_exp10.c: Likewise.
66240         * math/e_exp10f.c: Likewise.
66241         * math/e_exp10l.c: Likewise.
66242         * math/e_exp2l.c: Likewise.
66243         * math/e_fmodl.c: Likewise.
66244         * math/e_gammal_r.c: Likewise.
66245         * math/e_hypotl.c: Likewise.
66246         * math/e_j0l.c: Likewise.
66247         * math/e_j1l.c: Likewise.
66248         * math/e_jnl.c: Likewise.
66249         * math/e_lgammal_r.c: Likewise.
66250         * math/e_log10l.c: Likewise.
66251         * math/e_log2l.c: Likewise.
66252         * math/e_logl.c: Likewise.
66253         * math/e_powl.c: Likewise.
66254         * math/e_sinhl.c: Likewise.
66255         * math/e_sqrtl.c: Likewise.
66256         * math/e_scalb.c: Completely rewritten and optimized.
66257         * math/e_scalbf.c: Likewise.
66258         * math/e_scalbl.c: Likewise.
66259         * math/w_acos.c: Likewise.
66260         * math/w_acosf.c: Likewise.
66261         * math/w_acosl.c: Likewise.
66262         * math/w_acosh.c: Likewise.
66263         * math/w_acoshf.c: Likewise.
66264         * math/w_acoshl.c: Likewise.
66265         * math/w_asin.c: Likewise.
66266         * math/w_asinf.c: Likewise.
66267         * math/w_asinl.c: Likewise.
66268         * math/w_atan2.c: Likewise.
66269         * math/w_atan2f.c: Likewise.
66270         * math/w_atan2l.c: Likewise.
66271         * math/w_atanh.c: Likewise.
66272         * math/w_atanhf.c: Likewise.
66273         * math/w_atanhl.c: Likewise.
66274         * math/w_exp10.c: Likewise.
66275         * math/w_exp10f.c: Likewise.
66276         * math/w_exp10l.c: Likewise.
66277         * math/w_fmod.c: Likewise.
66278         * math/w_fmodf.c: Likewise.
66279         * math/w_fmodl.c: Likewise.
66280         * math/w_j0.c: Likewise.
66281         * math/w_j0f.c: Likewise.
66282         * math/w_j0l.c: Likewise.
66283         * math/w_j1.c: Likewise.
66284         * math/w_j1f.c: Likewise.
66285         * math/w_j1l.c: Likewise.
66286         * math/w_jn.c: Likewise.
66287         * math/w_jnf.c: Likewise.
66288         * math/w_log.c: Likewise.
66289         * math/w_logf.c: Likewise.
66290         * math/w_logl.c: Likewise.
66291         * math/w_log10.c: Likewise.
66292         * math/w_log10f.c: Likewise.
66293         * math/w_log10l.c: Likewise.
66294         * math/w_log2.c: Likewise.
66295         * math/w_log2f.c: Likewise.
66296         * math/w_log2l.c: Likewise.
66297         * math/w_pow.c: Likewise.
66298         * math/w_powf.c: Likewise.
66299         * math/w_powl.c: Likewise.
66300         * math/w_remainder.c: Likewise.
66301         * math/w_remainderf.c: Likewise.
66302         * math/w_remainderl.c: Likewise.
66303         * math/w_scalb.c: Likewise.
66304         * math/w_scalbf.c: Likewise.
66305         * math/w_scalbl.c: Likewise.
66306         * math/w_sqrt.c: Likewise.
66307         * math/w_sqrtf.c: Likewise.
66308         * math/w_sqrtl.c: Likewise.
66309         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66310         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66311         used.
66312         * math/math_private.h: Declare __kernel_standard_f.
66313         * math/w_cosh.c: Remove cruft and optimize a bit.
66314         * math/w_coshf.c: Likewise.
66315         * math/w_coshl.c: Likewise.
66316         * math/w_exp2.c: Likewise.
66317         * math/w_exp2f.c: Likewise.
66318         * math/w_exp2l.c: Likewise.
66319         * math/w_hypot.c: Likewise.
66320         * math/w_hypotf.c: Likewise.
66321         * math/w_hypotl.c: Likewise.
66322         * math/w_lgamma.c: Likewise.
66323         * math/w_lgamma_r.c: Likewise.
66324         * math/w_lgammaf.c: Likewise.
66325         * math/w_lgammaf_r.c: Likewise.
66326         * math/w_lgammal.c: Likewise.
66327         * math/w_lgammal_r.c: Likewise.
66328         * math/w_sinh.c: Likewise.
66329         * math/w_sinhf.c: Likewise.
66330         * math/w_sinhl.c: Likewise.
66331         * math/w_tgamma.c: Likewise.
66332         * math/w_tgammaf.c: Likewise.
66333         * math/w_tgammal.c: Likewise.
66334         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66335         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66336         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66337         Minor optimizations.  Pretty printing.  Remove cruft.
66338         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66339         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66340         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66341         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66342         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66343         * sysdeps/i386/fpu/e_asin.S: Likewise.
66344         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66345         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66346         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66347         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66348         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66349         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66350         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66351         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66352         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66353         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66354         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66355         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66356         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66357         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66358         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66359         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66360         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66361         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66362         * sysdeps/i386/fpu/e_log.S: Likewise.
66363         * sysdeps/i386/fpu/e_log10.S: Likewise.
66364         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66365         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66366         * sysdeps/i386/fpu/e_log2.S: Likewise.
66367         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66368         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66369         * sysdeps/i386/fpu/e_logf.S: Likewise.
66370         * sysdeps/i386/fpu/e_logl.S: Likewise.
66371         * sysdeps/i386/fpu/e_pow.S: Likewise.
66372         * sysdeps/i386/fpu/e_powf.S: Likewise.
66373         * sysdeps/i386/fpu/e_powl.S: Likewise.
66374         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66375         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66376         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66377         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66378         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66379         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66380         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66381         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66382         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66383         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66386         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66387         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66388         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66389         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66390         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66391         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66392         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66393         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66394         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66396         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66397         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66399         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66400         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66401         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66402         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66403         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66404         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66405         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66406         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66407         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66408         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66409         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66410         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66411         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66412         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66413         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66414         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66415         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66416         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66417         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66418         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66419         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66420         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66421         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66422         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66423         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66424         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66425         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66426         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66427         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66428         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66429         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66430         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66431         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66432         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66433         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66434         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66435         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66436         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66438         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66439         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66440         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66441         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66442         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66443         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66444         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66445         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66446         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66447         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66448         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66449         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66450         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66451         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66452         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66453         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66454         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66456         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66457         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66458         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66459         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66460         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66461         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66462         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66463         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66464         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66465         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66466         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66467         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66468         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66469         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66470         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66471         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66472         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66473         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66474         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66475         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66476         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66477         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66478         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66479         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66480         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66481         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66482         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66483         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66484         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66485         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66486         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66487         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66488         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66489         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66490         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66491         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66492         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66493         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66494         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66495         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66496         (__isnanf): Likewise.
66497         (__isinf_ns): Likewise.
66498         (__isinf_nsf): Likewise.
66499         (__finite): Likewise.
66500         (__finitef): Likewise.
66501         (__ieee754_sqrt): Define as macro.
66502         (__ieee754_sqrtf): Define as macro.
66503         (__ieee754_sqrtl): Define as macro.
66504         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66505         inlined copy.
66506         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66507         __FINITE_MATH_ONLY__ consistent.
66508         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66510 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66512         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66513         of rawmemchr.
66515         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66517 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66519         * po/ja.po: Update from translation team.
66521 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66523         * locale/programs/locarchive.c (prepare_address_space): New function.
66524         (create_archive, enlarge_archive, open_archive): Use it.
66526         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66527         inside [SHARED], where it is used.
66529         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66531         * nss/getent.c (netgroup_keys): Remove unused variable.
66532         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66534 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66536         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66537         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66539         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66540         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66541         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66542         * math/Makefile (libm-calls): Add s_isinf_ns.
66543         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66544         * math/multc3.c: Likewise.
66545         * math/s_casin.c: Likewise.
66546         * math/s_casinf.c: Likewise.
66547         * math/s_casinl.c: Likewise.
66548         * math/s_ccos.c: Likewise.
66549         * math/s_ccosf.c: Likewise.
66550         * math/s_ccosl.c: Likewise.
66551         * math/s_ctan.c: Likewise.
66552         * math/s_ctanf.c: Likewise.
66553         * math/s_ctanh.c: Likewise.
66554         * math/s_ctanhf.c: Likewise.
66555         * math/s_ctanhl.c: Likewise.
66556         * math/s_ctanl.c: Likewise.
66557         * math/w_fmod.c: Likewise.
66558         * math/w_fmodf.c: Likewise.
66559         * math/w_fmodl.c: Likewise.
66560         * math/w_remainder.c: Likewise.
66561         * math/w_remainderf.c: Likewise.
66562         * math/w_remainderl.c: Likewise.
66563         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66564         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66565         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66566         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66567         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66568         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66569         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66570         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66572         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66573         of the number.
66574         * stdio-common/printf_fphex.c: Likewise.
66575         * stdio-common/printf_size.c: Likewise.
66577         * math/e_exp10.c: Include math_private.h using <...> not "...".
66578         * math/e_exp10f.c: Likewise.
66579         * math/e_exp10l.c: Likewise.
66580         * math/e_exp2l.c: Likewise.
66581         * math/e_j0l.c: Likewise.
66582         * math/e_j1l.c: Likewise.
66583         * math/e_jnl.c: Likewise.
66584         * math/e_lgammal_r.c: Likewise.
66585         * math/e_rem_pio2l.c: Likewise.
66586         * math/e_scalb.c: Likewise.
66587         * math/e_scalbf.c: Likewise.
66588         * math/e_scalbl.c: Likewise.
66589         * math/k_cosl.c: Likewise.
66590         * math/k_sinl.c: Likewise.
66591         * math/k_tanl.c: Likewise.
66592         * math/s_cacoshf.c: Likewise.
66593         * math/s_catan.c: Likewise.
66594         * math/s_catanf.c: Likewise.
66595         * math/s_catanh.c: Likewise.
66596         * math/s_catanhf.c: Likewise.
66597         * math/s_catanhl.c: Likewise.
66598         * math/s_catanl.c: Likewise.
66599         * math/s_ccosh.c: Likewise.
66600         * math/s_ccoshf.c: Likewise.
66601         * math/s_ccoshl.c: Likewise.
66602         * math/s_cexp.c: Likewise.
66603         * math/s_cexpf.c: Likewise.
66604         * math/s_cexpl.c: Likewise.
66605         * math/s_clog.c: Likewise.
66606         * math/s_clog10.c: Likewise.
66607         * math/s_clog10f.c: Likewise.
66608         * math/s_clog10l.c: Likewise.
66609         * math/s_clogf.c: Likewise.
66610         * math/s_clogl.c: Likewise.
66611         * math/s_csin.c: Likewise.
66612         * math/s_csinf.c: Likewise.
66613         * math/s_csinh.c: Likewise.
66614         * math/s_csinhf.c: Likewise.
66615         * math/s_csinhl.c: Likewise.
66616         * math/s_csinl.c: Likewise.
66617         * math/s_csqrt.c: Likewise.
66618         * math/s_csqrtf.c: Likewise.
66619         * math/s_csqrtl.c: Likewise.
66620         * math/s_ctan.c: Likewise.
66621         * math/s_ctanf.c: Likewise.
66622         * math/s_ctanh.c: Likewise.
66623         * math/s_ctanhf.c: Likewise.
66624         * math/s_ctanhl.c: Likewise.
66625         * math/s_ctanl.c: Likewise.
66626         * math/s_ldexp.c: Likewise.
66627         * math/s_ldexpf.c: Likewise.
66628         * math/s_ldexpl.c: Likewise.
66629         * math/s_significand.c: Likewise.
66630         * math/s_significandf.c: Likewise.
66631         * math/s_significandl.c: Likewise.
66632         * math/w_acos.c: Likewise.
66633         * math/w_acosf.c: Likewise.
66634         * math/w_acosh.c: Likewise.
66635         * math/w_acoshf.c: Likewise.
66636         * math/w_acoshl.c: Likewise.
66637         * math/w_acosl.c: Likewise.
66638         * math/w_asin.c: Likewise.
66639         * math/w_asinf.c: Likewise.
66640         * math/w_asinl.c: Likewise.
66641         * math/w_atan2.c: Likewise.
66642         * math/w_atan2f.c: Likewise.
66643         * math/w_atan2l.c: Likewise.
66644         * math/w_atanh.c: Likewise.
66645         * math/w_atanhf.c: Likewise.
66646         * math/w_atanhl.c: Likewise.
66647         * math/w_cosh.c: Likewise.
66648         * math/w_coshf.c: Likewise.
66649         * math/w_coshl.c: Likewise.
66650         * math/w_dremf.c: Likewise.
66651         * math/w_exp10.c: Likewise.
66652         * math/w_exp10f.c: Likewise.
66653         * math/w_exp10l.c: Likewise.
66654         * math/w_exp2.c: Likewise.
66655         * math/w_exp2f.c: Likewise.
66656         * math/w_fmod.c: Likewise.
66657         * math/w_fmodf.c: Likewise.
66658         * math/w_fmodl.c: Likewise.
66659         * math/w_hypot.c: Likewise.
66660         * math/w_hypotf.c: Likewise.
66661         * math/w_hypotl.c: Likewise.
66662         * math/w_j0.c: Likewise.
66663         * math/w_j0f.c: Likewise.
66664         * math/w_j0l.c: Likewise.
66665         * math/w_j1.c: Likewise.
66666         * math/w_j1f.c: Likewise.
66667         * math/w_j1l.c: Likewise.
66668         * math/w_jn.c: Likewise.
66669         * math/w_jnf.c: Likewise.
66670         * math/w_jnl.c: Likewise.
66671         * math/w_lgamma.c: Likewise.
66672         * math/w_lgamma_r.c: Likewise.
66673         * math/w_lgammaf.c: Likewise.
66674         * math/w_lgammaf_r.c: Likewise.
66675         * math/w_lgammal.c: Likewise.
66676         * math/w_lgammal_r.c: Likewise.
66677         * math/w_log.c: Likewise.
66678         * math/w_log10.c: Likewise.
66679         * math/w_log10f.c: Likewise.
66680         * math/w_log10l.c: Likewise.
66681         * math/w_log2.c: Likewise.
66682         * math/w_log2f.c: Likewise.
66683         * math/w_log2l.c: Likewise.
66684         * math/w_logf.c: Likewise.
66685         * math/w_logl.c: Likewise.
66686         * math/w_pow.c: Likewise.
66687         * math/w_powf.c: Likewise.
66688         * math/w_powl.c: Likewise.
66689         * math/w_remainder.c: Likewise.
66690         * math/w_remainderf.c: Likewise.
66691         * math/w_remainderl.c: Likewise.
66692         * math/w_scalb.c: Likewise.
66693         * math/w_scalbf.c: Likewise.
66694         * math/w_scalbl.c: Likewise.
66695         * math/w_sinh.c: Likewise.
66696         * math/w_sinhf.c: Likewise.
66697         * math/w_sinhl.c: Likewise.
66698         * math/w_sqrt.c: Likewise.
66699         * math/w_sqrtf.c: Likewise.
66700         * math/w_sqrtl.c: Likewise.
66701         * math/w_tgamma.c: Likewise.
66702         * math/w_tgammaf.c: Likewise.
66703         * math/w_tgammal.c: Likewise.
66705         * po/ja.po: Update from translation team.
66707 2011-09-29  Andreas Jaeger  <aj@suse.de>
66709         [BZ #13179]
66710         * sunrpc/netname.c (netname2host): Fix logic.
66712         [BZ #6779]
66713         [BZ #6783]
66714         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66715         correctly.
66716         * math/w_remainder.c (__remainder): Likewise.
66717         * math/w_remainderf.c (__remainderf): Likewise.
66718         * math/libm-test.inc (remainder_test): Add test cases.
66720 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66722         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66723         sdiv_qrnnd.
66725 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66727         * string/test-memcmp.c: Avoid unncessary #defines.
66728         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66730 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66732         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66733         Use new sse2 version for core i3 - i7 as it's faster
66734         than sse42 version.
66735         (bit_Prefer_PMINUB_for_stringop): New.
66736         * sysdeps/x86_64/rawmemchr.S: Update.
66737         Replace with faster SSE2 version.
66738         * sysdeps/x86_64/memrchr.S: New file.
66739         * sysdeps/x86_64/memchr.S: Update.
66740         Replace with faster SSE2 version.
66742 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66744         * elf/dl-load.c (lose): Add cast to avoid warning.
66746 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66748         * po/ca.po: Update from translation team.
66750         * inet/getnetgrent_r.c: Hook up nscd.
66751         * nscd/Makefile (routines): Add nscd_netgroup.
66752         (nscd-modules): Add netgroupcache.
66753         (CFLAGS-netgroupcache.c): Define.
66754         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66755         (cache_search): Add const to second parameter.
66756         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66757         INNETGR.
66758         (dbs): Add netgrdb entry.
66759         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66760         (verify_persistent_db): Handle netgrdb.
66761         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66762         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66763         GETFDNETGR.
66764         (netgroup_response_header): Define.
66765         (innetgroup_response_header): Define.
66766         (datahead): Add netgroup_response_header and innetgroup_response_header
66767         elements.
66768         * nscd/nscd.conf: Add entries for netgroup cache.
66769         * nscd/nscd.h (dbtype): Add netgrdb.
66770         (_PATH_NSCD_NETGROUP_DB): Define.
66771         (netgroup_iov_disabled): Declare.
66772         (xmalloc, xcalloc, xrealloc): Move declarations here.
66773         (cache_search): Adjust prototype.
66774         Add netgroup-related prototypes.
66775         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66776         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66777         (__nscd_innetgr): Declare.
66778         * nscd/selinux.c (perms): Use access_vector_t as element type and
66779         add netgroup-related initializers.
66780         * nscd/netgroupcache.c: New file.
66781         * nscd/nscd_netgroup.c: New file.
66782         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66783         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66784         For four parameters use innetgr.
66785         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66786         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66787         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66788         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66790         * nscd/connections.c (register_traced_file): Don't register file
66791         for disabled databases.
66793 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66795         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66797         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66798         from tree and freeing node.
66800 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66802         * nss/nsswitch.c (__nss_database_lookup): Handle
66803         nss_parse_service_list out of memory case.
66805 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66807         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66808         out of memory case.
66810 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66812         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66813         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66814         pass it down.
66815         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66816         elf_machine_rela, elf_machine_lazy_rel.
66817         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66818         (ELF_DYNAMIC_DO_REL): Likewise.
66819         (ELF_DYNAMIC_DO_RELA): Likewise.
66820         (ELF_DYNAMIC_RELOCATE): Likewise.
66821         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66822         to ELF_DYNAMIC_DO_REL.
66823         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66824         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66825         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66826         elf_machine_rela.
66827         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66828         skip_ifunc, don't call ifunc function if non-zero.
66829         (elf_machine_rela): Likewise.
66830         (elf_machine_lazy_rel): Likewise.
66831         (elf_machine_lazy_rela): Likewise.
66832         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66833         (elf_machine_lazy_rel): Likewise.
66834         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66835         Likewise.
66836         (elf_machine_lazy_rel): Likewise.
66837         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66838         Likewise.
66839         (elf_machine_lazy_rel): Likewise.
66840         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66841         (elf_machine_lazy_rel): Likewise.
66842         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66843         (elf_machine_lazy_rel): Likewise.
66844         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66845         (elf_machine_lazy_rel): Likewise.
66846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66847         (elf_machine_lazy_rel): Likewise.
66848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66849         (elf_machine_lazy_rel): Likewise.
66850         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66851         (elf_machine_lazy_rel): Likewise.
66853 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66855         * nss/nss_files/files-init.c (_nss_files_init): Use static
66856         initialization for all the *_traced_file variables.
66858 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66860         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66862 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66864         [BZ #13226]
66865         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66867 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66869         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66870         Reread the line before reparsing it.
66872 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66874         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66876 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66877             Maxim Kuvyrkov  <maxim@codesourcery.com>
66878             Joseph Myers  <joseph@codesourcery.com>
66880         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66881         if needed for __stack_chk_guard.
66883 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66885         * sysdeps/posix/spawni.c (script_execute): Always define it.
66886         It will be optimized away if unused.
66887         (maybe_script_execute): New function.
66888         (__spawni): Call it.
66890         * Makerules: Don't include tls.make.
66891         (config-tls): Always set to thread.
66892         * tls.make.c: File removed.
66894 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66896         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66897         * config.make.in (CPPFLAGS-config): New substituted variable.
66899 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66901         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66903         [BZ #13192]
66904         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66905         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66907 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66909         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66910         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66911         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66912         (CALL_FAIL): Likewise.
66913         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66914         (CALL_FAIL): Macro removed.
66915         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66917 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66919         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66920         for __FINITE_MATH_ONLY__ == 1.
66922 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66924         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66925         __ieee754_sqrt instead of sqrt.
66926         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66927         __ieee754_sqrtf instead of sqrtf.
66928         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66929         __floorf instead of floorf.
66930         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66931         __floorf, __truncf instead of floorf, truncf.
66933 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66935         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66937         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66938         __extern_always_inline.
66939         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66940         32-bit.
66942 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66944         * elf/rtld.c (dl_main): Also relocate in dependency order when
66945         doing symbol dependency testing.
66947 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66950         Always define `refsym'.
66952 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66954         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66955         (__FD_ELT): Renamed from __FDELT.
66956         * misc/bits/select2.h (__FD_ELT): Likewise.
66957         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66958         __FD_MASK instead of __FDELT, __FDMASK.
66959         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66960         Likewise.
66961         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66962         Likewise.
66964         * elf/Makefile (gen-ldd): Fix pattern.
66966         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66967         (init_tls): Likewise.
66969 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66971         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66973 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66975         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66976         `struct cmsghdr *' instead of `void *'.
66977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66978         Likewise.
66980 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66982         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66983         if non-absolute.
66984         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66985         ldd_rewrite_script.
66987 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66989         * configure.in: Remove --with-tls option.
66990         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66991         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66992         out in case it is missing.
66993         * sysdeps/ia64/elf/configure.in: Likewise.
66994         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66995         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66996         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66997         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66998         * sysdeps/sh/elf/configure.in: Likewise.
66999         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67000         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67001         * sysdeps/x86_64/elf/configure.in: Likewise.
67002         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67003         * sysdeps/mach/hurd/tls.h: Likewise.
67005         [BZ #13067]
67006         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67008         [BZ #13090]
67009         * configure.in: Fix use of AC_INIT.
67011         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67013 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67015         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67016         __set_errno.
67017         * malloc/hooks.c: Likewise.
67019         [BZ #11929]
67020         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67021         variables statically.
67022         (narenas): Initialize.
67023         (list_lock): Initialize.
67024         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67025         initializtion of main_arena and list_lock.  Small cleanups.
67026         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67027         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67028         Add initializers to main_arena and mp_.
67029         (malloc_state): Remove pagesize member.  Change all users to use
67030         GLRO(dl_pagesize).
67032         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67033         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67034         is always initialized.
67036         * malloc/malloc.c: Removed unused configurations and dead code.
67037         * malloc/arena.c: Likewise.
67038         * malloc/hooks.c: Likewise.
67039         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67041         * include/tls.h: Removed.  USE___THREAD must always be defined.
67042         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67043         * elf/dl-libc.c: Likewise.
67044         * elf/dl-tsd.c: Likewise.
67045         * include/errno.h: Likewise.
67046         * include/netdb.h: Likewise.
67047         * include/resolv.h: Likewise.
67048         * inet/herrno-loc.c: Likewise.
67049         * inet/herrno.c: Likewise.
67050         * malloc/arena.c: Likewise.
67051         * malloc/hooks.c: Likewise.
67052         * malloc/malloc.c: Likewise.
67053         * resolv/res-state.c: Likewise.
67054         * resolv/res_libc.c: Likewise.
67055         * sysdeps/i386/dl-machine.h: Likewise.
67056         * sysdeps/ia64/dl-machine.h: Likewise.
67057         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67058         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67059         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67060         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67061         * sysdeps/sh/dl-machine.h: Likewise.
67062         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67063         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67064         * sysdeps/unix/i386/sysdep.S: Likewise.
67065         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67066         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67071         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67075         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67076         * sysdeps/x86_64/dl-machine.h: Likewise.
67077         * tls.make.c: Likewise.
67079         * configure.in: Remove --with-__thread option.  Make tests for
67080         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67081         tls_model attribute fail if no support is available.  Remove
67082         USE_IN_LIBIO.
67083         * Makeconfig: Adjust for dropped configure option.  All features are
67084         now mandatory.
67085         * Makerules: Likewise.
67086         * Versions.def: Likewise.
67087         * argp/argp-fmtstream.c: Likewise.
67088         * argp/argp-fmtstream.h: Likewise.
67089         * argp/argp-help.c: Likewise.
67090         * assert/assert.c: Likewise.
67091         * config.h.in: Likewise.
67092         * config.make.in: Likewise.
67093         * configure: Likewise.
67094         * configure.in: Likewise.
67095         * csu/Versions: Likewise.
67096         * csu/init.c: Likewise.
67097         * elf/tst-audit2.c: Likewise.
67098         * elf/tst-tls10.c: Likewise.
67099         * elf/tst-tls10.h: Likewise.
67100         * elf/tst-tls11.c: Likewise.
67101         * elf/tst-tls12.c: Likewise.
67102         * elf/tst-tls14.c: Likewise.
67103         * elf/tst-tlsmod11.c: Likewise.
67104         * elf/tst-tlsmod12.c: Likewise.
67105         * elf/tst-tlsmod13.c: Likewise.
67106         * elf/tst-tlsmod13a.c: Likewise.
67107         * elf/tst-tlsmod14a.c: Likewise.
67108         * elf/tst-tlsmod15b.c: Likewise.
67109         * elf/tst-tlsmod16a.c: Likewise.
67110         * elf/tst-tlsmod16b.c: Likewise.
67111         * elf/tst-tlsmod7.c: Likewise.
67112         * elf/tst-tlsmod8.c: Likewise.
67113         * elf/tst-tlsmod9.c: Likewise.
67114         * gmon/gmon.c: Likewise.
67115         * grp/fgetgrent_r.c: Likewise.
67116         * grp/putgrent.c: Likewise.
67117         * hurd/fopenport.c: Likewise.
67118         * include/libc-symbols.h: Likewise.
67119         * include/tls.h: Likewise.
67120         * intl/gettextP.h: Likewise.
67121         * intl/loadinfo.h: Likewise.
67122         * locale/global-locale.c: Likewise.
67123         * locale/localeinfo.h: Likewise.
67124         * mach/devstream.c: Likewise.
67125         * malloc/arena.c: Likewise.
67126         * malloc/set-freeres.c: Likewise.
67127         * misc/err.c: Likewise.
67128         * misc/getttyent.c: Likewise.
67129         * misc/mntent_r.c: Likewise.
67130         * posix/getopt.c: Likewise.
67131         * posix/wordexp.c: Likewise.
67132         * pwd/fgetpwent_r.c: Likewise.
67133         * resolv/Versions: Likewise.
67134         * resolv/res_hconf.c: Likewise.
67135         * shadow/fgetspent_r.c: Likewise.
67136         * shadow/putspent.c: Likewise.
67137         * stdio-common/printf_fphex.c: Likewise.
67138         * stdio-common/tmpfile.c: Likewise.
67139         * stdlib/abort.c: Likewise.
67140         * stdlib/fmtmsg.c: Likewise.
67141         * sunrpc/auth_unix.c: Likewise.
67142         * sunrpc/clnt_perr.c: Likewise.
67143         * sunrpc/clnt_tcp.c: Likewise.
67144         * sunrpc/clnt_udp.c: Likewise.
67145         * sunrpc/clnt_unix.c: Likewise.
67146         * sunrpc/openchild.c: Likewise.
67147         * sunrpc/svc_simple.c: Likewise.
67148         * sunrpc/svc_tcp.c: Likewise.
67149         * sunrpc/svc_udp.c: Likewise.
67150         * sunrpc/svc_unix.c: Likewise.
67151         * sunrpc/xdr.c: Likewise.
67152         * sunrpc/xdr_array.c: Likewise.
67153         * sunrpc/xdr_rec.c: Likewise.
67154         * sunrpc/xdr_ref.c: Likewise.
67155         * sunrpc/xdr_stdio.c: Likewise.
67157 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67159         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67161 2011-07-03  Andreas Jaeger  <aj@suse.de>
67163         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67164         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67165         regenerate with gen-libm-tests.pl.
67167 2010-05-12  Petr Baudis  <pasky@suse.cz>
67169         [BZ #11589]
67170         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67171         around j0() zero points by switching to j1().
67172         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67174         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67175         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67177 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67179         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67180         instead of 0.
67181         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67182         instead of 0.
67183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67184         Patch in part by Pavel Roskin <proski@gnu.org>.
67186         [BZ #13138]
67187         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67188         realloc.
67189         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67190         Free memory block if necessary.
67192         [BZ #12847]
67193         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67194         be NULL.  Don't lock in this case.
67196 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67198         * elf/elf.h (ELFOSABI_GNU): New macro.
67199         (ELFOSABI_LINUX): Define to that.
67201 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67203         * string/strncat.c (strncat): Undef the symbol in case it has been
67204         defined in bits/string.h.
67206 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67208         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67210         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67211         link map.
67213 2011-08-17  Andreas Jaeger  <aj@suse.de>
67215         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67217 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67218             Ian Lance Taylor  <iant@google.com>
67220         * math/libm-test.inc (lround_test): New testcase.
67221         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67223 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67225         * Makefile: Remove support for automatic cvs check-ins.
67226         * Makerules: Likewise.
67227         * config.make.in: Likewise.
67228         * configure.in: Likewise.
67229         * intl/Makefile: Likewise.
67230         * locale/Makefile: Likewise.
67231         * po/Makefile: Likewise.
67232         * posix/Makefile: Likewise.
67233         * sysdeps/gnu/Makefile: Likewise.
67234         * sysdeps/mach/hurd/Makefile: Likewise.
67235         * sysdeps/sparc/sparc32/Makefile: Likewise.
67237         [BZ #13118]
67238         * posix/Makefile (bug-regex32-ENV): Define.
67239         Patch by John Stanley <jpsinthemix@verizon.net>.
67241         * misc/Makefile (headers): Add bits/select2.h.
67242         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67243         * misc/bits/select2.h: New file.
67244         * include/bits/select2.h: New file.
67245         * debug/Makefile (routines): Add fdelt_chk.
67246         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67247         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67248         FD_ISSET.
67249         * debug/fdelt_chk.c: New file.
67251         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67252         * wcsmbs/test-wmemcmp.c: Likewise.
67253         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67254         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67256 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67258         * string/Makefile (strop-tests): Add memcmp.
67259         * string/test-wmemcmp.c: New file.
67260         * string/test-memcmp.c: Add wmemcmp support.
67262 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67264         [BZ #13153]
67265         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67266         2011-07-19 change.
67268         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67269         garbage value in a __mach_port_mod_refs call in the cases of the
67270         task-self and thread-self ports.
67272 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67274         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67276 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67278         * elf/dl-load.c (lose): Check for non-null L.
67280 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67282         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67284         * elf/dl-libc.c (dlerror_run): Pass back error code from
67285         dl_catch_error.
67287         [BZ #13123]
67288         * elf/dl-load.c (lose): Free l_origin if it is valid.
67290         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67291         names.
67292         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67295         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67296         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67297         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67299 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67301         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67302         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67303         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67304         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67305         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67306         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67307         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67308         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67309         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67310         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67312 2011-08-15  Alan Modra  <amodra@gmail.com>
67314         [BZ #13092]
67315         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67316         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67317         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67318         ppc_mcount to static-only-routines.
67319         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67320         __mcount_internal.
67321         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67322         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67324 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67326         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67327         for finite and infinity parameters.
67329 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67331         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67332         and add nop instructions for throughput optimization.
67333         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67335 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67337         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67338         aligned copy for power7 with vector-scalar instructions.
67339         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67341 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67343         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67344         AVX check.
67346 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67348         [BZ #13144]
67349         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67350         last change.
67352 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67354         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67355         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67356         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67357         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67358         clock_gettime.
67360 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67362         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67363         Forgot to demangle the pointer.
67365         * sysdeps/i386/sysdep.h: Define atom_text_section.
67366         * sysdeps/x86_64/sysdep.h: Likewise.
67367         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67368         section with atom_text_section.
67369         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67370         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67371         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67372         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67373         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67376         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67377         already be defined.  Change to take two parameters and don't assign
67378         result to variable.  Adjust all users.
67379         Define INTERNAL_GETTIME if not already defined.
67380         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67381         call.
67382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67383         HAVE_CLOCK_GETTIME_VSYSCALL.
67384         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67387         gettimeofday vsyscall, just use time.
67389 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67391         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67392         <errno.h>.
67394 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67396         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67397         syscall on x86-64.
67398         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67399         syscall.
67400         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67401         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67402         syscall if possible.
67404 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67406         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67407         e_ident.  Don't pass to find_mapsXX.
67408         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67410 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67413         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67414         * sysdeps/x86_64/multiarch/strchr.S: Update.
67415         Check bit_slow_BSF bit.
67416         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67417         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67418         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67420 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67422         [BZ #13134]
67423         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67424         before glibc 2.15.
67425         (tryshell): Define.
67426         (__spawni): Change last parameter to be flag.  Test
67427         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67428         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67429         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67430         * posix/spawni.c: Likewise.
67431         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67432         * posix/spawnp.c: Likewise.  Change normal version to use
67433         SPAWN_XFLAGS_USE_PATH.
67434         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67435         SPAWN_XFLAGS_TRY_SHELL.
67437         [BZ #13150]
67438         * posix/glob.h: Remove gcc 1.x support.
67440         [BZ #13068]
67441         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67443 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67446         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67447         strrchr-sse2-bsf
67448         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67449         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67450         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67451         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67452         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67453         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67455 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67457         * sysdeps/x86_64/wcscmp.S: New file.
67459         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67460         wcscmp-c wcscmp-sse2
67461         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67462         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67463         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67464         * wcsmbs/wcscmp.c: Allow renaming.
67466 2011-09-05  David S. Miller  <davem@davemloft.net>
67468         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67469         stack slot, rather than the struct return pointer slot.
67470         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67471         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67473         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67475 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67477         * po/ja.po: Update from translation team.
67479         [BZ #13144]
67480         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67481         kernel in 64-bit binaries.
67483 2011-09-01  David S. Miller  <davem@davemloft.net>
67485         * elf/elf.h (HWCAP_SPARC_*): Move to..
67486         * sysdeps/sparc/sysdep.h: this new file and add new values.
67487         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67488         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67489         _DL_HWCAP_COUNT to 24.
67490         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67491         entries.
67492         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67493         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67494         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67496         instead of magic constants.
67497         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67499 2011-08-31  David S. Miller  <davem@davemloft.net>
67501         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67503         Reimplement to do errno handling inline.
67504         (SYSCALL_ERROR_HANDLER): New macro.
67505         (__SYSCALL_STRING): Do not do errno handling in asm.
67506         (__CLONE_SYSCALL_STRING): Delete.
67507         (__INTERNAL_SYSCALL_STRING): Delete.
67508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67509         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67510         (PSEUDO): Reimplement to do errno handling inline.
67511         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67512         (SYSCALL_ERROR_HANDLER): New macro.
67513         (__SYSCALL_STRING): Do not do errno handling in asm.
67514         (__CLONE_SYSCALL_STRING): Delete.
67515         (__INTERNAL_SYSCALL_STRING): Delete.
67516         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67517         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67518         i386.
67519         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67520         (inline_syscall*): Add 'err' argument.
67521         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67522         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67523         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67524         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67526         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67527         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67529 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67531         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67533 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67535         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67536         directive.
67538 2011-08-24  David S. Miller  <davem@davemloft.net>
67540         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67542 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67544         * elf/Makefile: Add rules to build and run unload8 test.
67545         * elf/unload8.c: New file.
67546         * elf/unload8mod1.c: New file.
67547         * elf/unload8mod1x.c: New file.
67548         * elf/unload8mod2.c: New file.
67549         * elf/unload8mod3.c: New file.
67551         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67552         it wasn't used.
67554 2011-08-23  David S. Miller  <davem@davemloft.net>
67556         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67557         subtract stack bias.
67558         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67559         %sp not %fp in calculations.
67560         (_JMPBUF_UNWINDS_ADJ): Likewise.
67562         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67563         (aio_suspend): Call it to force an exception region around the
67564         AIO_MISC_WAIT() invocation.
67566 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67568         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67569         backslash.
67571 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67573         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67574         protection macro.
67575         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67576         and <dl-machine.h>.
67577         (Elf64_FuncDesc): Remove.
67579 2011-08-22  David S. Miller  <davem@davemloft.net>
67581         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67582         sigaltstack check, add missing cfi directives.
67583         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67584         missing cfi directives, and sigaltstack handling.
67586 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67588         [BZ #11724]
67589         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67590         object is seen twice.
67591         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67593         * elf/Makefile (distribute): Add tst-initorder2.c.
67594         (tests): Add tst-initorder2.
67595         (modules-names): Add tst-initorder2a tst-initorder2b
67596         tst-initorder2c tst-initorder2d.  Add rules to build them.
67597         ($(objpfx)tst-initorder2.out): New rule.
67598         * elf/tst-initorder2.c: New file.
67599         * elf/tst-initorder2.exp: New file.
67601 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67603         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67605         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67606         dependencies back to end of function.
67608         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67609         $(elfobjdir)/ld.so.
67611 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67614         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67616         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67617         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67618         of __vdso_gettimeofday.
67619         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67620         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67621         attribute_hidden.
67622         (_libc_vdso_platform_setup): Remove initialization of
67623         __vdso_gettimeofday and __vdso_time.
67625 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67627         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67628         and fgetc_unlocked.
67629         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67630         getc_unlocked.
67632         * elf/dl-open.c (add_to_global): Report additions to the global scope
67633         for LD_DEBUG=scopes.
67634         (dl_open_worker): Also print scope of newly loaded dependencies.
67635         (_dl_show_scope): Indicate if there is no scope.
67637         [BZ #13114]
67638         * stdio-common/Makefile (tests): Add bug24.
67639         * stdio-common/bug24.c: New file.
67641 2011-08-19  Andreas Jaeger  <aj@suse.de>
67643         [BZ #13114]
67644         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67645         non-existant file when using close-on-exec mode.
67647 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67649         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67650         the very first instruction.
67652         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67653         the CFI state in the end.
67654         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67655         inclusion of dl-trampoline.h.
67656         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67658 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67660         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67661         expectations for long double.
67663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67664         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67666 2011-08-14  David S. Miller  <davem@davemloft.net>
67668         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67669         artificual limit depends upon the system page size.
67671 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67673         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67674         * resolv/Makefile: Define CFLAGS-libresolv.
67676 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67678         * nss/makedb.c (compute_tables): Make variables used in nested
67679         function static.
67681 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67683         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67684         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67685         if buffer was too small.
67687         * elf/pldd.c (main): Attach to all threads in the process.
67688         Rewrite /proc handling to use *at functions.
67690 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67692         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67693         specifies first scope to show.
67694         (dl_open_worker): Update callers.  Move printing scope of new
67695         object to before the relocation.
67696         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67697         * sysdeps/generic/ldsodefs.h: Update declaration.
67699         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67700         string for the scope number.
67702 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67704         * nscd/servicescache.c (cache_addserv): Make sure written is always
67705         initialized.
67707 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67709         * sysdeps/i386/i486/bits/atomic.h
67710         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67711         statement expression, so as to suppress "set but not used" warning.
67712         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67714         * string/strncat.c (STRNCAT): Use prototype definition.
67716         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67717         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67718         -Iprograms here.
67719         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67720         (localedef-modules): Add localedef.
67721         (locale-modules): Add locale.
67723         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67724         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67725         to avoid a warning.
67727 2011-08-14  David S. Miller  <davem@davemloft.net>
67729         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67730         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67732 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67734         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67735         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67736         * elf/rtld.c (dl_main): Set l_name of vDSO.
67737         Call _dl_show_scope when DL_DEBUG_SCOPES.
67738         (process_dl_debug): Recognize scopes flag and also set it for all.
67739         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67740         Declare _dl_show_scope.
67742         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67743         (do_dlopen): Pass caller_dlopen to dl_open.
67744         (__libc_dlopen_mode): Initialize caller_dlopen.
67746         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67747         of libc.  Make tolower call locale-independent.  Optimize a bit by
67748         using isdigit instead of isalnum.
67749         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67751 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67753         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67754         was a dependency or dynamically loaded.
67756 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67758         * intl/l10nflist.c: Allow architecture-specific pop function.
67759         * sysdeps/x86_64/l10nflist.c: New file.
67761         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67762         classification.
67764 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67766         * include/dirent.h: Add libc_hidden_proto for scandirat and
67767         scandirat64.  Don't declare __scandirat64.
67768         * dirent/scandirat.c: Add libc_hidden_def.
67769         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67770         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67772 2011-08-10  David S. Miller  <davem@davemloft.net>
67774         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67775         enum.
67776         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67778         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67780 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67782         * Versions.def [libc]: Add GLIBC_2.15.
67783         * dirent/Makefile (routines): Add scandirat and scandirat64.
67784         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67785         GLIBC_2.15.
67786         * dirent/dirent.h: Declare scandirat and scandirat64.
67787         * dirent/scandirat.c: New file.
67788         * dirent/scandirat64.c: New file.
67789         * sysdeps/wordsize-64/scandirat.c: New file.
67790         * sysdeps/wordsize-64/scandirat64.c: New file.
67791         * dirent/opendir.c: Define opendirat.
67792         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67793         using scandirat.
67794         * dirent/scandir64.c: Adjust for scandir.c change.
67795         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67796         __scandirat64, and __scandir_cancel_handler.
67797         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67798         additional parameter and use openat instead of open (outside of ld.so).
67799         Add new __opendir as wrapper around __opendirat.
67800         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67801         here without requiring old scandirat implementation.
67803 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67805         * dirent/scandir.c (cancel_handler): Renamed to
67806         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67807         defined.  Adjust users.
67808         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67809         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67811 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67813         * string/test-string.h (IMPL): Use __STRING to expand name and then
67814         stringify it.
67816         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67817         of cleanups.
67819 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67821         * string/Makefile: Update.
67822         (strop-tests): Append strncat.
67823         * string/test-wcscmp.c: New file.
67824         New comprehensive test for wcscmp.
67825         * string/test-strcmp.c: Update.
67826         (WIDE): New define.
67828 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67830         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67831         line.
67833 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67836         encoding to ACE if AI_IDN.
67838 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67841         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67843 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67845         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67846         Fix overflow bug in strncat.
67847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67849         * string/test-strncat.c: Update.
67850         Add new tests for checking overflow bugs.
67852 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67855         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67856         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67857         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67858         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67859         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67860         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67861         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67862         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67864         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67865         (USE_AS_STRCAT): Define.
67866         Add strcat and strncat support.
67867         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67869 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67871         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67872         __n bigger than INT_MAX+1.
67873         (__strncmp_g): Likewise.
67875 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67877         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67878         * libio/stido.h: Likewise.
67880         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67881         (AF_NFC): Define.
67882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67883         (AF_NFC): Define.
67885         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67886         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67888         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67889         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67891         [BZ #13021]
67892         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67893         installed.
67895         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67896         typo.
67897         (_dl_x86_64_save_sse): Likewise.
67899 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67902         OSXSAVE.
67903         (_dl_x86_64_save_sse): Likewise.
67905         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67907         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67909 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67911         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67912         change.
67913         (_dl_x86_64_save_sse): Use correct AVX check.
67915 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67917         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67918         bug in strncpy/strncat.
67919         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67921 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67923         * string/tester.c (test_strcat): Add tests for different alignments
67924         of source and destination.
67925         (test_strncat): Likewise.
67927 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67929         [BZ #12852]
67930         * posix/glob.c (glob): Check passed in values before using them in
67931         expressions to avoid some overflows.
67932         (glob_in_dir): Likewise.
67934         [BZ #13007]
67935         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67936         check for AVX enablement so that we don't crash with old kernels and
67937         new hardware.
67938         * elf/tst-audit4.c: Add same checks here.
67939         * elf/tst-audit6.c: Likewise.
67941         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67943 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67945         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67947 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67949         * po/cs.po: Update from translation team.
67950         * po/bg.po: Likewise.
67952 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67954         * misc/sys/cdefs.h: Add support for const attribute.
67955         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67956         to gnu_dev_{major,minor,makedev} functions.
67958 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67960         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67962 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67964         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67965         strlen results.
67967 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67970         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67971         register in order to avoid conflicts with the soft frame pointer
67972         being held in r11 when necessary.
67973         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67974         (INTERNAL_VSYSCALL_NCS): Likewise.
67976 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67978         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67979         * elf/dl-fini.c (_dl_fini): Adjust caller.
67980         * elf/dl-close.c (_dl_close_worker): Likewise.
67981         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67983 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67985         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67986         "aux_cache->nlibs < 0".
67988         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67989         in the reload-count case.
67991 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67994         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67995         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67996         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67997         * sysdeps/x86_64/multiarch/strcat.S: New file.
67998         * sysdeps/x86_64/multiarch/strncat.S: New file.
67999         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68000         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68001         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68002         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68003         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68004         (USE_AS_STRCAT): Define.
68005         Add strcat and strncat support.
68006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68007         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68008         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68009         * string/strncat.c: Update.
68010         (USE_AS_STRNCAT): Define.
68011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68012         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68013         and i7.
68014         * sysdeps/x86_64/multiarch/init-arch.h
68015         (bit_Prefer_PMINUB_for_stringop): New.
68016         (index_Prefer_PMINUB_for_stringop): Likewise.
68017         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68018         bit_Prefer_PMINUB_for_stringop.
68020 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68022         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68023         buffer64.
68024         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68025         of casting of buffer.
68026         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68027         buffer32 and buffer64.
68028         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68029         writes instead of casting of buffer.
68030         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68031         buffer32.
68032         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68033         casting of buffer.
68035 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68037         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68039 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68041         * nscd/nscd.c (termination_handler): Don't do anything for a database
68042         if it has not yet been initialized.
68044 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68046         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68048 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68050         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68052 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68054         * po/nl.po: Update from translation team.
68055         * po/sv.po: Likewise.
68057 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68059         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68060         now disallowed by GCC.
68062         * configure.in (use-default-link): Default to yes if a test -shared
68063         link meets our qualifications.
68064         * configure: Regenerated.
68066         * config.make.in (output-format): New variable.
68067         * configure.in: Check for ld --print-output-format support.
68068         * configure: Regenerated.
68069         * Makerules ($(common-objpfx)format.lds)
68070         [$(output-format) != unknown]: Just use $(output-format),
68071         instead of the linker-script munging.
68073 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68075         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68076         of $(common-objpfx)shlib.lds.
68077         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68079         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68080         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68082         * configure.in (-z relro check): Adjust test code to add a large
68083         writable data section after it.
68084         * configure: Regenerated.
68086 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68088         * configure.in (-z relro check): Fix test code to make the variable
68089         truly const.
68090         * configure: Regenerated.
68092 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68094         * nscd/nscd.h (struct traced_file): Define.
68095         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68096         elements.  Add traced_files.
68097         (inotify_fd): Declare.
68098         (register_traced_file): Declare.
68099         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68100         (inotify_fd): Export.
68101         (resolv_conf_descr): Remove.
68102         (nscd_init): Move inotify descriptor creation to main.
68103         Don't register files for notification here.
68104         (register_traced_file): New function.
68105         (invalidate_cache): Don't use reset_res to determine whether to call
68106         res_init, go through the list of registered files.
68107         (main_loop_poll): The inotify descriptors are now stored in the
68108         structures for the traced files.
68109         (main_loop_epoll): Likewise
68110         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68111         to __nss_disable_nscd.
68112         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68113         for a database anymore.  Check the records for all the registered
68114         files instead.
68115         * nss/Makefile (libnss_files-routines): Add files-init.
68116         (libnss_db-routines): Add db-init.
68117         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68118         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68119         * nss/nss_db/db-init.c: New file.
68120         * nss/nss_files/files-init.c: New file.
68121         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68122         __nss_lookup_function.
68123         (__nss_lookup_function): Call nss_load_library.
68124         (nss_load_all_libraries): New function.
68125         (__nss_disable_nscd): Take parameter with callback function for files
68126         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68127         used for the cached services.
68128         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68129         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68130         options for features to all the files in nscd.
68132         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68134 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68136         * csu/elf-init.c (__libc_csu_init): Comment typo.
68138 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68140         * po/pl.po: Update from translation team.
68141         * po/ja.po: Likewise.
68142         * po/ru.po: Likewise.
68143         * po/ko.po: Likewise.
68144         * po/fr.po: Likewise.
68146 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68148         * configure.in (.ctors/.dtors header and trailer check):
68149         Use an empirical test on a built program.
68150         * configure: Regenerated.
68152         * configure.in (-z relro check): Use an empirical test on a built DSO.
68153         Detect, but do not require, on ia64.
68154         * configure: Regenerated.
68156         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68157         Update tests that use readelf to use $READELF instead.
68158         * configure: Regenerated.
68160 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68162         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68163         if the result is not used.
68165 2011-07-05  Andreas Jaeger  <aj@suse.de>
68167         [BZ#9696]
68168         * stdlib/tst-strtod.c: Add testcase.
68170 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68172         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68173         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68174         The latter has a higher limit.  Take additional parameter to pass to
68175         the new function.
68176         (__pathconf): Pass file to __statfs_link_max.
68177         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68178         __statfs_link_max.
68179         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68180         __statfs_link_max.
68182         [BZ #12868]
68183         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68184         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68185         Handle Lustre.
68186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68187         (__statfs_filesize_max): Likewise.
68188         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68190 2011-07-05  Andreas Jaeger  <aj@suse.de>
68192         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68194 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68196         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68197         `status' variable.
68198         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68199         Likewise.
68201 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68203         * Makefile (strop-tests): Add strncat.
68204         * string/test-strncat.c: New file.
68206 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68208         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68210 2011-06-21  Andreas Jaeger  <aj@suse.de>
68212         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68213         Copy rule from iconvdata/Makefile.
68215 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68217         [BZ #12922]
68218         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68219         but no long options are defined, just return 'W'.
68221 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68223         [BZ #9696]
68224         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68226 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68228         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68229         netgroups to read.
68230         (innetgr): Likewise.
68232 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68234         * config.make.in (install_root): Default to $(DESTDIR).
68236 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68238         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68240 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68242         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68244         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68245         containing directory rather than embedding absolute directory names.
68247         * scripts/check-local-headers.sh: Rewritten using awk.
68248         Match by word, not by line.  Print error messages for matches.
68249         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68251         * Makerules [shlib-lds-flags empty]:
68252         ($(common-objpfx)libc_pic.opts): New target.
68253         ($(common-objpfx)libc_pic.os.clean): New target.
68254         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68256         * config.make.in (OBJCOPY): New variable.
68257         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68258         * configure: Regenerated.
68260         * config.make.in (use-default-link): New variable.
68261         * configure.in (use_default_link): Grok --with-default-link to set it.
68262         * configure: Regenerated.
68263         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68264         (shlib-lds, shlib-lds-flags): Define to empty.
68266         * Makerules (shlib-lds): New variable.
68267         (shlib-lds-flags): New variable.
68268         (build-shlib, build-moduile, build-module-asneeded): Use it.
68269         ($(common-objpfx)libc.so): Use $(shlib-lds).
68270         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68271         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68273         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68274         DT_FLAGS/DT_FLAGS_1 with zero flags.
68276         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68277         linker script munging.
68279 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68281         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68282         as 128-bit value.
68283         * crypt/sha512.c (sha512_process_block): Perform total addition using
68284         128-bit if possible.
68285         (__sha512_finish_ctx): Likewise.
68286         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68287         as 64-bit value.
68288         * crypt/sha256.c (SWAP64): Define.
68289         (sha256_process_block): Perform total addition using 64-bit if
68290         possible.
68291         (__sha256_finish_ctx): Likewise.
68293 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68295         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68297         * nscd/hstcache.c (cache_addhst): Likewise.
68298         * nscd/grpcache.c (cache_addgr): Likewise.
68299         * nscd/aicache.c (addhstaiX): Likewise
68300         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68302 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68304         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68305         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68306         * nscd/hstcache.c (cache_addhst): Likewise.
68307         * nscd/grpcache.c (cache_addgr): Likewise.
68308         * nscd/aicache.c (addhstaiX): Likewise
68310 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68312         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68313         domain only when needed.
68315 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68318         is always restored.
68320 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68322         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68323         are re-adding the entry.
68324         * nscd/servicescache.c (cache_addserv): Likewise.
68326 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68328         * sysdeps/generic/dl-irel.h: fix protection against multiple
68329         inclusions.
68330         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68332 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68334         [BZ #12935]
68335         * malloc/memusage.sh: Fix quoting in message.
68336         * debug/xtrace.sh: Likewise.
68338         * configure.in: Remove support for --experimental-malloc option, make
68339         it the default.
68340         * config.make.in: Likewise.
68341         * malloc/Makefile: Likewise.
68343 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68345         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68346         two-byte characters.
68348 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68350         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68351         AC_CACHE_CHECK invocation.
68352         * configure: Regenerated.
68354         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68356 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68358         [BZ #12350]
68359         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68360         bit from old_res_options.
68362         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68364         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68365         value type for setfct.
68367 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68370         __gettimeofday instead of gettimeofday.
68372 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68374         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68376 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68378         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68380         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68381         info.
68383 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68386         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68387         strcpy-sse2-unaligned strncpy-sse2-unaligned
68388         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68389         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68390         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68391         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68392         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68393         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68394         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68395         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68396         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68397         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68398         (STRCPY): Support SSE2 and SSSE3 versions.
68400 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68402         [BZ #12874]
68403         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68404         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68405         kernels which artificially limit size of requests.
68407 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68410         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68411         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68412         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68413         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68414         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68415         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68416         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68417         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68419         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68420         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68421         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68422         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68423         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68425         Enable unaligned load optimization for Intel Core i3, i5 and i7
68426         processors.
68427         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68428         Define.
68429         (index_Fast_Unaligned_Load): Define.
68430         (HAS_FAST_UNALIGNED_LOAD): Define.
68432 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68434         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68436 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68438         [BZ #12907]
68439         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68440         until it is clear that the information is realy needed.
68441         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68443 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68447 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68450         /sys/devices/system/cpu/online if it is usable.
68452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68453         reading the information from the /proc filesystem to once a second.
68455 2011-06-21  Andreas Jaeger  <aj@suse.de>
68457         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68458         NULL after inclusion of kernel headers.
68460 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68462         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68463         calls to internal_setent.
68465         [BZ #12885]
68466         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68467         addresses using gethostbyname4_r ignore IPv4 addresses.
68469         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68470         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68472         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68474 2011-06-20  David S. Miller  <davem@davemloft.net>
68476         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68477         inclusions.
68478         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68480         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68481         (elf_irel): Use it.
68482         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68483         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68484         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68485         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68486         * sysdeps/x86_64/dl-irel.h: Likewise.
68488         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68489         * elf/dl-sym.c: Likewise.
68491 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68493         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68494         need to dereference resplen2.
68496 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68498         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68500 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68502         * Makeconfig: Define vardbdir and inst_vardbdir.
68503         * nss/Makefile: Add rules to install db-Makefile.
68505         * nss/nss_db/db-XXX.c: Cleanup.
68507         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68508         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68509         GLIBC_PRIVATE.
68510         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68511         * nss/makedb.c: Implement -g option to specify that value strings
68512         are generated and should not be added to table iterated over for
68513         get*ent calls.
68514         * nss/nss_db/db-initgroups.c: New file.
68516         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68517         interface.
68519         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68520         (internal_getgrouplist): Adjust to name change.
68521         Update use_initgroups_entry if this is not the first call.
68522         * nss/databases.def: Add initgroups entry.
68524         * nss/makedb.c (compute_tables): Check result of multiple hash table
68525         sizes to minimize maximum chain length.
68527 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68529         * Versions.def: Add entry for libnss_db.
68530         * shlib-versions: Likewise.
68531         * nss/Makefile: Add rules to build libnss_db.
68532         * nss/Versions: Add libnss_db information.  Organize libnss_files
68533         entries better.
68534         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68535         makedb progra.  Some minor improvements to generate smaller files.
68536         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68537         here from...
68538         * nss/makedb.c: ...here.
68539         Improve database format to be smaller and require less memory at
68540         runtime.
68541         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68542         db anymore.
68543         * nss/nss_db/db-netgrp.c: Likewise.
68544         * nss/nss_db/db-open.c: Likewise.
68545         * nss/nss_files/flies-XXX.x: Adjust comments.
68546         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68547         * nss/nss_files/files-grp.c: Likewise.
68548         * nss/nss_files/files-hosts.c: Likewise.
68549         * nss/nss_files/files-network.c: Likewise.
68550         * nss/nss_files/files-proto.c: Likewise.
68551         * nss/nss_files/files-pwd.c: Likewise.
68552         * nss/nss_files/files-rpc.c: Likewise.
68553         * nss/nss_files/files-service.c: Likewise.
68554         * nss/nss_files/files-sgrp.c: Likewise.
68555         * nss/nss_files/files-spwd.c: Likewise.
68556         * nss/nss_db/db-alias.c: Removed.
68557         * nss/nss_db/dummy-db.h: Removed.
68559 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68561         * nss/makedb.c: Rewritten to not use database library.
68562         * nss/Makefile: Update to build new makedb program.
68564 2011-06-14  Andreas Jaeger  <aj@suse.de>
68566         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68567         memset declaration.
68569 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68572         tmpbuf.
68574 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68576         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68577         * elf/Makefile ($(objpfx)ld.so): Likewise.
68579         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68580         Don't list ld.so twice in dependencies.
68582         * posix/bug-regex31.c: Include <stdlib.h>.
68584         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68586         * nis/nss_compat/compat-spwd.c
68587         (getspent_next_nss_netgr): Remove unused variable.
68588         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68590         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68591         nonmembers" output to use the right array.
68593         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68595         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68597         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68598         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68599         * catgets/gencat.c (read_input_file): Likewise.
68600         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68602         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68603         variable definition inside #if's controlling its use.
68605         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68607         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68609         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68611         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68612         unreachable code.
68614         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68616         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68617         * configure: Regenerated.
68619         * Makerules: Revert last change.
68620         * elf/Makefile: Likewise.
68622 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68624         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68625         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68626         (reloc-link): Likewise.
68628 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68630         * elf/Makefile: Add rules to build pldd.
68631         * elf/pldd.c: New file.
68632         * elf/pldd-xx.c: New file.
68634 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68636         * version.h: Update for 2.15 development version.
68638 2011-06-07  David S. Miller  <davem@davemloft.net>
68640         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68641         ifuncs.
68642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68643         elf_machine_lazy_rel): Likewise.
68644         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68646         elf_machine_lazy_rel): Likewise.
68647         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68648         dl_hwcap via passed in argument.
68649         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68650         Likewise.
68652 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68654         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68656 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68658         [BZ #12849]
68659         * manual/fdl-1.1.texi: New file, verbatim from:
68660         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68661         * manual/lgpl-2.1.texi: New file, verbatim from:
68662         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68663         * manual/Makefile (licenses): New variable, list those new file names.
68664         (texis): Use it.
68665         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68667         * manual/fdl.texi: File removed.
68668         * manual/lesser.texi: File removed.
68669         * manual/libc.texinfo (Copying, Documentation License):
68670         Use new @include file names, put @appendix directive before @include.
68672 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68674         [BZ #12841]
68675         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68676         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68677         (mq_open): Add __NTH.
68679 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68682         Assume Intel Core i3/i5/i7 processor if AVX is available.
68684 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68687         typo.
68689 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68691         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68692         memory.  Use alloca_account.  Fix memory leak when retrying.
68694 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68696         * version.h (RELEASE): Bump for 2.14 release.
68697         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68699         * config.make.in (RANLIB): Remove entry.
68701 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68703         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68704         (libc.pot): Work around missing support for .ksh extension in xgettext.
68706         [BZ #12684]
68707         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68708         if both request failed.
68709         (send_dg): In case of server errors clear resplen or *resplen2.
68711         [BZ #12454]
68712         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68713         when there are multiple maps.
68714         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68715         (_dl_fini): Remove test here.
68717         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68719 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68721         [BZ #12350]
68722         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68723         bit from old_res_options.
68724         (gaih_inet): Likewise.
68726         [BZ #11099]
68727         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68728         as signed.
68730         * resolv/res_init.c (res_setoptions): Make the code more compact.
68732         [BZ #11558]
68733         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68734         set RES_USEVC.
68736         [BZ #11634]
68737         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68739         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68741         [BZ #11781]
68742         * malloc/malloc.h: Declare malloc hook variables as volatile.
68744         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68745         in last patch.
68747         [BZ #11799]
68748         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68749         raise in the comment.
68750         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68751         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68752         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68754 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68756         [BZ #12811]
68757         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68758         grow the buffers more if it already has to be sufficient.
68759         (build_wcs_upper_buffer): Likewise.
68760         * posix/regexec.c (check_matching): Likewise.
68761         (clean_state_log_if_needed): Likewise.
68762         (extend_buffers): Don't enlarge buffers beyond size of the input
68763         buffer.
68764         Patches mostly by Emil Wojak <emil@wojak.eu>.
68765         * posix/bug-regex32.c: New file.
68766         * posix/Makefile (tests): Add bug-regex32.
68768         * locale/findlocale.c (_nl_find_locale): Return right away if
68769         _nl_explode_name failed.
68770         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68772         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68774         * debug/xtrace.sh: Unify messages.
68775         * malloc/memusage.sh: Likewise.
68777         [BZ #12813]
68778         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68779         time symbol from vDSO.  Substitute with vsyscall if not available.
68780         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68781         __vdso_time.
68783         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68784         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68785         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68786         Add sendmmsg and internal_sendmmsg.
68787         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68788         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68789         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68791         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68792         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68793         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68795 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68797         [BZ #12813]
68798         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68799         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68800         available.
68801         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68802         __vdso_getcpu.
68804         [BZ #12814]
68805         * iconvdata/Makefile (tests): Add bug-iconv9.
68806         * iconvdata/bug-iconv9.c: New file.
68808 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68810         [BZ #12814]
68811         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68813 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68815         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68816         (struct user_regs_struct): Change intcs field back to cs.
68818 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68820         * po/ja.po: Update from translation team.
68822 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68824         [BZ #12795]
68825         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68826         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68828 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68830         * stdlib/longlong.h: Update from GCC.
68832 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68834         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68835         parameter name.
68836         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68837         Add parameter name.
68838         (__sysconf): Pass it down.
68840 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68842         [BZ #12671]
68843         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68844         some situations.
68845         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68846         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68847         add in in __libc_use_alloca calls.  Adjust callers.
68848         (glob): Use malloc in some situations.
68850         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68851         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68852         pltexit.
68854 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68856         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68857         and CLOCK_BOOTTIME_ALARM.
68859         [BZ #12782]
68860         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68861         is returned.
68863         * string/_strerror.c (__strerror_r): Print negative errors as signed
68864         numbers.
68866         [BZ #12777]
68867         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68868         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68869         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68871         * configure.in: Fix typo in redirection and correct removal of test
68872         files in two cases.
68874         [BZ #12788]
68875         * locale/setlocale.c (new_composite_name): Fix test to check for
68876         identical name of all categories.
68878         [BZ #12792]
68879         * libio/filedoalloc.c (local_isatty): New function.
68880         (_IO_file_doallocate): Use local_isatty.
68881         * stdio-common/perror.c (perror): In case a new stream is used
68882         forward the stream error.
68883         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68884         error flag.
68886 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68888         [BZ #11884]
68889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68890         alloca.
68891         * include/alloca.h (extend_alloca_account): Define.
68893         [BZ #11857]
68894         * posix/regex.h: Fix comments with documentation of user-accessible
68895         fields after compilation and describe correct free'ing of pattern
68896         after re_compile_pattern.
68897         Patch by Reuben Thomas <rrt@sc3d.org>.
68899 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68901         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68902         and -mno-altivec to prevent the compiler from using Altivec and/or
68903         VSX instructions when the corresponding registers are not available.
68905 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68907         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68909 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68911         * libio/freopen.c (freopen): Use __dup2, not dup2.
68912         * libio/freopen64.c (freopen64): Likewise.
68914 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68916         [BZ #12775]
68917         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68918         * math/Makefile (tests): Add test-powl.
68919         (CFLAGS-test-powl.c): Define.
68920         * math/test-powl.c: New file.
68922 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68924         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68926 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68928         [BZ #11837]
68929         * iconvdata/gb18030.c: Update to GB18020-2005.
68931 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68933         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68934         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68935         Patch by Aharon Robbins <arnold@skeeve.com>.
68937         [BZ #11892]
68938         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68939         on the stack.
68941         [BZ #11895]
68942         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68943         through underflows.
68945         [BZ #12766]
68946         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68947         point to strings before performing equality test for error_one_per_line
68948         mode.
68950         [BZ #11697]
68951         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68953         [BZ #11820]
68954         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68955         (struct user_fpregs_struct): Avoid __uint*_t types.
68957         [BZ #6420]
68958         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68959         symbol info.  Use it instead of calling _dl_addr locally.
68960         (lock_and_info): New function.
68961         (tr_freehook): Call lock_and_info and pass symbol info as additional
68962         parameter to tr_where.
68963         (tr_mallochook): Likewise.
68964         (tr_reallochook): Likewise.
68965         (tr_memalignhook): Likewise.
68967         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68968         used and couldn't be at all thread-safe.
68970 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68972         * libio/freopen.c (freopen): Don't close old file descriptor
68973         before the new one is opened.  Instead dup the new file descriptor
68974         to the old one after the new stream is created.
68975         * libio/freopen64.c (freopen64): Likewise.
68976         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68977         * libio/fileops.c (_IO_new_file_close_it): Handle new
68978         _IO_FLAGS2_NOCLOSE flag.
68979         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68980         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68981         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68982         _IO_FLAGS2_NOCLOSE flag.
68983         * include/unistd.h: Add hidden_proto for dup3.
68984         Define __have_dup3.
68985         * io/dup3.c: Define hidden symbol.
68986         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68988         [BZ #7101]
68989         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68990         when an incomplete long option is used.
68991         * posix/tst-getopt_long1.c: New file.
68992         * posix/Makefile (tests): Add tst-getopt_long1.
68994         [BZ #10138]
68995         * scripts/config.guess: Update from autoconf-2.68.
68996         * scripts/config.sub: Likewise.
68998         [BZ #10157]
68999         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69000         tests into ...
69001         (has_cpuclock): ...this.  New function.
69002         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69003         macro here based on has_cpuclock code.
69005         [BZ #10149]
69006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69007         First byte (not low byte) is now always NUL.
69008         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69010         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69011         Use non-cancelable interfaces.
69013         [BZ #9809]
69014         * locale/iso-639.def: Add entry for Sorani.
69016         [BZ #11901]
69017         * include/stdlib.h: Move include protection to the right place.
69018         Define abort_msg_s.  Declare __abort_msg with it.
69019         * stdlib/abort.c (__abort_msg): Adjust type.
69020         * assert/assert.c (__assert_fail_base): New function.  Majority
69021         of code from __assert_fail.  Allocate memory for __abort_msg with
69022         mmap.
69023         (__assert_fail): Now call __assert_fail_base.
69024         * assert/assert-perr.c: Remove bulk of implementation.  Use
69025         __assert_fail_base.
69026         * include/assert.hL Declare __assert_fail_base.
69027         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69028         mmap.
69029         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69031 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69033         [BZ #11952]
69034         [BZ #12453]
69035         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69036         until all modules are registered in the DTV.
69037         * elf/Makefile: Add rules to build and run tst-tls19.
69038         * elf/tst-tls19.c: New file.
69039         * elf/tst-tls19mod1.c: New file.
69040         * elf/tst-tls19mod2.c: New file.
69041         * elf/tst-tls19mod3.c: New file.
69042         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69044         [BZ #12083]
69045         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69046         correctly.
69048         [BZ #12601]
69049         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69050         two-byte sequence errors.
69051         * iconvdata/Makefile (tests): Add bug-iconv8.
69052         * iconvdata/bug-iconv8.c: New file.
69054         [BZ #12626]
69055         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69056         buf2 definition.
69058         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69060         [BZ #12432]
69061         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69062         (dummy_getcfa): New function.
69063         (init): Get _Unwind_GetCFA address, use dummy if not found.
69064         (backtrace_helper): In recursion check, also check whether CFA changes.
69065         (__backtrace): Completely initialize arg.
69067         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69068         storing incomplete byte sequence in state object.  Avoid testing for
69069         guaranteed too small input if we know there is enough data available.
69071 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69073         * Makeconfig (+link-pie): Indent.
69074         * Rules (binaries-pie): Define if $(have-fpie) and
69075         $(build-shared).
69076         (binaries-shared): Also filter out $(binaries-pie).
69077         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69078         * nscd/Makefile (others-pie): Add nscd.
69079         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69080         ($(objpfx)nscd): Remove command override.
69081         * login/Makefile (others-pie): Add pt_chown.
69082         ($(objpfx)pt_chown): Remove command override.
69083         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69084         remove command overrides.
69086 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69088         * libio/tst_putwc.c: Fix error messages.
69090         [BZ #12724]
69091         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69092         currently writing and seek to current position when not.
69093         * libio/Makefile (tests): Add bug-fclose1.
69094         * libio/bug-fclose1.c: New file.
69096 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #12511]
69099         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69100         don't set DF_1_NODELETE here.
69101         (do_lookup_x): When entering new entry test for copy relocation
69102         and if necessary set DF_1_NODELETE flag.
69103         * elf/tst-unique4.cc: New file.
69104         * elf/tst-unique4.h: New file.
69105         * elf/tst-unique4lib.cc: New file.
69106         * elf/Makefile: Add rules to build and run tst-unique4.
69107         Patch by Piotr Bury <pbury@goahead.com>.
69109 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69111         [BZ #12052]
69112         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69114         [BZ #12625]
69115         * misc/mntent_r.c (addmntent): Flush the stream after the output
69117         [BZ #12393]
69118         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69119         (is_trusted_path_normalize): Skip initial colon.  Append slash
69120         to empty buffer.  Duplicate is_trusted_path code but allow
69121         constructed patch to be prefix.
69122         (is_dst): Allow $ORIGIN followed by /.
69123         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69124         Correct testing of result of is_trusted_path_normalize
69125         (decompose_rpath): Fix warning.
69127 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69129         [BZ #11257]
69130         * grp/initgroups.c (internal_getgrouplist): When we found the service
69131         list through the initgroups entry in nsswitch.conf do not always
69132         continue on a successful lookup.  Don't always use the
69133         __nss_group_database value if it is set.
69134         * nss/nsswitch.conf (initgroups): Change action for successful db
69135         lookup to continue for compatibility.
69137 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69139         [BZ #11532]
69140         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69141         and CP774 modules.
69142         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69143         and CP774 modules.
69144         * iconvdata/tst-tables.sh: Likewise.
69145         * iconvdata/cp770.c: New file.
69146         * iconvdata/cp771.c: New file.
69147         * iconvdata/cp772.c: New file.
69148         * iconvdata/cp773.c: New file.
69149         * iconvdata/cp774.c: New file.
69150         * iconvdata/testdata/CP770: New file.
69151         * iconvdata/testdata/CP770..UTF8: New file.
69152         * iconvdata/testdata/CP771: New file.
69153         * iconvdata/testdata/CP771..UTF8: New file.
69154         * iconvdata/testdata/CP772: New file.
69155         * iconvdata/testdata/CP772..UTF8: New file.
69156         * iconvdata/testdata/CP773: New file.
69157         * iconvdata/testdata/CP773..UTF8: New file.
69158         * iconvdata/testdata/CP774: New file.
69159         * iconvdata/testdata/CP774..UTF8: New file.
69161         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69162         END CHARMAP line.
69163         * iconvdata/gen-8bit-gap.sh: Likewise.
69164         * iconvdata/gen-8bit.sh: Likewise.
69166         * locale/iso-639.def: Add ary entry.
69168         [BZ #11258]
69169         * locale/C-translit.h.in: Add U20A1 transliteration.
69171         [BZ #12178]
69172         * locale/iso-639.def: Add wae entry.
69173         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69175         [BZ #12545]
69176         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69177         for n.
69179         [BZ #12711]
69180         * locale/C-translit.h.in: Add entry for U20B9.
69181         Patch by pravin.d.s@gmail.com.
69183 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69185         [BZ #12713]
69186         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69187         ENAMETOOLONG use generic getcwd.
69188         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69189         in rtld.  Use *stat64.
69190         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69191         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69192         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69193         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69194         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69195         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69196         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69197         __fstatat64 macros.
69198         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69199         * dirent/rewinddir.c: Add libc_hidden_def.
69200         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69201         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69203         * include/dirent.h (__alloc_dir): Add flags parameter.
69204         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69205         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69206         __alloc_dir.
69207         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69208         from fdopendir if O_CLOEXEC is already set.
69210 2011-03-15  Alan Modra  <amodra@gmail.com>
69212         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69213         l_tls_firstbyte_offset non-zero.  Save padding offset in
69214         l_tls_firstbyte_offset for later use.
69215         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69216         freeing static tls block.
69218 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69220         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69221         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69222         being defined by the kernel headers.
69224 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69226         [BZ #12734]
69227         * resolv/resolv.h: Define RES_NOTLDQUERY.
69228         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69229         no-tld-query and set RES_NOTLDQUERY.
69230         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69231         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69232         modern BIND to search name as TLD unless forbidden.
69234 2011-05-07  Petr Baudis  <pasky@suse.cz>
69235             Ulrich Drepper  <drepper@gmail.com>
69237         [BZ #12393]
69238         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69239         (is_trusted_path): ...to here.
69240         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69241         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69242         using is_trusted_path_normalize() in setuid scripts.
69244 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69246         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69247         __BEGIN/__END_DECLS.
69249 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69251         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69252         NSS_STATUS_NOTFOUND if no record was found.
69254 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69256         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69257         (headers-not-in-tirpc): Remove rpc/netdb.h
69258         * resolv/netdb.h: Revert last change.
69260 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69262         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69263         circular dependency between libgcc.a and libc.a.
69265 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69267         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69268         * nis/Makefile: Don't install rpcsvc/*.
69269         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69270         instead of <rpc/types.h>.
69271         (MAXHOSTNAMELEN): Define.
69273 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69275         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69277 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69279         [BZ #12714]
69280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69281         gethostbyname4_r when IPv6 results are possible.
69283 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69285         [BZ #12723]
69286         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69287         _PC_PIPE_BUF handling.
69289 2011-04-30  Bruno Haible  <bruno@clisp.org>
69291         [BZ #12717]
69292         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69293         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69294         to 'int'.
69295         * inet/getnameinfo.c (getnameinfo): Likewise.
69297 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69299         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69300         to groups setting in database lookup.
69301         * nss/nsswitch.conf: Add initgroups entry.
69303 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69305         [BZ #12685]
69306         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69307         mode string.
69308         Patch by Eric Blake <eblake@redhat.com>.
69310 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69312         * sunrpc/Makefile (need-export-routines): Add svc_run.
69313         (routines): Remove svc_run.
69314         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69315         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69316         * sunrpc/svc_run.c (svc_run): Likewise.
69317         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69319 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69321         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69322         problem in reallocation in last patch.
69324 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69326         * sunrpc/Makefile: Move inclusion of Rules.
69328 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69330         * nss/nss_files/files-initgroups.c: New file.
69331         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69332         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69333         _nss_files_initgroups_dyn.
69335 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69337         * elf/elf.h (R_ARM_IRELATIVE): Define.
69339 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69341         * po/ru.po: Update from translation team.
69343 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69345         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69346         dependencies.
69348 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69350         [BZ #12653]
69351         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69352         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69353         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69355         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69357 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69359         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69360         differing bytes.
69361         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69362         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69363         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69365 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69367         [BZ #12420]
69368         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69369         storing it.
69370         * stdlib/bug-getcontext.c: New file.
69371         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69373 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69375         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69376         instructions into .machine "z9-109".
69377         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69378         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69380 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69382         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69383         between environment variables and auxiliary vector.
69385 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69387         * Makefile: Add rules to build linkobj/libc.so.
69388         * include/libc-symbols.h: Define libc_hidden_nolink.
69389         * include/rpc/auth.h: Mark functions which are to be hidden.
69390         * include/rpc/auth_des.h: Likewise.
69391         * include/rpc/auth_unix.h: Likewise.
69392         * include/rpc/clnt.h: Likewise.
69393         * include/rpc/des_crypt.h: Likewise.
69394         * include/rpc/key_prot.h: Likewise.
69395         * include/rpc/pmap_clnt.h: Likewise.
69396         * include/rpc/pmap_prot.h: Likewise.
69397         * include/rpc/pmap_rmt.h: Likewise.
69398         * include/rpc/rpc_msg.h: Likewise.
69399         * include/rpc/svc.h: Likewise.
69400         * include/rpc/svc_auth.h: Likewise.
69401         * include/rpc/xdr.h: Likewise.
69402         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69403         * nss/Makefile: Likewise.
69404         * sunrpc/Makefile: Don't install headers.  Build library with normal
69405         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69406         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69407         for the compat linking library.  Remove use of INTDEF/INTUSE.
69408         * sunrpc/auth_none.c: Likewise.
69409         * sunrpc/auth_unix.c: Likewise.
69410         * sunrpc/authdes_prot.c: Likewise.
69411         * sunrpc/authuxprot.c: Likewise.
69412         * sunrpc/clnt_gen.c: Likewise.
69413         * sunrpc/clnt_perr.c: Likewise.
69414         * sunrpc/clnt_raw.c: Likewise.
69415         * sunrpc/clnt_simp.c: Likewise.
69416         * sunrpc/clnt_tcp.c: Likewise.
69417         * sunrpc/clnt_udp.c: Likewise.
69418         * sunrpc/clnt_unix.c: Likewise.
69419         * sunrpc/des_crypt.c: Likewise.
69420         * sunrpc/des_soft.c: Likewise.
69421         * sunrpc/get_myaddr.c: Likewise.
69422         * sunrpc/key_call.c: Likewise.
69423         * sunrpc/key_prot.c: Likewise.
69424         * sunrpc/netname.c: Likewise.
69425         * sunrpc/pm_getmaps.c: Likewise.
69426         * sunrpc/pm_getport.c: Likewise.
69427         * sunrpc/pmap_clnt.c: Likewise.
69428         * sunrpc/pmap_prot.c: Likewise.
69429         * sunrpc/pmap_prot2.c: Likewise.
69430         * sunrpc/pmap_rmt.c: Likewise.
69431         * sunrpc/publickey.c: Likewise.
69432         * sunrpc/rpc_cmsg.c: Likewise.
69433         * sunrpc/rpc_common.c: Likewise.
69434         * sunrpc/rpc_dtable.c: Likewise.
69435         * sunrpc/rpc_prot.c: Likewise.
69436         * sunrpc/rpc_thread.c: Likewise.
69437         * sunrpc/rtime.c: Likewise.
69438         * sunrpc/svc.c: Likewise.
69439         * sunrpc/svc_auth.c: Likewise.
69440         * sunrpc/svc_authux.c: Likewise.
69441         * sunrpc/svc_raw.c: Likewise.
69442         * sunrpc/svc_run.c: Likewise.
69443         * sunrpc/svc_simple.c: Likewise.
69444         * sunrpc/svc_tcp.c: Likewise.
69445         * sunrpc/svc_udp.c: Likewise.
69446         * sunrpc/svc_unix.c: Likewise.
69447         * sunrpc/svcauth_des.c: Likewise.
69448         * sunrpc/xcrypt.c: Likewise.
69449         * sunrpc/xdr.c: Likewise.
69450         * sunrpc/xdr_array.c: Likewise.
69451         * sunrpc/xdr_float.c: Likewise.
69452         * sunrpc/xdr_intXX_t.c: Likewise.
69453         * sunrpc/xdr_mem.c: Likewise.
69454         * sunrpc/xdr_rec.c: Likewise.
69455         * sunrpc/xdr_ref.c: Likewise.
69456         * sunrpc/xdr_sizeof.c: Likewise.
69457         * sunrpc/xdr_stdio.c: Likewise.
69459 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69461         [BZ #12650]
69462         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69463         * sysdeps/ia64/dl-tls.h: Likewise.
69464         * sysdeps/powerpc/dl-tls.h: Likewise.
69465         * sysdeps/s390/dl-tls.h: Likewise.
69466         * sysdeps/sh/dl-tls.h: Likewise.
69467         * sysdeps/sparc/dl-tls.h: Likewise.
69468         * sysdeps/x86_64/dl-tls.h: Likewise.
69469         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69471 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69473         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69474         rpath element also skip the following colon.
69475         (expand_dynamic_string_token): Add is_path parameter and pass
69476         down to DL_DST_REQUIRED and _dl_dst_substitute.
69477         (decompose_rpath): Call expand_dynamic_string_token with
69478         non-zero is_path.  Ignore empty rpaths.
69479         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69480         with zero is_path.
69482 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69485         Make cancelable.
69487 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69489         [BZ #12655]
69490         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69491         Patch by Filipe David Manana <fdmanana@apache.org>.
69493 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69496         Maintain aligned stack.
69497         (CHECK_RSP): Remove unused macro.
69499 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69501         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69502         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69504 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69506         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69508         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69510 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69512         [BZ #12518]
69513         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69514         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69515         * sysdeps/x86_64/memmove.c: New file.
69516         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69517         (memcpy): Renamed to ...
69518         (__new_memcpy): This.
69519         (memcpy): Provide GLIBC_2_14 memcpy.
69520         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69521         (memcpy): Provide GLIBC_2_2_5 memcpy.
69523 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69525         [BZ #12631]
69526         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69528 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69530         * misc/syncfs.c: New file.
69531         * misc/Makefile (routines): Add syncfs.
69532         * posix/unistd.h: Declare syncfs.
69533         * sysdeps/unix/syscalls.list: Add syncfs.
69535 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69537         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69538         open_by_handle_at.
69539         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69540         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69542         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69544         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69545         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69547 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69549         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69550         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69551         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69553         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69557         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69558         sync_file_range.c with -fexceptions.
69559         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69560         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69561         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69562         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69563         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69564         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69566         sync_file_range as cancellation point
69567         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69568         now a wrapper around __call_sync_file_range with cancellation handling.
69569         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69570         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69571         function name to __call_sync_file_range.
69572         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69573         Add call_sync_file_range.
69575 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69578         bits/timex.h.
69580 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69582         * iconv/iconv.h: Fix typo in comment.
69583         * io/fcntl.h: Likewise.
69584         * libio/stdio.h: Likewise.
69585         * posix/spawn.h: Likewise.
69586         * posix/unistd.h: Likewise.
69587         * stdlib/stdlib.h: Likewise.
69588         * time/time.h: Likewise.
69589         * wcsmbs/wchar.h: Likewise.
69591         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69592         open_by_handle): Add.
69593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69594         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69595         Augment a few comments.
69596         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69600         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69601         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69602         open_by_handle.
69604         * io/fcntl.h (AT_EMPTY_PATH): Define.
69606 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69608         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69609         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69610         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69611         to...
69612         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69613         * Versions.def: Add GLIBC_2.14.
69614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69615         Export.
69617 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69619         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69620         round counter.
69621         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69623 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69625         [BZ #12597]
69626         * string/test-strncmp.c (do_page_test): New function.
69627         (check2): Likewise.
69628         (test_main): Call check2.
69629         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69631 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69633         [BZ #12587]
69634         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69635         Handle cache information in CPU leaf 4.
69636         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69638 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69640         [BZ #12583]
69641         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69642         character representation.
69643         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69645 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69647         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69648         END(__isnan) to END(__isnanf) to match function entry point/label
69649         EALIGN(__isnanf,...).
69651 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69653         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69655 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69657         [BZ #12510]
69658         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69659         copy from the symbol referenced in the relocation to initialize the
69660         used variable.
69661         Patch by Piotr Bury <pbury@goahead.com>.
69662         * elf/Makefile: Add rules to build and tst-unique3.
69663         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69664         * elf/tst-unique3.cc: New file.
69665         * elf/tst-unique3.h: New file.
69666         * elf/tst-unique3lib.cc: New file.
69667         * elf/tst-unique3lib2.cc: New file.
69669         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69671 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69673         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69674         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69675         to _start.
69677 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69679         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69680         to-be-loaded object along a path to loader is ld.so.
69682 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69683             Ulrich Drepper  <drepper@gmail.com>
69685         * sysdeps/x86_64/memset.S: After aligning destination, code
69686         branches to different locations depending on the value of
69687         misalignment, when multiarch is enabled. Fix this.
69689 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69691         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69692         Set _x86_64_preferred_memory_instruction for AMD processsors.
69693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69694         Set bit_Prefer_SSE_for_memop for AMD processors.
69696 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69698         * libio/fmemopen.c (fmemopen): Optimize a bit.
69700 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69702         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69704 2011-03-03  Roland McGrath  <roland@redhat.com>
69706         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69708 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69710         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69711         __bzero_ultra1 instead of __memset_ultra1.
69713 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69714             Ulrich Drepper  <drepper@gmail.com>
69716         [BZ #12509]
69717         * include/link.h (struct link_map): Add l_orig_initfini.
69718         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69719         returning unsuccessfully.
69720         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69721         close of a file loaded at startup, restore the original l_initfini
69722         list.
69723         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69724         list, store the pointer.
69725         * elf/Makefile ($(objpfx)noload-mem): New rule.
69726         (noload-ENV): Define.
69727         (tests): Add $(objpfx)noload-mem.
69728         * elf/noload.c: Include <memcheck.h>.
69729         (main): Call mtrace.  Close all opened handles.
69731 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69733         [BZ #12454]
69734         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69735         dependencies are missing.
69737 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69739         Fix __if_freereq crash: Unlike the generic version which uses free,
69740         Hurd needs munmap.
69741         * sysdeps/mach/hurd/ifreq.h: New file.
69743 2011-01-27  Petr Baudis  <pasky@suse.cz>
69744             Ulrich Drepper  <drepper@gmail.com>
69746         [BZ 12445]#
69747         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69748         to extend_alloca().
69749         * stdio-common/bug23.c: New file.
69750         * stdio-common/Makefile (tests): Add bug23.
69752 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69753             Ulrich Drepper  <drepper@gmail.com>
69755         [BZ #12489]
69756         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69757         before performing relro protection.  At old place add assertion
69758         to make sure nothing changed.
69760 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69761             Glauber de Oliveira Costa  <glommer@gmail.com>
69763         * elf/elf.h: Add new ARM TLS relocs.
69765 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69768         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69769         cast from r3.
69770         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69771         'tests' variable.
69772         * sysdeps/wordsize-64/tst-writev.c: New file.
69774 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69776         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69777         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69778         insns in _dl_start to prevent a TOC reference before relocs are
69779         resolved.
69781 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69783         [BZ #12469]
69784         * Makeconfig: Remove RANLIB definition.
69785         * Makerules: Don't use RANLIB.
69786         * aclocal.m4: Remove ranlib test.
69787         * configure.in: No need to check for ranlib.
69788         * elf/rtld-Rules: Don't use RANLIB.
69790 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69792         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69793         protection macro.
69794         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69795         inclusion protection macro.
69797         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69798         SIGRTMIN and SIGRTMAX and print information in that case only when
69799         SIGRTMIN is defined.
69801 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69803         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69804         arginfo fn returning -1.
69806         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69807         and thousands string is zero terminated.
69809 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69812         sysdeps/unix/sysv/linux/bits/socket.h.
69814 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69816         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69817         (__CPU_COUNT): Remove old macros.
69818         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69819         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69820         (__CPU_ALLOC, __CPU_FREE): Add macros.
69821         (__sched_cpualloc, __sched_cpufree): Add declarations.
69823 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69825         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69826         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69827         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69828         (readdhstai): Return value of addhstaiX call.
69829         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69830         (addgrbyX): Return value returned by cache_addgr.
69831         (readdgrbyname): Return value returned by addgrbyX.
69832         (readdgrbygid): Likewise.
69833         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69834         (addpwbyX): Return value returned by cache_addpw.
69835         (readdpwbyname): Return value returned by addhstbyX.
69836         (readdpwbyuid): Likewise.
69837         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69838         (addservbyX): Return value returned by cache_addserv.
69839         (readdservbyname): Return value returned by addservbyX:
69840         (readdservbyport): Likewise.
69841         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69842         (addhstbyX): Return value returned by cache_addhst.
69843         (readdhstbyname): Return value returned by addhstbyX.
69844         (readdhstbyaddr): Likewise.
69845         (readdhstbynamev6): Likewise.
69846         (readdhstbyaddrv6): Likewise.
69847         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69848         (readdinitgroups): Return value returned by addinitgroupsX.
69849         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69850         (prune_cache): Keep track of timeout value of re-added entries.
69851         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69852         * nscd/nscd.h: Adjust prototypes of readd* functions.
69854 2011-02-04  Roland McGrath  <roland@redhat.com>
69856         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69857         (nis_stats): Likewise.
69858         * nis/nis_modify.c (nis_modify): Likewise.
69859         * nis/nis_remove.c (nis_remove): Likewise.
69860         * nis/nis_add.c (nis_add): Likewise.
69862         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69864         * posix/fnmatch_loop.c: Add some consts.
69866         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69868 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69870         [BZ #12460]
69871         * config.make.in (config-cflags-novzeroupper): Define.
69872         * configure.in: Substitute libc_cv_cc_novzeroupper.
69873         * elf/Makefile (AVX-CFLAGS): Define.
69874         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69875         (CFLAGS-tst-auditmod4a.c): Likewise.
69876         (CFLAGS-tst-auditmod4b.c): Likewise.
69877         (CFLAGS-tst-auditmod6b.c): Likewise.
69878         (CFLAGS-tst-auditmod6c.c): Likewise.
69879         (CFLAGS-tst-auditmod7b.c): Likewise.
69880         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69882 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69884         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69885         function to the callback.
69886         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69888 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69890         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69891         of errno.
69893 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69895         [BZ #11724]
69896         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69897         of constructors.
69898         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69899         of destructors.
69900         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69902         [BZ #11724]
69903         * elf/Makefile: Add rules to build and run new test.
69904         * elf/tst-initorder.c: New file.
69905         * elf/tst-initorder.exp: New file.
69906         * elf/tst-initordera1.c: New file.
69907         * elf/tst-initordera2.c: New file.
69908         * elf/tst-initordera3.c: New file.
69909         * elf/tst-initordera4.c: New file.
69910         * elf/tst-initorderb1.c: New file.
69911         * elf/tst-initorderb2.c: New file.
69912         * elf/tst-order-a1.c: New file.
69913         * elf/tst-order-a2.c: New file.
69914         * elf/tst-order-a3.c: New file.
69915         * elf/tst-order-a4.c: New file.
69916         * elf/tst-order-b1.c: New file.
69917         * elf/tst-order-b2.c: New file.
69918         * elf/tst-order-main.c: New file.
69919         New test case by George Gensure <werkt0@gmail.com>.
69921 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69924         decoding ACE if AI_CANONIDN.
69926 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69928         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69930 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69932         * version.h (RELEASE): Bump for 2.13 release.
69933         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69935         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69937         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69938         MADV_NOHUGEPAGE.
69939         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69940         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69941         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69942         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69943         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69944         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69946         * posix/getconf.c: Update copyright year.
69947         * catgets/gencat.c: Likewise.
69948         * csu/version.c: Likewise.
69949         * debug/catchsegv.sh: Likewise.
69950         * debug/xtrace.sh: Likewise.
69951         * elf/ldconfig.c: Likewise.
69952         * elf/ldd.bash.in: Likewise.
69953         * elf/sprof.c (print_version): Likewise.
69954         * iconv/iconv_prog.c: Likewise.
69955         * iconv/iconvconfig.c: Likewise.
69956         * locale/programs/locale.c: Likewise.
69957         * locale/programs/localedef.c: Likewise.
69958         * malloc/memusage.sh: Likewise.
69959         * malloc/mtrace.pl: Likewise.
69960         * nscd/nscd.c (print_version): Likewise.
69961         * nss/getent.c: Likewise.
69963         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69964         PF_CAIF, and PF_ALG.
69965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69967 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69969         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69970         (modules-names): Use them.
69971         (ifunc-test-modules, ifunc-pie-tests): Define.
69972         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69973         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69974         (test-extras): Likewise.
69975         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69976         $(compile-command.c).
69977         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69978         (all-built-dso): Define.
69979         (check-textrel.out, check-execstack.out): Depend on it.
69981         * configure.in: Don't override --enable-multi-arch.
69983 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69985         [BZ #6812]
69986         * nscd/hstcache.c (tryagain): Define.
69987         (cache_addhst): Return tryagain not notfound for temporary errors.
69988         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69989         failed.
69991 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69993         [BZ #10563]
69994         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69995         to make the syscall.
69996         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69998         [BZ #12378]
69999         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70000         and fall back to matching as normal character if the string ends before
70001         the matching ']' is found.  This is what POSIX requires.
70002         * posix/testfnm.c: Adjust test result.
70003         * posix/globtest.sh: Adjust test result.  Add new test.
70004         * posix/tst-fnmatch.input: Likewise.
70005         * posix/tst-fnmatch2.c: Add new test.
70007 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70009         * elf/Makefile (check-execstack): Revert last change.  Depend on
70010         check-execstack.h.
70011         (check-execstack.h): New target.
70012         (generated): Add check-execstack.h.
70013         * elf/check-execstack.c: Include "check-execstack.h".
70014         (main): Revert last change.
70015         (handle_file): Return zero if GNU_STACK is absent and
70016         DEFAULT_STACK_PERMS doesn't include PF_X.
70018 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70020         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70021         in child fails because the descriptor is already closed.
70022         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70023         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70024         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70026         [BZ #12397]
70027         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70028         syscall.
70030         [BZ #10484]
70031         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70032         temporary buffer used to handle multi lookups locally.
70033         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70035 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70037         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70038         loader is ld.so.
70040 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70042         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70043         alignment for SSE2.
70045 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70047         [BZ #12394]
70048         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70049         characters.  When rounding increased number of integer digits recompute
70050         number of groups.
70051         * stdio-common/tst-grouping.c: New file.
70052         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70054 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70056         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70057         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70059         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70060         void.
70061         * bits/select.h: Likewise.
70063 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70065         * po/ja.po: Update from translation team.
70067 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70069         [BZ #11155]
70070         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70071         implementation just like for lxstat, fxstatat, et al.
70073 2010-12-27  Jim Meyering  <meyering@redhat.com>
70075         [BZ #12348]
70076         * posix/regexec.c (build_trtable): Return failure indication upon
70077         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70079 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70081         [BZ #12201]
70082         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70083         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70084         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70085         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70087         [BZ #12207]
70088         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70090         [BZ #12204]
70091         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70092         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70094 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70096         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70097         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70098         script has SORT_BY_INIT_PRIORITY.
70099         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70100         NO_CTORS_DTORS_SECTIONS is defined.
70101         * elf/soinit.c: Likewise.
70102         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70103         NO_CTORS_DTORS_SECTIONS is defined.
70104         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70105         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70106         * sysdeps/sh/init-first.c: Likewise.
70107         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70109 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70111         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70112         always use the slow path.
70114 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70116         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70117         similar rule which adds the sysdep directories to the header search in
70118         order to pick up the correct platform stackinfo.h.
70119         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70120         perform test if it is, otherwise return successfully without testing.
70121         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70122         DEFAULT_STACK_PERMS define in stackinfo.h.
70123         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70124         defined in stackinfo.h.
70125         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70126         DEFAULT_STACK_PERMS defined in stackinfo.h.
70127         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70128         * sysdeps/ia64/stackinfo.h: Likewise.
70129         * sysdeps/s390/stackinfo.h: Likewise.
70130         * sysdeps/sh/stackinfo.h: Likewise.
70131         * sysdeps/sparc/stackinfo.h: Likewise.
70132         * sysdeps/x86_64/stackinfo.h: Likewise.
70133         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70134         PF_X for powerpc64.  Retain PF_X for powerpc32.
70136 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70138         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70139         accurately.
70140         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70141         GETDENTS_64BIT_ALIGNED.
70143 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70145         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70147 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70149         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70150         _GNU_SOURCE.
70152         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70153         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70154         Remove __restrict.
70155         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70156         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70158 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70160         [BZ #11655]
70161         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70162         are initialized.
70164 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70166         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70168 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70170         * po/it.po: Update from translation team.
70172 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70174         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70175         unused codes.
70177 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70179         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70181 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70183         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70184         specially.
70185         (gaih_getanswer_slice): Likewise.
70187 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70191 2010-05-31  Petr Baudis  <pasky@suse.cz>
70193         [BZ #11149]
70194         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70195         silently even in the chroot mode.
70197 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70199         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70200         last patch a bit.  Pretty printing
70202 2010-05-31  Petr Baudis <pasky@suse.cz>
70204         [BZ #10085]
70205         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70206         initialization of skip_initgroups_dyn.
70208 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70211         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70213 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70215         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70217 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70219         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70220         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70221         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70222         ($(objpfx)tst-fnmatch-mem): New rule.
70223         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70224         * posix/tst-fnmatch.c (main): Call mtrace.
70226 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70229         Support Intel processor model 6 and model 0x2c.
70231 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70233         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70234           signed comparison.
70236 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70238         [BZ #12205]
70239         * string/test-strncasecmp.c (check_result): New function.
70240         (do_one_test): Use it.
70241         (check1): New function.
70242         (test_main): Use it.
70243         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70244         Support strcasecmp and strncasecmp.
70246 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70248         [BZ #12194]
70249         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70250         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70252 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70254         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70255         IFUNC support.
70256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70257         memset-x86-64.
70258         * sysdeps/x86_64/multiarch/bzero.S: New file.
70259         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70260         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70261         * sysdeps/x86_64/multiarch/memset.S: New file.
70262         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70264         Set bit_Prefer_SSE_for_memop for Intel processors.
70265         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70266         Define.
70267         (index_Prefer_SSE_for_memop): Define.
70268         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70270 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70272         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70273         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70275 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70277         [BZ #12191]
70278         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70279         (__x86_64_raw_data_cache_size_half): Likewise.
70280         (__x86_64_raw_shared_cache_size): Likewise.
70281         (__x86_64_raw_shared_cache_size_half): Likewise.
70283         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70284         (__x86_64_raw_data_cache_size_half): Likewise.
70285         (__x86_64_raw_shared_cache_size): Likewise.
70286         (__x86_64_raw_shared_cache_size_half): Likewise.
70287         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70288         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70289         and __x86_64_raw_shared_cache_size_half.  Round
70290         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70291         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70292         to multiple of 256 bytes.
70294 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70296         [BZ #12167]
70297         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70298         of inacessible symlinks.  Verify result of symlink before returning it.
70299         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70300         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70302 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70304         * math/math.h (isinf): Fix typo in comment.
70306 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70308         * po/da.po: Update from translation team.
70310 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70312         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70313         is added to the list.
70315 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70316             Ulrich Drepper  <drepper@gmail.com>
70318         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70319         the global list here.  Move code to...
70320         (_dl_add_to_namespace_list): ...here.  New function.
70321         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70322         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70323         * elf/dl-load.c (lose): Don't remove the element from the list.
70324         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70325         (_dl_map_object): Likewise.
70327 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70329         [BZ #12159]
70330         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70331         into all bytes of SSE register.
70332         Patch by Richard Li <richardpku@gmail.com>.
70334 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70336         [BZ #12140]
70337         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70338         perturbing.
70340 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70342         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70343         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70344         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70345         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70347         submachine.
70348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70350 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70352         * include/dlfcn.h (__RTLD_SECURE): Define.
70353         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70354         mode & __RTLD_SECURE instead.
70355         (open_path): Rename preloaded parameter to secure.
70356         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70357         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70358         * elf/dl-deps.c (openaux): Likewise.
70359         * elf/rtld.c (struct map_args): Remove is_preloaded.
70360         (map_doit): Don't use it.
70361         (dl_main): Likewise.
70362         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70363         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70365 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70367         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70368         (sysd-rules-targets): Remove duplicates.
70369         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70370         rtld-%.$o dependency.
70372 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70374         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70375         _dl_map_object do it.
70377 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70379         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70380         fast fma builtins, define the macros in the C99 standard.
70381         (FP_FAST_FMAF): Likewise.
70382         (FP_FAST_FMAL): Likewise.
70383         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70385         * bits/mathdef.h: Update copyright year.
70386         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70388 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70390         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70391         builtins, define the macros in the C99 standard.
70392         (FP_FAST_FMAF): Likewise.
70393         (FP_FAST_FMAL): Likewise.
70394         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70395         multiply/add.
70396         (FP_FAST_FMAF): Likewise.
70398 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70400         [BZ #3268]
70401         * math/libm-test.inc (fma_test): Some new testcases.
70402         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70403         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70404         y and infinite z.  Do multiplication by C already in long double.
70405         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70407         y and infinite z.  Do bitwise or of inexact bit into u.d.
70408         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70409         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70410         * sysdeps/i386/fpu/s_fma.S: Removed.
70411         * sysdeps/i386/fpu/s_fmal.S: Removed.
70413 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70415         [BZ #3268]
70416         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70418         computation is not scheduled after fetestexcept.  Fix value
70419         of minimum denormal long double.
70421 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70423         [BZ #3268]
70424         * math/libm-test.inc (fma_test): Add some more tests.
70425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70426         correctly.
70428 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70430         * scripts/data/localplt-s390-linux-gnu.data: New file.
70431         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70433 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70435         [BZ #3268]
70436         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70437         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70438         instead of dbl-64.
70439         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70440         inlines.
70441         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70443         if one of x and y is very large and the other is subnormal.
70444         * sysdeps/s390/fpu/s_fmaf.c: New file.
70445         * sysdeps/s390/fpu/s_fma.c: New file.
70446         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70447         * sysdeps/powerpc/fpu/s_fma.S: New file.
70448         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70449         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70450         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70452 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70454         [BZ #3268]
70455         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70456         fma tests.
70457         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70458         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70459         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70460         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70461         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70462         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70463         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70465 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70467         [BZ #12078]
70468         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70469         * posix/bug-regex31.input: Add test case.
70471 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70473         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70474         * posix/bug-regex31.input: New file.
70476         [BZ #12078]
70477         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70478         (parse_sub_exp): Fix last change, use postorder.
70480         * posix/bug-regex31.c: New file.
70481         * posix/Makefile: Add rules to build and run bug-regex31.
70483         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70485         [BZ #12078]
70486         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70488         [BZ #12108]
70489         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70490         to have entries in sys_siglist.
70492         [BZ #12093]
70493         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70494         be NULL.
70496 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70498         [BZ #3268]
70499         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70500         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70501         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70502         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70503         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70504         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70505         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70506         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70507         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70508         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70509         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70510         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70511         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70512         * math/ftestexcept.c (fetestexcept): Likewise.
70513         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70514         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70515         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70516         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70517         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70518         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70519         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70521 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70523         [BZ #12107]
70524         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70525         newline.
70527 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70529         * string/bug-strstr1.c: New file.
70530         * string/Makefile: Add rules to build and run bug-strstr1.
70532 2010-10-05  Eric Blake  <eblake@redhat.com>
70534         [BZ #12092]
70535         * string/str-two-way.h (two_way_long_needle): Always clear memory
70536         when skipping input due to the shift table.
70538 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70540         [BZ #12005]
70541         * malloc/mcheck.c: Handle large requests.
70543         [BZ #12077]
70544         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70545         for strncmp and strncasecmp.
70546         * string/stratcliff.c: Add tests for strcmp and strncmp.
70547         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70549 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70551         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70552         __set_fpscr.
70554 2010-09-30  Andreas Jaeger  <aj@suse.de>
70556         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70557         (CGROUP_SUPER_MAGIC): Define.
70558         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70559         Handle btrfs and cgroup file systems.
70560         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70561         Likewise.
70563 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70565         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70566         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70568 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70570         [BZ #12067]
70571         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70572         trying to locate the ELF header.
70574 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70576         [BZ #11611]
70577         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70578         Mask out sign-bit copies when constructing f_fsid.
70580 2010-09-24  Petr Baudis <pasky@suse.cz>
70582         * debug/stack_chk_fail_local.c: Add missing licence exception.
70583         * debug/warning-nop.c: Likewise.
70585 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70587         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70588         implementing getdents64 using getdents syscall, set d_type if
70589         __ASSUME_GETDENTS32_D_TYPE.
70591 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70593         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70594         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70596 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70598         [BZ #12037]
70599         * posix/unistd.h: Undo change of feature selection for ftruncate from
70600         2010-01-11.
70602 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70604         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70605         detection.
70607 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70609         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70610         fanotify_mark.
70611         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70613 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70615         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70616         variables after CHECK_SP call.
70617         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70619 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70620             Ulrich Drepper  <drepper@redhat.com>
70622         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70623         re-relocationg ld.so.
70624         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70625         _dl_init_paths call.
70626         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70627         here anymore.
70629 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70631         * resolv/res_init.c (__res_vinit): Count the default server we added.
70633 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70634             Ulrich Drepper  <drepper@redhat.com>
70636         [BZ #11968]
70637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70638         (____longjmp_chk): Use %ebx for saving value across system call.
70639         Add unwind info.
70641 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70643         * manual/Makefile: Don't mix pattern rules with normal rules.
70645 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70647         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70648         operation.
70649         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70650         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70651         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70652         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70654         Likewise.
70656 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70658         [BZ #11979]
70659         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70660         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70662 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70664         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70665         * sysdeps/x86_64/addmul_1.S: Likewise.
70666         * sysdeps/x86_64/lshift.S: Likewise.
70667         * sysdeps/x86_64/mul_1.S: Likewise.
70668         * sysdeps/x86_64/rshift.S: Likewise.
70669         * sysdeps/x86_64/sub_n.S: Likewise.
70670         * sysdeps/x86_64/submul_1.S: Likewise.
70672 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70674         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70675         Define __sched_param instead of SCHED_* and sched_param when
70676         <bits/sched.h> is included with __need_schedparam defined.
70677         * bits/sched.h [__need_schedparam]
70678         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70679         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70680         (__defined_schedparam): Define to 1.
70681         (__sched_param): New structure, identical to sched_param.
70682         (__need_schedparam): Undefine.
70684 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70686         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70687         (epoll_create1): Declare.
70689         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70691 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70693         [BZ #7066]
70694         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70695         shifting retval into place.
70697 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70699         * nis/rpcsvc/nis.h: Update copyright notice.
70700         * nis/rpcsvc/nis.x: Likewise.
70701         * nis/rpcsvc/nis_callback.h: Likewise.
70702         * nis/rpcsvc/nis_callback.x: Likewise.
70703         * nis/rpcsvc/nis_object.x: Likewise.
70704         * nis/rpcsvc/nis_tags.h: Likewise.
70705         * nis/rpcsvc/yp.h: Likewise.
70706         * nis/rpcsvc/yp.x: Likewise.
70707         * nis/rpcsvc/ypupd.h: Likewise.
70708         * nis/yp_xdr.c: Likewise.
70709         * nis/ypupdate_xdr.c: Likewise.
70711         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70712         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70713         (pmap_getport): Use __libc_rpc_getport.
70714         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70715         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70716         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70718 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70721         fanotify_mark.
70723 2010-08-27  Roland McGrath  <roland@redhat.com>
70725         * sysdeps/i386/i686/multiarch/Makefile
70726         (CFLAGS-varshift.c): New variable.
70728 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70730         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70731         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70733         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70735         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70737 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70739         * sysdeps/x86_64/strlen.S: Unroll the loop.
70740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70741         strlen-sse2 strlen-sse2-bsf.
70742         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70743         __strlen_no_bsf if bit_Slow_BSF is set.
70744         (__strlen_sse42): Removed.
70745         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70746         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70748 2010-08-25  Roland McGrath  <roland@redhat.com>
70750         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70751         * sysdeps/x86_64/multiarch/varshift.c: New file.
70752         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70753         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70754         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70757 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70759         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70760         strlen-sse2 strlen-sse2-bsf.
70761         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70762         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70763         (__strlen_sse2): Removed.
70764         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70765         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70767         bit_Slow_BSF for Atom.
70768         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70769         (index_Slow_BSF): Define.
70770         (HAS_SLOW_BSF): Define.
70772 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70774         [BZ #10851]
70775         * resolv/res_init.c (__res_vinit): When no server address at all
70776         is given default to loopback.
70778 2010-08-24  Roland McGrath  <roland@redhat.com>
70780         * configure.in: Remove config-name.h generation.
70781         * configure: Regenerated.
70782         * config-name.in: File removed.
70783         * scripts/config-uname.sh: New file.
70784         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70785         ($(objdir)config-name.h): New target.
70787         * sunrpc/rpc_parse.h: Avoid nested comment.
70789 2010-08-24  Richard Henderson  <rth@redhat.com>
70790             Ulrich Drepper  <drepper@redhat.com>
70791             H.J. Lu  <hongjiu.lu@intel.com>
70793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70795         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70796         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70797         _mm_alignr_epi8 with _mm_loadu_si128.
70798         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70799         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70800         (__m128i_shift_right): Removed.
70801         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70802         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70803         * sysdeps/x86_64/multiarch/varshift.h: New file.
70804         * sysdeps/x86_64/multiarch/varshift.S: New file.
70806 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70808         * configure.in: Move assembler checks to before sysdep dir checking.
70810 2010-08-20  Petr Baudis  <pasky@suse.cz>
70812         * LICENSES: Sync the sunrpc license.
70814 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70816         * sunrpc/auth_des.c: Update copyright notice once again.
70817         * sunrpc/auth_none.c: Likewise.
70818         * sunrpc/auth_unix.c: Likewise.
70819         * sunrpc/authdes_prot.c: Likewise.
70820         * sunrpc/authuxprot.c: Likewise.
70821         * sunrpc/bindrsvprt.c: Likewise.
70822         * sunrpc/clnt_gen.c: Likewise.
70823         * sunrpc/clnt_perr.c: Likewise.
70824         * sunrpc/clnt_raw.c: Likewise.
70825         * sunrpc/clnt_simp.c: Likewise.
70826         * sunrpc/clnt_tcp.c: Likewise.
70827         * sunrpc/clnt_udp.c: Likewise.
70828         * sunrpc/clnt_unix.c: Likewise.
70829         * sunrpc/des_crypt.c: Likewise.
70830         * sunrpc/des_soft.c: Likewise.
70831         * sunrpc/get_myaddr.c: Likewise.
70832         * sunrpc/getrpcport.c: Likewise.
70833         * sunrpc/key_call.c: Likewise.
70834         * sunrpc/key_prot.c: Likewise.
70835         * sunrpc/openchild.c: Likewise.
70836         * sunrpc/pm_getmaps.c: Likewise.
70837         * sunrpc/pm_getport.c: Likewise.
70838         * sunrpc/pmap_clnt.c: Likewise.
70839         * sunrpc/pmap_prot.c: Likewise.
70840         * sunrpc/pmap_prot2.c: Likewise.
70841         * sunrpc/pmap_rmt.c: Likewise.
70842         * sunrpc/rpc/auth.h: Likewise.
70843         * sunrpc/rpc/auth_unix.h: Likewise.
70844         * sunrpc/rpc/clnt.h: Likewise.
70845         * sunrpc/rpc/des_crypt.h: Likewise.
70846         * sunrpc/rpc/key_prot.h: Likewise.
70847         * sunrpc/rpc/netdb.h: Likewise.
70848         * sunrpc/rpc/pmap_clnt.h: Likewise.
70849         * sunrpc/rpc/pmap_prot.h: Likewise.
70850         * sunrpc/rpc/pmap_rmt.h: Likewise.
70851         * sunrpc/rpc/rpc.h: Likewise.
70852         * sunrpc/rpc/rpc_des.h: Likewise.
70853         * sunrpc/rpc/rpc_msg.h: Likewise.
70854         * sunrpc/rpc/svc.h: Likewise.
70855         * sunrpc/rpc/svc_auth.h: Likewise.
70856         * sunrpc/rpc/types.h: Likewise.
70857         * sunrpc/rpc/xdr.h: Likewise.
70858         * sunrpc/rpc_clntout.c: Likewise.
70859         * sunrpc/rpc_cmsg.c: Likewise.
70860         * sunrpc/rpc_common.c: Likewise.
70861         * sunrpc/rpc_cout.c: Likewise.
70862         * sunrpc/rpc_dtable.c: Likewise.
70863         * sunrpc/rpc_hout.c: Likewise.
70864         * sunrpc/rpc_main.c: Likewise.
70865         * sunrpc/rpc_parse.c: Likewise.
70866         * sunrpc/rpc_parse.h: Likewise.
70867         * sunrpc/rpc_prot.c: Likewise.
70868         * sunrpc/rpc_sample.c: Likewise.
70869         * sunrpc/rpc_scan.c: Likewise.
70870         * sunrpc/rpc_scan.h: Likewise.
70871         * sunrpc/rpc_svcout.c: Likewise.
70872         * sunrpc/rpc_tblout.c: Likewise.
70873         * sunrpc/rpc_util.c: Likewise.
70874         * sunrpc/rpc_util.h: Likewise.
70875         * sunrpc/rpcinfo.c: Likewise.
70876         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70877         * sunrpc/rpcsvc/key_prot.x: Likewise.
70878         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70879         * sunrpc/rpcsvc/mount.x: Likewise.
70880         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70881         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70882         * sunrpc/rpcsvc/rex.x: Likewise.
70883         * sunrpc/rpcsvc/rstat.x: Likewise.
70884         * sunrpc/rpcsvc/rusers.x: Likewise.
70885         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70886         * sunrpc/rpcsvc/spray.x: Likewise.
70887         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70888         * sunrpc/rtime.c: Likewise.
70889         * sunrpc/svc.c: Likewise.
70890         * sunrpc/svc_auth.c: Likewise.
70891         * sunrpc/svc_authux.c: Likewise.
70892         * sunrpc/svc_raw.c: Likewise.
70893         * sunrpc/svc_run.c: Likewise.
70894         * sunrpc/svc_simple.c: Likewise.
70895         * sunrpc/svc_tcp.c: Likewise.
70896         * sunrpc/svc_udp.c: Likewise.
70897         * sunrpc/svc_unix.c: Likewise.
70898         * sunrpc/svcauth_des.c: Likewise.
70899         * sunrpc/xcrypt.c: Likewise.
70900         * sunrpc/xdr.c: Likewise.
70901         * sunrpc/xdr_array.c: Likewise.
70902         * sunrpc/xdr_float.c: Likewise.
70903         * sunrpc/xdr_mem.c: Likewise.
70904         * sunrpc/xdr_rec.c: Likewise.
70905         * sunrpc/xdr_ref.c: Likewise.
70906         * sunrpc/xdr_sizeof.c: Likewise.
70907         * sunrpc/xdr_stdio.c: Likewise.
70909         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70910         handling.
70912 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70914         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70916 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70918         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70919         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70920         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70921         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70923         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70924         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70925         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70926         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70927         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70928         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70929         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70930         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70931         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70933 2010-07-26  Anton Blanchard  <anton@samba.org>
70935         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70936         * malloc/arena.c (heap_trim): Likewise.
70938 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70940         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70941         here.  Not...
70942         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70943         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70945 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70947         * sysdeps/i386/elf/Makefile: New file.
70949 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70951         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70952         from fanotify_init.
70953         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70956 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70958         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70959         of strncasecmp_l.
70960         * sysdeps/multiarch/strcmp.S: Likewise.
70962 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70964         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70965         strncase_l-nonascii.
70966         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70967         Add strncase_l-ssse3.
70968         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70969         * sysdeps/x86_64/strcmp.S: Likewise.
70970         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70971         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70972         * sysdeps/x86_64/strncase.S: New file.
70973         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70974         * sysdeps/x86_64/strncase_l.S: New file.
70975         * string/Makefile (strop-tests): Add strncasecmp.
70976         * string/test-strncasecmp.c: New file.
70978         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70979         warning.
70981         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70982         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70984 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70986         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70988 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70990         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70991         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70992         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70994 2010-05-01  Alan Modra  <amodra@gmail.com>
70996         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70997         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70998         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70999         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71000         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71001         tidying.  Don't tail-call __sigjmp_save for static lib.
71002         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71003         save location.
71004         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71005         (CALL_MCOUNT): Add eh info, and nop after bl.
71006         (TAIL_CALL_SYSCALL_ERROR): New macro.
71007         (PSEUDO_RET): Use it.
71008         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71009         Correct save location of integer regs and cr.
71010         (_dl_profile_resolve): Correct cr save location.  Delete nops
71011         after bl when SHARED.  Reduce cfi size a little by better
71012         placement of cfi directives.
71013         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71014         make a stack frame.  Instead use parm save area as a temp.
71015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71016         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71018         Don't make a stack frame for parent, use parm save area.
71019         Increase child stack frame to 112 bytes.  Don't save unused reg,
71020         and adjust reg usage.  Set up cfi on error recovery and
71021         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71023         (__makecontext): Add dummy nop after jump to exit.
71024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71025         Use correct parm save area and cr save, reduce stack frame.
71026         Correct cfi for possible PSEUDO_RET frame setup.
71027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71028         Branch to local label emitted by PSEUDO_RET rather than
71029         __syscall_error.
71031 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71033         [BZ #11904]
71034         * locale/programs/locale.c (print_assignment): New function.
71035         (show_locale_vars): Use it.
71037 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71039         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71040         field.
71041         (struct statfs64): Likewise.
71042         (_STATFS_F_FLAGS): Define.
71043         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71044         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71045         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71046         (ST_VALID): Define locally.
71047         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71048         __statvfs_getflags, use the provided value.
71049         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71050         __ASSUME_STATFS_F_FLAGS.
71052         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71054         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71055         Add sys/fanotify.h.
71056         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71057         fanotify_mask for GLIBC_2.13.
71058         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71059         fanotify_init and fanotify_mark.
71060         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71061         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71063         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71064         Add prlimit.
71065         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71066         prlimit64 for GLIBC_2.13.
71067         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71068         prlimit64.
71069         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71070         syscall.
71071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71073         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71074         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71075         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71076         add prlimit alias.
71077         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71079         [BZ #11903]
71080         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71081         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71083         * nss/Makefile: Add rules to build and run tst-nss-test1.
71084         * shlib-versions: Add entry for libnss_test1.
71085         * nss/nss_test1.c: New file.
71086         * nss/tst-nss-test1.c: New file.
71088         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71089         (__nss_configure_lookup): Set appropriate entry in
71090         __nss_configure_lookup to true.
71091         * nss/nsswitch.h: Define enum with indeces of databases in
71092         databases and __nss_database_custom arrays.  Declare
71093         __nss_database_custom.
71094         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71095         to avoid using nscd when custom rules are installed.
71096         * nss/getXXbyYY_r.c: Likewise.
71097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71099         * nss/nss_files/files-parse.c: Whitespace fixes.
71101 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71103         [BZ #11883]
71104         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71105         * posix/fnmatch_loop.c: Likewise.
71107 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71109         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71110         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71111         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71112         * Versions.def [GLIBC_2.13]: Add.
71114 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71116         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71117         Also fail if tpwd after pwuid call is NULL.
71119 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71121         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71122         when converting to ms.
71124 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71126         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71127         EOPNOTSUPP errors with ENOTTY.
71128         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71129         EOPNOTSUPP errors with ENOTTY.
71131 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71133         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71134         Add strcasecmp_l-ssse3.
71135         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71136         strcasecmp.
71137         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71138         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71139         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71141 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71143         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71145         * string/Makefile (strop-tests): Add strcasecmp.
71146         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71147         strcasecmp_l-nonascii.
71148         (gen-as-const-headers): Add locale-defines.sym.
71149         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71150         * sysdeps/x86_64/strcasecmp.S: New file.
71151         * sysdeps/x86_64/strcasecmp_l.S: New file.
71152         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71153         * sysdeps/x86_64/locale-defines.sym: New file.
71154         * string/test-strcasecmp.c: New file.
71156         * string/test-strcasestr.c: Test both ends of the range of characters.
71157         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71159 2010-07-29  Roland McGrath  <roland@redhat.com>
71161         [BZ #11856]
71162         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71164 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71166         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71167         for ld.so.
71169 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71171         * manual/memory.texi (Malloc Tunable Parameters): Document
71172         M_PERTURB.
71174 2010-07-26  Roland McGrath  <roland@redhat.com>
71176         [BZ #11840]
71177         * configure.in (-fgnu89-inline check): Set and substitute
71178         gnu89_inline, not libc_cv_gnu89_inline.
71179         * configure: Regenerated.
71180         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71182 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71184         * string/test-strnlen.c: New file.
71185         * string/Makefile (strop-tests): Add strnlen.
71186         * string/tester.c (test_strnlen): Add a few more test cases.
71187         * string/tst-strlen.c: Better error reporting.
71189         * sysdeps/x86_64/strnlen.S: New file.
71191 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71193         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71194         lower-latency instructions.
71196 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71198         * string/test-strcasestr.c: New file.
71199         * string/test-strstr.c: New file.
71200         * string/Makefile (strop-tests): Add strstr and strcasestr.
71201         * string/str-two-way.h: Don't undefine MAX.
71202         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71204 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71207         strcasestr-nonascii.
71208         (CFLAGS-strcasestr-nonascii.c): Define.
71209         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71210         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71211         Remove unused attribute.
71213 2010-07-20  Roland McGrath  <roland@redhat.com>
71215         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71216         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71217         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71218         like LD_HWCAP_MASK can disable hwcaps.
71220 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71222         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71224 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71226         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71227         call in strcasestr.
71228         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71229         __strcasestr_sse42_nonascii.
71230         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71231         strcasestr-nonascii.c.
71232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71234 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71236         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71237         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71238         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71239         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71241 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71243         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71244         fcntl.
71246 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71248         [BZ #11577]
71249         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71250         dl_signal_cerror.
71252 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71254         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71255         _PC_PIPE_BUF using F_GETPIPE_SZ.
71257 2010-07-05  Roland McGrath  <roland@redhat.com>
71259         * manual/arith.texi (Rounding Functions): Fix rint description
71260         implicit in round description.
71262 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71264         * elf/Makefile: Fix linking for a few tests to make recent linker
71265         happy.
71267 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71269         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71270         $(common-objpfx)libc_nonshared.a.
71272 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71274         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71275         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71276         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71277         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71278         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71279         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71280         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71281         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71296         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71297         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71298         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71299         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71300         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71301         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71302         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71303         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71304         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71305         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71306         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71307         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71323 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71325         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71326         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71327         * string/memmove.c (memmove): Renamed to ...
71328         (MEMMOVE): ...this.  Default to memmove.
71329         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71330         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71331         (END_CHK): Define.
71332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71333         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71334         mempcpy-ssse3-back memmove-ssse3-back.
71335         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71336         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71337         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71338         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71339         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71340         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71341         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71342         * sysdeps/x86_64/multiarch/memmove.c: New file.
71343         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71344         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71345         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71346         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71347         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71348         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71349         Define.
71350         (index_Fast_Copy_Backward): Define.
71351         (HAS_ARCH_FEATURE): Define.
71352         (HAS_FAST_REP_STRING): Define.
71353         (HAS_FAST_COPY_BACKWARD): Define.
71355 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71357         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71358         Restore proper fallback handling.
71360 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71362         [BZ #11701]
71363         * posix/group_member.c (__group_member): Correct checking loop.
71365         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71366         OOM in getpwuid_r correctly.  Return error number when the caller
71367         should return, otherwise -1.
71368         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71369         call returning > 0 value.
71370         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71372 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71374         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71375         libc_nonshared.a from targets in modules-names.
71377 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71379         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71380         requires it.
71382 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71385         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71387         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71389 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71391         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71393 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71395         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71396         and F_GETPIPE_SZ.
71397         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71398         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71400         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71401         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71402         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71404 2010-06-14  Roland McGrath  <roland@redhat.com>
71406         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71408 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71410         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71411         __REDIRECT followed by __THROW.
71412         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71413         * posix/getopt.h (getopt): Likewise.
71415 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71417         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71418         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71419         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71420         in AT_FLAGS.
71421         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71422         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71424 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71426         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71428 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71430         [BZ #11640]
71431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71432         Properly check family and model.
71434 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71436         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71438 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71440         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71442 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71444         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71445         symbol reference.
71447 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71449         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71450         symbol reference.
71452 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71454         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71455         and internal_recvmmsg.
71456         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71457         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71458         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71459         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71461         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71462         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71463         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71465 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71467         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71469 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71471         POWER7 optimizations.
71472         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71473         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71475 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71477         * version.h: Update for 2.13 development version.
71479 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71481         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71482         exceptions.  Return 0.
71484 2010-05-07  Roland McGrath  <roland@redhat.com>
71486         * elf/ldconfig.c (main): Add a const.
71488 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71490         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71491         (args_options): Add no-idn option.
71492         (ahosts_keys_int): Add idn_flags to ai_flags.
71493         (parse_option): Handle 'i' option to clear idn_flags.
71495         * malloc/malloc.c (_int_free): Possible race in the most recently
71496         added check.  Only act on the data if no current modification
71497         happened.
71499 See ChangeLog.17 for earlier changes.